Searched refs:getuid (Results 1 - 25 of 122) sorted by relevance

12345

/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/os/
H A Dos_root.c23 return (getuid() == 0);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/testsuite/smbd/
H A Dsec_ctx_stack.c45 getuid(), getgid(), geteuid(), getegid());
65 getuid(), getgid(), geteuid(), getegid());
H A Dsec_ctx_torture.c69 getuid(), getgid(), geteuid(),
89 getuid(), getgid(), geteuid(),
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/openssl/crypto/
H A Duid.c82 if (getuid() != geteuid()) return 1;
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/openssl-0.9.8e/crypto/
H A Duid.c82 if (getuid() != geteuid()) return 1;
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/router/busybox-1.x/libbb/
H A Dcreate_icmp6_socket.c33 xsetuid(getuid());
H A Dcreate_icmp_socket.c32 xsetuid(getuid());
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/um/include/
H A Dkern.h28 extern int getuid(void);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/mtools-4.0.10/
H A Dmtools.c84 printf("INIT: %d %d\n", getuid(), geteuid());
86 printf("DROP: %d %d\n", getuid(), geteuid());
88 printf("RECLAIM: %d %d\n", getuid(), geteuid());
92 printf("DROP: %d %d\n", getuid(), geteuid());
96 printf("DESTROY: %d %d\n", getuid(), geteuid());
H A Dprivileges.c69 fprintf(stderr,"%s euid=%d ruid=%d\n", message, geteuid(), getuid());
163 ruid = getuid();
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/gettext-0.17/djgpp/
H A Dgetpwnam.c27 rv.pw_uid = getuid();
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/gettext-0.17/gettext-tools/misc/
H A Dcvsuser.c8 int getuid (void) function
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/lib/
H A Dutil_sec.c91 (ruid != (uid_t)-1 && getuid() != ruid)) {
95 (int)getuid(), (int)geteuid()));
113 (int)getuid(), (int)geteuid()));
247 saved_ruid = getuid();
269 if (getuid() != saved_ruid)
427 if (getuid() != 0) {
450 if (getuid() == 0) {
466 return (geteuid() == (uid_t)0) && (getuid() != (uid_t)0);
H A Dsmbrun.c158 if (getuid() != uid || geteuid() != uid ||
279 if (getuid() != uid || geteuid() != uid ||
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/client/
H A Dsmbmnt.c130 if ((getuid() != 0) &&
131 ((getuid() != st.st_uid) ||
193 if (getuid() != 0) {
198 fprintf(stderr, "smbmnt must be installed suid root for direct user mounts (%d,%d)\n", getuid(), geteuid());
202 mount_uid = getuid();
221 /* getuid() gives us the real uid, who may umount the fs */
222 data.mounted_uid = getuid();
H A Dsmbumount.c60 if ((getuid() != 0)
61 && (mount_uid != getuid())) {
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/ntfs-3g-2009.3.8/libfuse-lite/
H A Dfusermount.c46 struct passwd *pw = getpwuid(getuid());
73 uid_t new_uid = getuid();
215 if (!mount_flags[i].safe && getuid() != 0) {
266 if (getuid() != 0) {
376 fd, rootmode, getuid(), getgid());
399 sprintf(d, "fd=%i,rootmode=%o,user_id=%i", fd, rootmode, getuid());
450 if (getuid() == 0)
474 if ((stbuf->st_mode & S_ISVTX) && stbuf->st_uid != getuid()) {
577 if (getuid() != 0 && mount_max != -1) {
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/pam_smbpass/
H A Dpam_smb_passwd.c168 if (getuid() != 0 && !(flags & PAM_CHANGE_EXPIRED_AUTHTOK)) {
305 user, uidtoname(getuid()), getuid());
308 user, uid, uidtoname(getuid()), getuid());
H A Dsupport.c342 uidtoname(getuid()), service ? service : "**unknown**", name);
398 uidtoname(getuid()),
405 uidtoname(getuid()),
409 new->agent = smbpXstrDup( uidtoname( getuid() ) );
416 uidtoname(getuid()),
422 uidtoname(getuid()),
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/ppp/pppd/plugins/
H A Dpassprompt.c57 seteuid(getuid());
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/ppp-2.4.4/pppd/plugins/
H A Dpassprompt.c57 seteuid(getuid());
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/router/busybox-1.x/loginutils/
H A Dchpasswd.c31 if (getuid())
H A Dsu.c22 uid_t cur_uid = getuid();
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/router/busybox-1.x/miscutils/
H A Dcrontab.c5 * usually setuid root, -c option only works if getuid() == geteuid()
46 UserId = getuid();
88 if (getuid() == geteuid()) {
101 if (getuid() == geteuid()) {
168 chown(tmp, getuid(), getgid());
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/um/os-Linux/
H A Duser_syms.c94 EXPORT_SYMBOL_PROTO(getuid); variable

Completed in 204 milliseconds

12345