Searched refs:myuid (Results 1 – 2 of 2) sorted by relevance
/freebsd/usr.bin/write/ |
H A D | write.c | 72 uid_t myuid; in main() local 117 myuid = getuid(); in main() 119 if ((pwd = getpwuid(myuid))) in main() 154 search_utmp(devfd, argv[0], tty, mytty, myuid); in main() 164 if (myuid && !msgsok) in main() 214 search_utmp(int devfd, char *user, char *tty, char *mytty, uid_t myuid) in search_utmp() argument 230 if (myuid && !msgsok) in search_utmp()
|
/freebsd/sbin/restore/ |
H A D | dirs.c | 560 uid_t myuid; in setdirmodes() local 582 myuid = getuid(); in setdirmodes() 641 if (myuid != 0) in setdirmodes() 642 (void) chown(cp, myuid, node.gid); in setdirmodes()
|