Home
last modified time | relevance | path

Searched refs:root_gid (Results 1 – 8 of 8) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/setregid/
Dsetregid04.c16 static gid_t first_gid, second_gid, root_gid, neg_one = -1; variable
31 &root_gid, &root_gid, &root_gid, &root_gid,
33 &first_gid, &neg_one, &first_gid, &root_gid,
35 &root_gid, &neg_one, &root_gid, &root_gid,
37 &neg_one, &neg_one, &root_gid, &root_gid,
39 &neg_one, &root_gid, &root_gid, &root_gid,
41 &root_gid, &neg_one, &root_gid, &root_gid,
83 root_gid = test_groups[0] = getgid(); in setup()
Dsetregid02.c23 static gid_t root_gid, nobody_gid, other_gid, neg_one = -1; variable
41 &neg_one, &root_gid, EPERM, &nobody_gid, &nobody_gid,
45 &root_gid, &neg_one, EPERM, &nobody_gid, &nobody_gid,
49 &root_gid, &other_gid, EPERM, &nobody_gid, &nobody_gid,
51 &other_gid, &root_gid, EPERM, &nobody_gid, &nobody_gid,
100 root_gid = test_groups[1] = getgid(); in setup()
104 GID16_CHECK(root_gid, setregid); in setup()
/third_party/ltp/testcases/kernel/syscalls/setresgid/
Dsetresgid02.c36 static gid_t root_gid, main_gid, other_gid, neg = -1; variable
40 {&neg, &neg, &neg, &root_gid, &main_gid, &main_gid,
42 {&neg, &neg, &other_gid, &root_gid, &main_gid, &other_gid,
44 {&neg, &other_gid, &neg, &root_gid, &other_gid, &other_gid,
48 {&root_gid, &root_gid, &root_gid, &root_gid, &root_gid, &root_gid,
50 {&root_gid, &main_gid, &main_gid, &root_gid, &main_gid, &main_gid,
58 root_gid = test_groups[0] = getgid(); in setup()
63 GID16_CHECK(root_gid, setresgid); in setup()
Dsetresgid01.c96 static uid_t nobody_gid, root_gid, neg = -1; variable
193 GID16_CHECK((root_gid = root.pw_gid), "setresgid", cleanup) 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.c1234 raw_node->i.i_gid = cpu_to_le32(c.root_gid); in f2fs_write_root_inode()
1553 raw_node->i.i_gid = cpu_to_le32(c.root_gid); in f2fs_write_lpf_inode()
/third_party/f2fs-tools/include/
Df2fs_fs.h536 uint32_t root_gid; member
1650 raw_node->i.i_gid = cpu_to_le32(c.root_gid); in f2fs_init_qf_inode()
1755 uint32_t *root_uid, uint32_t *root_gid) in parse_root_owner() argument
1769 *root_gid = atoi(gid); in parse_root_owner()
/third_party/f2fs-tools/lib/
Dlibf2fs.c709 c.root_gid = getgid(); in f2fs_init_configuration()