Re: setuids() like setgroups() ?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 16 Apr 1999 18:59:30 +0100 (BST)


> >How do you solve pid reuse ?
>
> PID reuse? The task struct would just contain a struct switchuid * with
> all the valid uid/gid pairs. Probably inherited on fork, not on exec.

Ok you only intend to inherit it treewards.

> Does any existing OS already implement this so I can read the manpages
> or the source code, or would this be a Linux-specific extension. And
> what would the proper name actually be - SCM_SETCREDENTIALS ?
> SCM_PASSCREDENTIALS ?

I've seen it on other systems but non unixlike.

Alan

-
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.tux.org/lkml/