Home
last modified time | relevance | path

Searched refs:root_gid (Results 1 – 9 of 9) 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.c115 c.root_uid = c.root_gid = 0; in add_default_options()
194 if (parse_root_owner(optarg, &c.root_uid, &c.root_gid)) in f2fs_parse_options()
Df2fs_format.c1145 raw_node->i.i_gid = cpu_to_le32(c.root_gid); in f2fs_write_root_inode()
1304 raw_node->i.i_gid = cpu_to_le32(c.root_gid); in f2fs_write_qf_inode()
1498 raw_node->i.i_gid = cpu_to_le32(c.root_gid); in f2fs_write_lpf_inode()
/third_party/e2fsprogs/misc/
Dmke2fs.c93 static gid_t root_gid; variable
477 if (root_uid != 0 || root_gid != 0) { in create_root_dir()
487 inode.i_gid = root_gid; in create_root_dir()
488 ext2fs_set_i_gid_high(inode, root_gid >> 16); in create_root_dir()
711 if (root_uid != 0 || root_gid != 0) in show_stats()
712 printf(_("Root directory owner=%u:%u\n"), root_uid, root_gid); in show_stats()
1032 root_gid = strtoul(p, &p, 0); in parse_extended_opts()
1042 root_gid = getgid(); in parse_extended_opts()
/third_party/f2fs-tools/include/
Df2fs_fs.h418 u_int32_t root_gid; member
1528 u_int32_t *root_uid, u_int32_t *root_gid) in parse_root_owner() argument
1542 *root_gid = atoi(gid); in parse_root_owner()
/third_party/f2fs-tools/lib/
Dlibf2fs.c699 c.root_gid = getgid(); in f2fs_init_configuration()