lkml.org 
[lkml]   [2003]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] bug in setpgid()? process groups and thread groups
    From
    Date
    Alan Cox <alan@lxorguk.ukuu.org.uk> writes:

    > #1 Lots of non posix afflicted intelligent programmers use the per
    > thread uid stuff in daemons. Its really really useful

    It doesn't work reliably because the threading implementation might
    have to send signals which the current combination of credentials does
    not allow.

    IMHO, POSIX is wrong to favor process attributes so strongly. It
    wouldn't be a problem if there were other ways to pass these implicit
    parameters (such as thread-specific attributes, or, even better,
    syscall arguments). But often there isn't.
    -
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:47    [W:0.021 / U:0.312 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site