[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: current->uid is zero ?!



On Fri, Jul 01, 2005 at 08:04:17PM +0200, Mattia Dongili wrote:

> "...the fsuid, a Linux-specific user ID used by NFS servers and the
> like.  (It's been added so that processes can assume the UID of
> different users without exposing themselves to signals from those
> users.)"

doh... much easy than that... simply run man 2 setfsuid (got ther after
grepping for fsuid and finding out sys_setfsuid and its comment)

bye
-- 
mattia
:wq!

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/