/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
D | setreuid.c | 27 uid_t cuid = getuid(); in setreuid_0100() 28 uid_t ceuid = geteuid(); in setreuid_0100() 30 uid_t sruid = 1; in setreuid_0100() 31 uid_t seuid = 2; in setreuid_0100() 37 uid_t uid = getuid(); in setreuid_0100() 38 uid_t euid = geteuid(); in setreuid_0100() 57 uid_t cuid = getuid(); in setreuid_0200() 58 uid_t ceuid = geteuid(); in setreuid_0200() 60 uid_t sruid = cuid; in setreuid_0200() 61 uid_t seuid = ceuid; in setreuid_0200() [all …]
|
/third_party/ltp/testcases/network/nfsv4/acl/ |
D | acl1.c | 47 uid_t uid; in do_file_op() 132 if (seteuid((uid_t) 601) == 0) { in test1() 136 seteuid((uid_t) 0); in test1() 151 if (seteuid((uid_t) 602) == 0) { in test2() 155 seteuid((uid_t) 0); in test2() 168 if (seteuid((uid_t) 603) == 0) { in test3() 172 seteuid((uid_t) 0); in test3() 185 if (seteuid((uid_t) 604) == 0) { in test4() 189 seteuid((uid_t) 0); in test4() 196 if (seteuid((uid_t) 605) == 0) { in test5() [all …]
|
/third_party/ltp/testcases/kernel/syscalls/setresgid/ |
D | setresgid01.c | 84 uid_t *rgid; /* real GID */ 85 uid_t *egid; /* effective GID */ 86 uid_t *sgid; /* saved GID */ 96 static uid_t nobody_gid, root_gid, neg = -1; 98 static int test_functionality(uid_t, uid_t, uid_t); 162 static int test_functionality(uid_t exp_rgid, uid_t exp_egid, uid_t exp_sgid) in test_functionality() 164 uid_t cur_rgid, cur_egid, cur_sgid; in test_functionality()
|
/third_party/ltp/testcases/kernel/syscalls/setresuid/ |
D | setresuid03.c | 21 static uid_t root_uid, main_uid, other_uid, neg_one = -1; 24 uid_t *real_uid; 25 uid_t *eff_uid; 26 uid_t *sav_uid; 28 uid_t *exp_real_uid; 29 uid_t *exp_eff_uid; 30 uid_t *exp_sav_uid; 43 uid_t test_users[2]; in setup()
|
D | setresuid02.c | 23 static uid_t nobody_uid, other_uid, neg_one = -1; 26 uid_t *real_uid; 27 uid_t *eff_uid; 28 uid_t *sav_uid; 29 uid_t *exp_real_uid; 30 uid_t *exp_eff_uid; 31 uid_t *exp_sav_uid; 47 uid_t test_users[2]; in setup()
|
D | setresuid01.c | 18 static uid_t root_uid, main_uid, other_uid, neg_one = -1; 21 uid_t *real_uid; 22 uid_t *eff_uid; 23 uid_t *sav_uid; 24 uid_t *exp_real_uid; 25 uid_t *exp_eff_uid; 26 uid_t *exp_sav_uid; 51 uid_t test_users[2]; in setup()
|
/third_party/musl/libc-test/src/functionalext/supplement/misc/ |
D | getresuid.c | 28 uid_t ruid = -1; in getresuid_0100() 29 uid_t euid = -1; in getresuid_0100() 30 uid_t suid = -1; in getresuid_0100() 44 uid_t ruid = -1; in getresuid_0200() 45 uid_t euid = -1; in getresuid_0200() 46 uid_t suid = -1; in getresuid_0200()
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | unistd.h | 47 int chown(const char *, uid_t, gid_t); 48 int fchown(int, uid_t, gid_t); 49 int lchown(const char *, uid_t, gid_t); 50 int fchownat(int, const char *, uid_t, gid_t, int); 103 uid_t getuid(void); 104 uid_t geteuid(void); 108 int setuid(uid_t); 109 int seteuid(uid_t); 132 int setreuid(uid_t, uid_t); 180 int setresuid(uid_t, uid_t, uid_t); [all …]
|
/third_party/musl/porting/liteos_m/user/include/ |
D | unistd.h | 51 int chown(const char *, uid_t, gid_t); 52 int fchown(int, uid_t, gid_t); 53 int lchown(const char *, uid_t, gid_t); 54 int fchownat(int, const char *, uid_t, gid_t, int); 131 uid_t getuid(void); 132 uid_t geteuid(void); 136 int setuid(uid_t); 137 int seteuid(uid_t); 160 int setreuid(uid_t, uid_t); 208 int setresuid(uid_t, uid_t, uid_t); [all …]
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
D | unistd.h | 47 int chown(const char *, uid_t, gid_t); 48 int fchown(int, uid_t, gid_t); 49 int lchown(const char *, uid_t, gid_t); 50 int fchownat(int, const char *, uid_t, gid_t, int); 103 uid_t getuid(void); 104 uid_t geteuid(void); 108 int setuid(uid_t); 109 int seteuid(uid_t); 132 int setreuid(uid_t, uid_t); 180 int setresuid(uid_t, uid_t, uid_t); [all …]
|
/third_party/musl/porting/liteos_a/kernel/include/ |
D | unistd.h | 51 int chown(const char *, uid_t, gid_t); 52 int fchown(int, uid_t, gid_t); 53 int lchown(const char *, uid_t, gid_t); 54 int fchownat(int, const char *, uid_t, gid_t, int); 106 uid_t getuid(void); 107 uid_t geteuid(void); 111 int setuid(uid_t); 112 int seteuid(uid_t); 135 int setreuid(uid_t, uid_t); 183 int setresuid(uid_t, uid_t, uid_t); [all …]
|
/third_party/musl/porting/liteos_a/user/include/ |
D | unistd.h | 51 int chown(const char *, uid_t, gid_t); 52 int fchown(int, uid_t, gid_t); 53 int lchown(const char *, uid_t, gid_t); 54 int fchownat(int, const char *, uid_t, gid_t, int); 131 uid_t getuid(void); 132 uid_t geteuid(void); 136 int setuid(uid_t); 137 int seteuid(uid_t); 160 int setreuid(uid_t, uid_t); 208 int setresuid(uid_t, uid_t, uid_t); [all …]
|
/third_party/musl/porting/linux/user/include/ |
D | unistd.h | 51 int chown(const char *, uid_t, gid_t); 52 int fchown(int, uid_t, gid_t); 53 int lchown(const char *, uid_t, gid_t); 54 int fchownat(int, const char *, uid_t, gid_t, int); 107 uid_t getuid(void); 108 uid_t geteuid(void); 112 int setuid(uid_t); 113 int seteuid(uid_t); 136 int setreuid(uid_t, uid_t); 184 int setresuid(uid_t, uid_t, uid_t); [all …]
|
/third_party/musl/ndk_musl_include/ |
D | unistd.h | 50 int chown(const char *, uid_t, gid_t); 51 int fchown(int, uid_t, gid_t); 52 int lchown(const char *, uid_t, gid_t); 53 int fchownat(int, const char *, uid_t, gid_t, int); 106 uid_t getuid(void); 107 uid_t geteuid(void); 111 int setuid(uid_t); 112 int seteuid(uid_t); 134 int setreuid(uid_t, uid_t); 173 int setresuid(uid_t, uid_t, uid_t); [all …]
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | unistd.h | 47 int chown(const char *, uid_t, gid_t); 48 int fchown(int, uid_t, gid_t); 49 int lchown(const char *, uid_t, gid_t); 50 int fchownat(int, const char *, uid_t, gid_t, int); 103 uid_t getuid(void); 104 uid_t geteuid(void); 108 int setuid(uid_t); 109 int seteuid(uid_t); 132 int setreuid(uid_t, uid_t); 180 int setresuid(uid_t, uid_t, uid_t); [all …]
|
/third_party/musl/include/ |
D | unistd.h | 51 int chown(const char *, uid_t, gid_t); 52 int fchown(int, uid_t, gid_t); 53 int lchown(const char *, uid_t, gid_t); 54 int fchownat(int, const char *, uid_t, gid_t, int); 107 uid_t getuid(void); 108 uid_t geteuid(void); 112 int setuid(uid_t); 113 int seteuid(uid_t); 136 int setreuid(uid_t, uid_t); 184 int setresuid(uid_t, uid_t, uid_t); [all …]
|
/third_party/ltp/testcases/kernel/syscalls/setreuid/ |
D | setreuid02.c | 21 static uid_t root_uid, nobody_uid, other_uid, neg_one = -1; 24 uid_t *real_uid; 25 uid_t *eff_uid; 26 uid_t *exp_real_uid; 27 uid_t *exp_eff_uid; 28 uid_t *exp_sav_uid; 49 uid_t test_users[2]; in setup()
|
D | setreuid03.c | 21 static uid_t root_uid, nobody_uid, other_uid, neg_one = -1; 24 uid_t *real_uid; 25 uid_t *eff_uid; 27 uid_t *exp_real_uid; 28 uid_t *exp_eff_uid; 29 uid_t *exp_sav_uid; 64 uid_t test_users[2]; in setup()
|
D | setreuid05.c | 23 static uid_t root_uid, nobody_uid, main_uid, other_uid, neg_one = -1; 26 uid_t *real_uid; 27 uid_t *eff_uid; 29 uid_t *exp_real_uid; 30 uid_t *exp_eff_uid; 31 uid_t *exp_sav_uid; 66 uid_t test_users[3]; in setup()
|
/third_party/ntfs-3g/include/ntfs-3g/ |
D | security.h | 56 uid_t uid; 94 uid_t uid; 145 uid_t uid; /* uid of user requesting (not the mounter) */ 238 uid_t uid, gid_t gid, ntfs_inode *dir_ni, 242 uid_t uid, gid_t gid, mode_t mode, BOOL isdir); 245 uid_t uid, gid_t gid); 247 ntfs_inode *ni, uid_t uid, gid_t gid, mode_t mode); 250 ntfs_inode *ni, uid_t uid, gid_t gid, 254 ntfs_inode *ni, uid_t uid, gid_t gid, mode_t mode); 266 ntfs_inode *ni, uid_t uid, gid_t gid, [all …]
|
/third_party/ltp/lib/ |
D | tst_uid.c | 40 void tst_get_uids(uid_t *buf, unsigned int start, unsigned int count) in tst_get_uids() 43 uid_t id; in tst_get_uids() 73 uid_t exp_ruid, uid_t exp_euid, uid_t exp_suid) in tst_check_resuid_() 75 uid_t ruid, euid, suid; in tst_check_resuid_()
|
/third_party/musl/libc-test/src/api/ |
D | pwd.c | 7 T(uid_t) in f() 12 F(uid_t,pw_uid) in f() 19 {struct passwd*(*p)(uid_t) = getpwuid;} in f() 20 {int(*p)(uid_t,struct passwd*,char*,size_t,struct passwd**) = getpwuid_r;} in f()
|
/third_party/ltp/include/ |
D | tst_uid.h | 24 void tst_get_uids(uid_t *buf, unsigned int start, unsigned int size); 31 uid_t exp_ruid, uid_t exp_euid, uid_t exp_suid);
|
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);
|
/third_party/ltp/testcases/kernel/syscalls/chown/ |
D | chown05.c | 25 uid_t uid; 39 uid_t expect_uid = tc[i].uid == (uid_t)-1 ? tc[i - 1].uid : tc[i].uid; in run() 40 gid_t expect_gid = tc[i].gid == (uid_t)-1 ? tc[i - 1].gid : tc[i].gid; in run()
|