current->uid is zero ?!

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

 



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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux