/haiku/src/kits/app/ |
H A D | LaunchRoster.cpp | 43 status_t status = request.AddInt32("user", getuid()); in RegisterSessionDaemon() 101 status = request.AddInt32("user", getuid()); in GetData() 155 status_t status = request.AddInt32("user", getuid()); in Target() 176 status_t status = request.AddInt32("user", getuid()); in StopTarget() 195 status_t status = request.AddInt32("user", getuid()); in Start() 212 status_t status = request.AddInt32("user", getuid()); in Stop() 231 status_t status = request.AddInt32("user", getuid()); in SetEnabled() 250 status_t status = request.AddInt32("user", getuid()); in StartSession() 293 status_t status = request.AddInt32("user", getuid()); in GetTargets() 318 status_t status = request.AddInt32("user", getuid()); in GetJobs() [all …]
|
H A D | AppMisc.cpp | 221 request.AddInt32("user", getuid()); in create_desktop_connection() 277 link->Attach<int32>(getuid()); in create_desktop_connection()
|
/haiku/src/system/libroot/posix/unistd/ |
H A D | getlogin.cpp | 24 pw = getpwuid(getuid()); in getlogin() 39 int status = getpwuid_r(getuid(), &passwdBuffer, passwdStringBuffer, in getlogin_r()
|
H A D | usergroup.cpp | 61 getuid(void) in getuid() function
|
/haiku/src/tests/system/libroot/posix/ |
H A D | xsi_msg_queue_test1.cpp | 107 msg_queue.msg_perm.uid = getuid() + 3; in test_msgctl() 122 assert_equals(msg_queue.msg_perm.uid, getuid() + 3); in test_msgctl() 160 msg_queue.msg_perm.uid = getuid() + 3; in test_msgsnd()
|
H A D | xsi_sem_test1.cpp | 288 semaphore.sem_perm.uid = getuid() + 3; in test_semctl() 304 assert_equals(args.buf->sem_perm.uid, getuid() + 3); in test_semctl()
|
/haiku/src/bin/ |
H A D | autologin.cpp | 17 if (getuid() != 0) in main()
|
H A D | id.c | 257 rUID = getuid (); in main()
|
/haiku/src/add-ons/kernel/drivers/misc/ |
H A D | mem.c | 118 if (getuid() != 0 && geteuid() != 0) { in mem_read() 145 if (getuid() != 0 && geteuid() != 0) { in mem_write()
|
H A D | poke.cpp | 102 if (getuid() != 0 && geteuid() != 0) in poke_open()
|
/haiku/src/bin/pcmcia-cs/ |
H A D | cardctl.c | 583 if (getuid() != 0) { in do_scheme() 663 char *s, *opts = (getuid() == 0) ? "Vc:f:s:" : "V"; in main() 711 setuid(getuid()); in main() 735 setuid(getuid()); in main() 746 setuid(getuid()); in main()
|
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | RPCAuth.cpp | 65 xdr.AddUInt(getuid()); in CreateSys()
|
/haiku/src/system/libroot/posix/stdlib/ |
H A D | mktemp.c | 133 seed = (getpid() << 16) ^ getuid() ^ tv.tv_sec ^ tv.tv_usec; in _gettemp()
|
/haiku/src/bin/multiuser/ |
H A D | passwd.cpp | 94 uid_t uid = getuid(); in main()
|
/haiku/src/bin/network/telnet/ |
H A D | commands.c | 2182 setuid(getuid()); in tn() 2231 setuid(getuid()); in tn() 2250 setuid(getuid()); in tn() 2319 setuid(getuid()); in tn() 2367 setuid(getuid()); in tn() 2371 setuid(getuid()); in tn() 2378 setuid(getuid()); in tn() 2480 ((pw = getpwnam(user)) && pw->pw_uid != getuid())) { in tn() 2481 if ((pw = getpwuid(getuid()))) in tn()
|
/haiku/src/bin/network/ftpd/ |
H A D | popen.c | 147 if (getuid() != geteuid() && setuid(geteuid()) < 0) in ftpd_popen()
|
/haiku/src/libs/uuid/ |
H A D | gen_uuid.c | 89 srand((getpid() << 16) ^ getuid() ^ tv.tv_sec ^ tv.tv_usec); in get_random_fd()
|
/haiku/src/bin/network/ping/ |
H A D | ping6.c | 423 if (getuid()) { in ping6() 456 if (t < 1 && getuid()) { in ping6() 473 if (getuid()) { in ping6() 760 if (seteuid(getuid()) != 0) in ping6() 762 if (setuid(getuid()) != 0) in ping6()
|
H A D | ping.c | 267 if (setuid(getuid()) != 0) in ping() 269 uid = getuid(); in ping()
|
/haiku/src/add-ons/kernel/drivers/pty/ |
H A D | driver.cpp | 412 if (chown(path, getuid(), getgid()) != 0 in pty_ioctl()
|
/haiku/src/apps/terminal/ |
H A D | Shell.cpp | 404 if (getpwuid_r(getuid(), &passwdStruct, stringBuffer, in _Spawn()
|
/haiku/headers/posix/ |
H A D | unistd.h | 463 extern uid_t getuid(void);
|
/haiku/src/tools/fs_shell/ |
H A D | fuse.cpp | 497 if (getuid() == 0 && geteuid() == 0 && getgid() == 0 && getegid() == 0) { in fssh_fuse_session()
|
/haiku/src/system/libroot/posix/ |
H A D | spawn.cpp | 428 if (seteuid(getuid()) != 0) in process_spawnattr()
|
/haiku/src/system/kernel/posix/ |
H A D | xsi_message_queue.cpp | 545 if (msg.msg_qbytes > messageQueue->MaxBytes() && getuid() != 0) { in _user_xsi_msgctl()
|