Re: Changing uid of another process?

Alexander Kjeldaas (astor@guardian.no)
Fri, 10 Jul 1998 22:49:45 +0200


On Fri, Jul 10, 1998 at 04:22:55PM +0200, Rik van Riel wrote:
> On Fri, 10 Jul 1998 bofh@diegeekdie.com wrote:
>
> > A better solution is perhapps to extend the unix domain sockets instead,
> > so they can transfer uids/gids just like they can transfer
> > filedescriptors? Is this something that could be added to the standard
> > kernel if it was implemented?
>
> ROTFLMAO :-)
>

??

You can't _pass_ credentials on unix domain sockets as he describes,
you can only pass _information about_ your credentials. Passing
credentials on a unix domain socket would also be a better way of
setting capabilities than relying on pid as identification.

astor

-- 
 Alexander Kjeldaas, Guardian Networks AS, Trondheim, Norway
 http://www.guardian.no/

- 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.altern.org/andrebalsa/doc/lkml-faq.html