Re: thread group comments

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sat Sep 02 2000 - 05:33:23 EST


> I care.

You only think you care...

> config file in a thread, create new privileged sockets to listen on, and
> then call setuid(). On Linux, that doesn't work, because the call to
> setuid() only affects the running thread, which means we need to rework
> the above logic into a capability-based mess.

Right. Im not arguing this shouldnt be fixed when people are using pthreads
rather than sane threading kits. Im arguing glibc should do it. The hoops in
question should be jumped through by the pthreads library when you call setuid
not by your app

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:13 EST