Re: setuid/pthread interaction broken? 'clone_with_uid()?'

From: Dave McCracken (dmccr@us.ibm.com)
Date: Thu Feb 14 2002 - 12:14:24 EST


--On Thursday, February 14, 2002 18:05:07 +0100 bert hubert <ahu@ds9a.nl>
wrote:

> I'm wondering what the right semantics are. POSIX is one thing, but having
> the ability to have threads with different uids in one VM would have its
> uses too.

That's the idea behind the patch I've been working on. It would be an
option to clone(), just like sharing address space, signals, and files.
The pthread libraries could turn it on for POSIX behavior, and programs
that wanted something different could call clone() with their own flags.

Dave McCracken

======================================================================
Dave McCracken IBM Linux Base Kernel Team 1-512-838-3059
dmccr@us.ibm.com T/L 678-3059

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



This archive was generated by hypermail 2b29 : Fri Feb 15 2002 - 21:01:03 EST