/third_party/ltp/testcases/kernel/syscalls/setregid/ |
D | setregid04.c | 16 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()
|
D | setregid02.c | 23 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/ |
D | setresgid02.c | 36 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()
|
D | setresgid01.c | 96 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/ |
D | f2fs_format_main.c | 115 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()
|
D | f2fs_format.c | 1145 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/ |
D | mke2fs.c | 93 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/ |
D | f2fs_fs.h | 418 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/ |
D | libf2fs.c | 699 c.root_gid = getgid(); in f2fs_init_configuration()
|