[Bug libc/6399] gettid() should have a wrapper
mtk.manpages at gmail dot com
sourceware-bugzilla@sourceware.org
Sat Feb 9 23:05:00 GMT 2013
http://sourceware.org/bugzilla/show_bug.cgi?id=6399
--- Comment #19 from Michael Kerrisk <mtk.manpages at gmail dot com> 2013-02-09 23:04:20 UTC ---
(In reply to comment #18)
> I still maintain that it's a broken design for setns to change the caller's
> pid. A pid is a fundamentally invariant property of a process.
Rich,
I think what you mean is: "this is the way it's always been done". But this was
not handed to us on stone tablets. Linux has already changed a lot of old
assumptions in favor useful innovations. We can argue endlessly about whether
or not the alternative that I talked about it is a broken design. I'm actually
fairly agnostic on that point, but my bottom line point is that glibc
effectively imposed policy on kernel user space (i.e., "PIDs are invariant"),
and I think that was A Bad Idea (TM) for a library that provides the
fundamental plumbing from user space to the kernel.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list