Re: CLONE_PID (was Re: Potential Threads security bug with LinuxThreads)

Mitchell Blank Jr (mitch@execpc.com)
Wed, 26 Aug 1998 11:13:05 -0500


Andi Kleen wrote:
> > Primarily your point 2, that is, CLONE_PID is supposed to be the flag
> > that indicates when a set of tasks (at least) share a common signal
> > delivery queue.
[...]
> Another thing it should do is to broadcast all uid/gid/euid etc. changes
> to all other threads that share the pid.

If you don't do this the semantics of kill(2) start to get "interesting".

> Currently Linux has "per thread
> permissions", that differs from all other Unixes I know and it is a
> potential security problem.

True.

-Mitch

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