[lkml]   [2002]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: setuid/pthread interaction broken? 'clone_with_uid()?'
On Thu, Feb 14, 2002 at 04:03:47PM +0000, Dave McCracken wrote:

> It's the expected behavior for a task-based model like Linux. Each task is
> independent and inherits the uid/gid from whoever called clone(). It's
> just one of several resources that are specified as process-wide in POSIX,
> but are per-task in Linux.

Could this also be solved by making threads call 'clone' themselves?

> I've been working on a patch to allow clone() to specify shared
> credentials, but it's been on the back burner.

Would be much appreciated.


bert hubert

-- Versatile DNS Software & Services the dot in .tk
Netherlabs BV / - Nerd Available -
Linux Advanced Routing & Traffic Control:
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:24    [W:0.045 / U:9.992 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site