[lkml]   [2003]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] bug in setpgid()? process groups and thread groups
    On Sat, 2003-08-02 at 12:08, Roland McGrath wrote:
    > The problem exists with uids/gids as well, in the sense that they are
    > changed per-thread but POSIX semantics are that setuid et al affect the
    > whole process (i.e. all threads in a thread group).

    Is there any particular reason why the POSIX semantics are desirable
    (besides "that's the way POSIX says it should be")?

    Personally, I can think of no benenfit to per-process uids/gids, and
    several scenarios where per-thread uids/gids would be good. (Think of a
    multi-threaded server handling connections from N different users on N
    threads, or a 1 thread per CPU server handling many different user
    connections, or a multi-threaded web server running perl/php/etc. stuff
    as different users in different threads.)

    Just wondering, Nicholas.

    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:47    [W:0.023 / U:3.440 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site