Home
last modified time | relevance | path

Searched refs:root_uid (Results 1 – 13 of 13) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/setresuid/
Dsetresuid01.c18 static uid_t root_uid, main_uid, other_uid, neg_one = -1; variable
29 {&neg_one, &neg_one, &neg_one, &root_uid, &root_uid, &root_uid,
31 {&neg_one, &neg_one, &main_uid, &root_uid, &root_uid, &main_uid,
33 {&neg_one, &other_uid, &neg_one, &root_uid, &other_uid, &main_uid,
35 {&neg_one, &neg_one, &root_uid, &root_uid, &other_uid, &root_uid,
37 {&neg_one, &neg_one, &other_uid, &root_uid, &other_uid, &other_uid,
39 {&neg_one, &root_uid, &neg_one, &root_uid, &root_uid, &other_uid,
41 {&main_uid, &neg_one, &neg_one, &main_uid, &root_uid, &other_uid,
43 {&neg_one, &root_uid, &neg_one, &main_uid, &root_uid, &other_uid,
45 {&root_uid, &neg_one, &root_uid, &root_uid, &root_uid, &root_uid,
[all …]
Dsetresuid03.c21 static uid_t root_uid, main_uid, other_uid, neg_one = -1; variable
33 {&other_uid, &neg_one, &neg_one, EPERM, &root_uid, &main_uid,
35 {&neg_one, &neg_one, &other_uid, EPERM, &root_uid, &main_uid,
37 {&neg_one, &other_uid, &neg_one, EPERM, &root_uid, &main_uid,
45 root_uid = getuid(); in setup()
50 UID16_CHECK(root_uid, setresuid); in setup()
54 SAFE_SETRESUID(root_uid, main_uid, main_uid); in setup()
/third_party/ltp/testcases/kernel/syscalls/setreuid/
Dsetreuid02.c21 static uid_t root_uid, nobody_uid, other_uid, neg_one = -1; variable
31 {&neg_one, &neg_one, &root_uid, &root_uid, &root_uid,
33 {&nobody_uid, &neg_one, &nobody_uid, &root_uid, &root_uid,
35 {&root_uid, &neg_one, &root_uid, &root_uid, &root_uid,
37 {&neg_one, &nobody_uid, &root_uid, &nobody_uid, &nobody_uid,
39 {&neg_one, &root_uid, &root_uid, &root_uid, &nobody_uid,
41 {&other_uid, &neg_one, &other_uid, &root_uid, &root_uid,
43 {&root_uid, &neg_one, &root_uid, &root_uid, &root_uid,
52 root_uid = getuid(); in setup()
58 UID16_CHECK(root_uid, setreuid); in setup()
[all …]
Dsetreuid05.c23 static uid_t root_uid, nobody_uid, main_uid, other_uid, neg_one = -1; variable
34 {&nobody_uid, &root_uid, 0, &nobody_uid, &root_uid, &root_uid,
36 {&neg_one, &nobody_uid, 0, &nobody_uid, &nobody_uid, &root_uid,
38 {&neg_one, &root_uid, 0, &nobody_uid, &root_uid, &root_uid,
40 {&main_uid, &neg_one, 0, &main_uid, &root_uid, &root_uid,
44 {&neg_one, &root_uid, -1, &main_uid, &other_uid, &other_uid,
69 root_uid = getuid(); in setup()
76 UID16_CHECK(root_uid, setreuid); in setup()
82 SAFE_SETUID(root_uid); in setup()
Dsetreuid03.c21 static uid_t root_uid, nobody_uid, other_uid, neg_one = -1; variable
40 {&neg_one, &root_uid, -1, &nobody_uid, &nobody_uid, &nobody_uid,
42 {&root_uid, &neg_one, -1, &nobody_uid, &nobody_uid, &nobody_uid,
44 {&root_uid, &root_uid, -1, &nobody_uid, &nobody_uid,
46 {&root_uid, &nobody_uid, -1, &nobody_uid, &nobody_uid,
48 {&root_uid, &other_uid, -1, &nobody_uid, &nobody_uid,
50 {&other_uid, &root_uid, -1, &nobody_uid, &nobody_uid,
67 root_uid = getuid(); in setup()
73 UID16_CHECK(root_uid, setreuid); in setup()
/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/
Dsemctl09.c50 static uid_t nobody_uid, root_uid; variable
89 {&root_uid, "with root user",},
187 root_uid = 0; in setup()
212 SAFE_SETEUID(root_uid); in cleanup()
/third_party/ltp/testcases/kernel/syscalls/utime/
Dutime03.c35 static uid_t root_uid, user_uid; variable
43 root_uid = getuid(); in setup()
78 SAFE_SETEUID(root_uid); in run()
/third_party/ltp/testcases/kernel/syscalls/ipc/msgctl/
Dmsgctl06.c35 static uid_t nobody_uid, root_uid; variable
42 {&root_uid, "with root user"}
144 root_uid = 0; in setup()
/third_party/ltp/testcases/kernel/syscalls/ipc/shmctl/
Dshmctl04.c34 static uid_t nobody_uid, root_uid; variable
41 {&root_uid, "with root user"}
161 root_uid = 0; in setup()
/third_party/f2fs-tools/mkfs/
Df2fs_format_main.c146 c.root_uid = c.root_gid = 0; in add_default_options()
252 if (parse_root_owner(optarg, &c.root_uid, &c.root_gid)) in f2fs_parse_options()
Df2fs_format.c1233 raw_node->i.i_uid = cpu_to_le32(c.root_uid); in f2fs_write_root_inode()
1552 raw_node->i.i_uid = cpu_to_le32(c.root_uid); in f2fs_write_lpf_inode()
/third_party/f2fs-tools/include/
Df2fs_fs.h535 uint32_t root_uid; member
1649 raw_node->i.i_uid = cpu_to_le32(c.root_uid); in f2fs_init_qf_inode()
1755 uint32_t *root_uid, uint32_t *root_gid) in parse_root_owner() argument
1768 *root_uid = atoi(uid); in parse_root_owner()
/third_party/f2fs-tools/lib/
Dlibf2fs.c708 c.root_uid = getuid(); in f2fs_init_configuration()