Searched refs:getuid (Results 1 - 25 of 230) sorted by relevance
12345678910
/freebsd-10.2-release/crypto/heimdal/lib/roken/ |
H A D | geteuid.c | 43 return getuid();
|
H A D | getuid.c | 40 getuid(void) function
|
H A D | issuid.c | 46 if(getuid() != geteuid())
|
H A D | get_default_username.c | 63 uid_t uid = getuid ();
|
/freebsd-10.2-release/contrib/sendmail/test/ |
H A D | t_setuid.c | 37 (int) getuid(), (int) geteuid()); 46 uid_t realuid = getuid(); 56 if (getuid() == 0) 72 if (getuid() != 1) 96 if (getuid() != 1)
|
H A D | t_setreuid.c | 39 (int) getuid(), (int) geteuid()); 48 uid_t realuid = getuid(); 58 if (getuid() == 0) 71 if (getuid() != 0) 103 if (getuid() != realuid) 123 if (getuid() != 0) 149 if (getuid() != realuid)
|
H A D | t_seteuid.c | 42 (int) getuid(), (int) geteuid()); 51 uid_t realuid = getuid(); 61 if (getuid() == 0) 91 if (getuid() != realuid) 125 if (getuid() != realuid)
|
/freebsd-10.2-release/crypto/openssh/ |
H A D | sftp-server-main.c | 44 if ((user_pw = getpwuid(getuid())) == NULL) { 46 (u_long)getuid());
|
H A D | platform.c | 92 return (getuid() == 0 || geteuid() == 0); 110 if (getuid() == 0 || geteuid() == 0) 115 if (getuid() == 0 || geteuid() == 0) 124 if (getuid() == 0 || geteuid() == 0) { 132 if (getuid() == 0 || geteuid() == 0) {
|
H A D | uidswap.c | 138 uid_t old_uid = getuid(); 153 if (getuid() != uid || geteuid() != uid) { 155 __func__, (u_int)getuid(), (u_int)geteuid(), (u_int)uid); 186 setuid(getuid()); 203 uid_t old_uid = getuid(); 252 if (getuid() != pw->pw_uid || geteuid() != pw->pw_uid) { 254 __func__, (u_int)getuid(), (u_int)geteuid(),
|
/freebsd-10.2-release/crypto/openssl/crypto/ |
H A D | uid.c | 82 if (getuid() != geteuid())
|
/freebsd-10.2-release/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_setuid.c | 65 uid_t uid = getuid(); 69 ATF_REQUIRE(getuid() == uid); 99 uid = getuid();
|
/freebsd-10.2-release/contrib/libarchive/libarchive/test/ |
H A D | test_write_disk_perms.c | 51 uid_t uid = getuid(); 144 assertEqualInt(0, chown(".", getuid(), getgid())); 224 archive_entry_set_uid(ae, getuid()); 237 archive_entry_set_uid(ae, getuid() + 1); 249 if (getuid() != 0) { 253 archive_entry_set_uid(ae, getuid() + 1); 303 archive_entry_set_uid(ae, getuid()); 317 archive_entry_set_uid(ae, getuid()); 356 if (getuid() == 0) { 362 archive_entry_set_uid(ae, getuid() [all...] |
/freebsd-10.2-release/usr.sbin/lpr/lprm/ |
H A D | lprm.c | 95 uid = getuid(); 107 if (getuid() == 0) { 110 if ((p = getpwuid(getuid())) == NULL)
|
/freebsd-10.2-release/lib/libpam/modules/pam_rootok/ |
H A D | pam_rootok.c | 56 if (getuid() == 0)
|
/freebsd-10.2-release/release/picobsd/tinyware/passwd/ |
H A D | passwd.c | 104 if (!getuid()) { 117 if (!getuid()) {
|
/freebsd-10.2-release/contrib/sendmail/smrsh/ |
H A D | smrsh.c | 240 syslog(LOG_CRIT, "uid %d: missing command to exec", (int) getuid()); 302 (int) getuid(), cmd); 321 (int) getuid(), cmd); 339 (int) getuid(), cmd); 353 (int) getuid(), cmd); 397 (int) getuid(), *r, par); 407 (int) getuid());
|
/freebsd-10.2-release/contrib/opie/ |
H A D | opieinfo.c | 80 if (getuid() != 0) {
|
/freebsd-10.2-release/lib/libpam/modules/pam_self/ |
H A D | pam_self.c | 69 uid = getuid();
|
/freebsd-10.2-release/libexec/ulog-helper/ |
H A D | ulog-helper.c | 62 uid = getuid();
|
/freebsd-10.2-release/usr.bin/mail/ |
H A D | v7.local.c | 89 if ((np = getname(uid = getuid())) != NULL)
|
/freebsd-10.2-release/usr.bin/tip/tip/ |
H A D | log.c | 65 if ((pwd = getpwuid(getuid())) == NOPWD)
|
/freebsd-10.2-release/usr.bin/at/ |
H A D | privs.h | 71 real_uid = getuid(); \
|
/freebsd-10.2-release/usr.bin/lock/ |
H A D | lock.c | 116 if (!(pw = getpwuid(getuid()))) 117 errx(1, "unknown uid %d", getuid()); 133 if (setuid(getuid()) != 0) 233 if (getuid() == 0) 241 if (getuid() == 0)
|
/freebsd-10.2-release/usr.bin/newgrp/ |
H A D | newgrp.c | 67 if (seteuid(getuid()) < 0) \ 78 if (seteuid(getuid()) < 0) 81 if ((pwd = getpwuid(getuid())) == NULL) 111 if (setuid(getuid()) < 0) 180 if (!dbmember && *grp->gr_passwd != '\0' && getuid() != 0) {
|
Completed in 170 milliseconds
12345678910