Home
last modified time | relevance | path

Searched refs:old_uid (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
D26-2.c43 uid_t old_uid; in main() local
67 old_uid = stat_buf.st_uid; in main()
113 if (stat_buf.st_uid == old_uid && stat_buf.st_gid == old_gid) { in main()
118 if (stat_buf.st_uid != old_uid) in main()
/external/ltp/testcases/kernel/syscalls/utils/
Dcommon_j_h.c80 int setup_euid(char *uname, uid_t * old_uid) in setup_euid() argument
85 *old_uid = geteuid(); in setup_euid()
99 int cleanup_euid(uid_t old_uid) in cleanup_euid() argument
103 rc = seteuid(old_uid); in cleanup_euid()
Dinclude_j_h.h126 int setup_euid(char *uname, uid_t *old_uid);
127 int cleanup_euid(uid_t old_uid);
/external/openssh/
Duidswap.c199 uid_t old_uid = getuid(); in permanently_set_uid() local
266 if (old_uid != pw->pw_uid && in permanently_set_uid()
267 (setuid(old_uid) != -1 || seteuid(old_uid) != -1)) in permanently_set_uid()