Searched refs:myuid (Results 1 - 14 of 14) sorted by relevance

/netbsd-6-1-5-RELEASE/usr.bin/write/
H A Dwrite.c78 uid_t myuid, uid; local
85 myuid = getuid();
88 mytty = check_sender(&atime, myuid, saved_egid);
93 ttyfd = search_utmp(argv[1], mytty, myuid, saved_egid);
106 if (myuid && !msgsok)
116 do_write(ttyfd, mytty, myuid);
153 search_utmp(char *user, char *mytty, uid_t myuid, gid_t saved_egid) argument
178 if (myuid && !msgsok) {
216 do_write(int ttyfd, const char *mytty, const uid_t myuid) argument
226 if ((pwd = getpwuid(myuid)) !
[all...]
H A Dterm_chk.c109 check_sender(time_t *atime, uid_t myuid, gid_t saved_egid) argument
130 if (term_chk(myuid, mytty, &msgsok, atime, 1, saved_egid) == -1)
/netbsd-6-1-5-RELEASE/bin/cp/
H A Dextern.h44 extern uid_t myuid;
H A Dcp.c89 uid_t myuid; variable
202 myuid = getuid();
H A Dutils.c279 && fs->st_mode & (S_ISUID | S_ISGID) && fs->st_uid == myuid) {
/netbsd-6-1-5-RELEASE/usr.bin/quota/
H A Dquota.c107 static uid_t myuid; variable
118 myuid = getuid();
149 if (myuid != 0)
160 showuid(myuid);
225 if (uid != myuid && myuid != 0) {
244 if (pwd->pw_uid != myuid && myuid != 0) {
277 if (i >= ngroups && myuid != 0) {
310 if (i >= ngroups && myuid !
[all...]
/netbsd-6-1-5-RELEASE/bin/ps/
H A Dextern.h43 extern uid_t myuid;
H A Dps.c121 uid_t myuid; variable
223 flag = myuid = getuid();
/netbsd-6-1-5-RELEASE/libexec/identd/
H A Didentd.c652 uid_t myuid; local
655 uidlen = sizeof(myuid);
662 if (sysctl(mib, sizeof(mib)/ sizeof(int), &myuid, &uidlen, ss, len) < 0)
664 *uid = myuid;
/netbsd-6-1-5-RELEASE/usr.sbin/puffs/mount_psshfs/
H A Dpsshfs.h181 uid_t mangleuid, myuid; member in struct:psshfs_ctx
H A Dpsbuf.c270 if (pctx->domangleuid && theuid == pctx->myuid)
H A Dpsshfs.c229 pctx.myuid = geteuid();
H A Dsubr.c88 modva.va_uid = pctx->myuid;
H A Dnode.c172 CHECKID(va_uid, uid_t, domangleuid, myuid, mangleuid);

Completed in 122 milliseconds