Lines Matching refs:getuid
103 struct passwd *pw = getpwuid(getuid());
117 if (getuid() != 0) {
118 oldfsuid = setfsuid(getuid());
125 if (getuid() != 0) {
204 uidlen = sprintf(uidstr, "%u", getuid());
442 if (getuid() != 0) {
653 if (!mount_flags[i].safe && getuid() != 0) {
705 if (getuid() != 0) {
810 if (getuid() != 0) {
839 if (getuid() != 0 && !user_allow_other &&
874 fd, rootmode, getuid(), getgid());
911 fd, rootmode, getuid());
958 if (getuid() == 0)
978 if ((stbuf->st_mode & S_ISVTX) && stbuf->st_uid != getuid()) {
1146 if (getuid() != 0 && mount_max != -1) {
1242 uid_t uid = getuid();