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

current->uid is zero ?!



Hi everyone:
i'm implementing mkdir so i must set the uid and the gid of my newly created inode, but i've noticed that all of :
current->uid
current->euid
current->fsuid
are zeros ? am i doing something wrong or this result is right and i'm missing something ?
and what is the fsuid ? "difference from uid ?
thanks in advance
MHD.




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