Re: 2.6.24-rc3: find complains about /proc/net

3 messages, 3 authors, 2007-11-20 · open the first message on its own page

Re: 2.6.24-rc3: find complains about /proc/net

From: Roland McGrath <hidden>
Date: 2007-11-20 23:26:46

Oh, it seems it has indeed been that way for a very long time, so I was
mistaken.  It still seems a little odd to me.  Ulrich can say definitively
whether the kind of concern I mentioned really matters one way or the other
for glibc.


Thanks,
Roland

Re: 2.6.24-rc3: find complains about /proc/net

From: Ulrich Drepper <hidden>
Date: 2007-11-20 23:36:27

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Roland McGrath wrote:
Oh, it seems it has indeed been that way for a very long time, so I was
mistaken.  It still seems a little odd to me.  Ulrich can say definitively
whether the kind of concern I mentioned really matters one way or the other
for glibc.
glibc cannot survive (at least NPTL) if somebody uses funny CLONE_*
flags to separate various pieces of information, e.g., file descriptors.
 So, all the information in each thread's /proc/self should be identical.

When the information is not the same, the current semantics seems to be
more useful.  So I guess, no change is the way to go here.

- --
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHQ25/2ijCOnn/RHQRAmhhAJsHRF7FqO8DWwZ97gHxIO/i4Z1AAQCffCGa
Q2J8kjthKbbNQf1USWMAw3Y=
=xl/a
-----END PGP SIGNATURE-----

Re: 2.6.24-rc3: find complains about /proc/net

From: Ingo Molnar <hidden>
Date: 2007-11-20 23:45:34

* Ulrich Drepper [off-list ref] wrote:
quoted
Oh, it seems it has indeed been that way for a very long time, so I 
was mistaken.  It still seems a little odd to me.  Ulrich can say 
definitively whether the kind of concern I mentioned really matters 
one way or the other for glibc.
glibc cannot survive (at least NPTL) if somebody uses funny CLONE_* 
flags to separate various pieces of information, e.g., file 
descriptors.
 So, all the information in each thread's /proc/self should be 
 identical.

When the information is not the same, the current semantics seems to 
be more useful.  So I guess, no change is the way to go here.
can you see any danger to providing a /proc/self_task/ link? (or can you 
think of a better name/API/approach)

	Ingo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help