/external/ltp/testcases/network/nfsv4/acl/ |
D | acl1.c | 58 uid_t uid; in do_file_op() 144 if (seteuid((uid_t) 601) == 0) { in test1() 148 seteuid((uid_t) 0); in test1() 163 if (seteuid((uid_t) 602) == 0) { in test2() 167 seteuid((uid_t) 0); in test2() 180 if (seteuid((uid_t) 603) == 0) { in test3() 184 seteuid((uid_t) 0); in test3() 197 if (seteuid((uid_t) 604) == 0) { in test4() 201 seteuid((uid_t) 0); in test4() 208 if (seteuid((uid_t) 605) == 0) { in test5() [all …]
|
/external/ltp/testcases/kernel/syscalls/setresgid/ |
D | setresgid01.c | 83 uid_t *rgid; /* real GID */ 84 uid_t *egid; /* effective GID */ 85 uid_t *sgid; /* saved GID */ 95 static uid_t nobody_gid, root_gid, neg = -1; 97 static int test_functionality(uid_t, uid_t, uid_t); 161 static int test_functionality(uid_t exp_rgid, uid_t exp_egid, uid_t exp_sgid) in test_functionality() 163 uid_t cur_rgid, cur_egid, cur_sgid; in test_functionality()
|
D | setresgid03.c | 90 uid_t *rgid; /* real GID */ 91 uid_t *egid; /* effective GID */ 92 uid_t *sgid; /* saved GID */ 101 static uid_t nobody_gid, bin_gid, neg = -1; 103 static int test_functionality(uid_t, uid_t, uid_t); 165 static int test_functionality(uid_t exp_rgid, uid_t exp_egid, uid_t exp_sgid) in test_functionality() 167 uid_t cur_rgid, cur_egid, cur_sgid; in test_functionality()
|
D | setresgid02.c | 88 uid_t *rgid; /* real GID */ 89 uid_t *egid; /* effective GID */ 90 uid_t *sgid; /* saved GID */ 100 static uid_t nobody_gid, root_gid, bin_gid, neg = -1; 102 static int test_functionality(uid_t, uid_t, uid_t); 168 static int test_functionality(uid_t exp_rgid, uid_t exp_egid, uid_t exp_sgid) in test_functionality() 170 uid_t cur_rgid, cur_egid, cur_sgid; in test_functionality()
|
/external/ltp/testcases/kernel/syscalls/getresuid/ |
D | getresuid03.c | 80 extern int getresuid(uid_t *, uid_t *, uid_t *); 81 extern int setresuid(uid_t, uid_t, uid_t); 85 uid_t pr_uid, pe_uid, ps_uid; /* calling process real/effective/saved uid */ 93 uid_t real_uid, /* real/eff./saved user id from getresuid() */ in main()
|
D | getresuid01.c | 76 extern int getresuid(uid_t *, uid_t *, uid_t *); 80 uid_t pr_uid, pe_uid, ps_uid; /* calling process real/effective/saved uid */ 88 uid_t real_uid, /* real/eff./saved user id from getresuid() */ in main()
|
D | getresuid02.c | 81 extern int getresuid(uid_t *, uid_t *, uid_t *); 85 uid_t pr_uid, pe_uid, ps_uid; /* calling process real/effective/saved uid */ 93 uid_t real_uid, /* real/eff./saved user id from getresuid() */ in main()
|
/external/strace/ |
D | uid.c | 66 # undef uid_t 67 # define uid_t uid_t_(STRACE_UID_SIZE) macro 94 uid_t uid; in get_print_uid() 153 if ((uid_t) -1U == (uid_t) uid) in printuid() 156 tprintf("%s%u", text, (uid_t) uid); in printuid() 162 printuid("", (*(uid_t *) elem_buf)); in print_gid() 180 uid_t gid; in print_groups()
|
/external/strace/linux/ |
D | asm_stat.h | 13 # undef uid_t 24 # define uid_t __kernel_uid_t macro 37 # undef uid_t 48 # define uid_t uid_t macro
|
/external/compiler-rt/test/msan/Linux/ |
D | getresid.cc | 11 uid_t uids[6]; in main() 12 assert(0 == __msan_test_shadow(uids, 6 * sizeof(uid_t))); in main() 15 assert(sizeof(uid_t) == in main() 16 __msan_test_shadow(uids + 2 * i, 2 * sizeof(uid_t))); in main()
|
/external/ltp/testcases/kernel/syscalls/setresuid/ |
D | setresuid02.c | 71 uid_t neg_one = -1; 76 uid_t nobody_pw_uid, bin_pw_uid; 88 uid_t *real_uid; 89 uid_t *eff_uid; 90 uid_t *sav_uid; 216 uid_t cur_ru, cur_eu, cur_su; in uid_verify()
|
D | setresuid01.c | 75 uid_t nobody_pw_uid, root_pw_uid, bin_pw_uid; 76 uid_t neg_one = -1; 86 uid_t *real_uid; 87 uid_t *eff_uid; 88 uid_t *sav_uid; 206 uid_t cur_ru, cur_eu, cur_su; in uid_verify()
|
D | setresuid03.c | 76 uid_t neg_one = -1; 81 uid_t root_pw_uid, nobody_pw_uid, bin_pw_uid; 94 uid_t *real_uid; 95 uid_t *eff_uid; 96 uid_t *sav_uid; 229 uid_t cur_ru, cur_eu, cur_su; in uid_verify()
|
/external/ltp/include/ |
D | safe_macros_fn.h | 78 void (*cleanup_fn)(void), uid_t euid); 84 void (*cleanup_fn)(void), uid_t uid); 88 uid_t *ruid, uid_t *euid, uid_t *suid); 134 const char *path, uid_t owner, gid_t group); 137 int fd, uid_t owner, gid_t group);
|
/external/openssh/openbsd-compat/ |
D | bsd-setres_id.h | 21 int setresuid(uid_t, uid_t, uid_t);
|
D | bsd-getpeereid.c | 28 getpeereid(int s, uid_t *euid, gid_t *gid) in getpeereid() 47 getpeereid(int s, uid_t *euid, gid_t *gid) in getpeereid() 64 getpeereid(int s, uid_t *euid, gid_t *gid) in getpeereid()
|
D | bsd-setres_id.c | 64 setresuid(uid_t ruid, uid_t euid, uid_t suid) in setresuid()
|
/external/ltp/testcases/kernel/syscalls/utils/ |
D | compat_uid.h | 30 int UID_SIZE_CHECK(uid_t uid) in UID_SIZE_CHECK() 40 typedef uid_t UID_T; 41 int UID_SIZE_CHECK(uid_t uid LTP_ATTRIBUTE_UNUSED) in UID_SIZE_CHECK()
|
/external/fio/os/windows/posix/include/sys/ |
D | shm.h | 8 typedef int uid_t; typedef 16 uid_t uid; /* owner's user ID */ 18 uid_t cuid; /* creator's user ID */
|
/external/selinux/libselinux/include/selinux/ |
D | android.h | 32 extern int selinux_android_setcontext(uid_t uid, 40 uid_t uid); 56 uid_t uid,
|
/external/selinux/sandbox/ |
D | seunshare.c | 80 static int drop_privs(uid_t uid) in drop_privs() 140 static int spawn_command(const char *cmd, uid_t uid){ in spawn_command() 170 static int check_owner_uid(uid_t uid, const char *file, struct stat *st) { in check_owner_uid() 412 if ((uid_t)setfsuid(0) != 0) { in cleanup_tmpdir() 419 if ((uid_t)setfsuid(pwd->pw_uid) != 0) { in cleanup_tmpdir() 444 if ((uid_t)setfsuid(pwd->pw_uid) != 0) in create_tmpdir() 465 if ((uid_t)setfsuid(0) != pwd->pw_uid) in create_tmpdir() 521 if ((uid_t)setfsuid(pwd->pw_uid) != 0) in create_tmpdir() 529 if ((uid_t)setfsuid(0) != pwd->pw_uid) in create_tmpdir() 642 uid_t uid = getuid(); in main() [all …]
|
/external/kernel-headers/original/uapi/asm-mips/asm/ |
D | stat.h | 24 uid_t st_uid; 60 uid_t st_uid; 101 uid_t st_uid;
|
/external/minijail/test/ |
D | libminijail_test.cpp | 24 const uid_t kSystemUid = 1000U; 51 bool check_ugid(uid_t expected_id) { in check_ugid() 54 uid_t ruid = getuid(); in check_ugid() 98 uid_t ruid, euid, suid; in log_resugid()
|
/external/openssh/ |
D | loginrec.h | 67 uid_t uid; /* UID of this user */ 120 struct logininfo *login_get_lastlog(struct logininfo *li, const uid_t uid); 122 unsigned int login_get_lastlog_time(const uid_t uid);
|
/external/libchrome/sandbox/linux/services/ |
D | syscall_wrappers.h | 63 SANDBOX_EXPORT int sys_getresuid(uid_t* ruid, uid_t* euid, uid_t* suid);
|