/external/ltp/testcases/kernel/syscalls/setregid/ |
D | setregid03.c | 33 &daemon_gr.gr_gid, &bin_gr.gr_gid, &pass, &daemon_gr, &bin_gr, 35 &neg_one, &daemon_gr.gr_gid, &pass, &daemon_gr, &daemon_gr, 37 &neg_one, &bin_gr.gr_gid, &pass, &daemon_gr, &bin_gr, 39 &bin_gr.gr_gid, &neg_one, &pass, &bin_gr, &bin_gr, 43 &neg_one, &bin_gr.gr_gid, &pass, &bin_gr, &bin_gr, 45 &bin_gr.gr_gid, &neg_one, &pass, &bin_gr, &bin_gr, 47 &bin_gr.gr_gid, &bin_gr.gr_gid, &pass, &bin_gr, &bin_gr, 49 &daemon_gr.gr_gid, &neg_one, &fail, &bin_gr, &bin_gr, 51 &neg_one, &daemon_gr.gr_gid, &fail, &bin_gr, &bin_gr, 53 &daemon_gr.gr_gid, &daemon_gr.gr_gid, &fail, &bin_gr, &bin_gr, [all …]
|
D | setregid02.c | 42 &neg_one, &root.gr_gid, EPERM, <pgroup, <pgroup, 44 &neg_one, &bin.gr_gid, EPERM, <pgroup, <pgroup, 46 &root.gr_gid, &neg_one, EPERM, <pgroup, <pgroup, 48 &bin.gr_gid, &neg_one, EPERM, <pgroup, <pgroup, 50 &root.gr_gid, &bin.gr_gid, EPERM, <pgroup, <pgroup, 52 &bin.gr_gid, &root.gr_gid, EPERM, <pgroup, <pgroup, 60 GID16_CHECK(ret->gr_gid, setregid); in get_group_by_name() 69 GID16_CHECK(ret->gr_gid, setregid); in get_group_by_gid() 76 if ((getgid() != rg->gr_gid) || (getegid() != eg->gr_gid)) { in gid_verify() 80 rg->gr_gid, eg->gr_gid); in gid_verify()
|
D | setregid04.c | 32 &root_gr.gr_gid, &root_gr.gr_gid, &root_gr, &root_gr, 34 &nobody_gr.gr_gid, &neg_one, &nobody_gr, &root_gr, 36 &root_gr.gr_gid, &neg_one, &root_gr, &root_gr, 40 &neg_one, &root_gr.gr_gid, &root_gr, &root_gr, 42 &root_gr.gr_gid, &neg_one, &root_gr, &root_gr, 44 &daemon_gr.gr_gid, &nobody_gr.gr_gid, &daemon_gr, &nobody_gr, 48 &neg_one, &nobody_gr.gr_gid, &daemon_gr, &nobody_gr, 54 if ((getgid() != rg->gr_gid) || (getegid() != eg->gr_gid)) { in gid_verify() 58 rg->gr_gid, eg->gr_gid); in gid_verify()
|
/external/toybox/toys/posix/ |
D | id.c | 108 if (flags & FLAG_g) s_or_u(grp->gr_name, grp->gr_gid, 1); in do_id() 112 showid(" gid=", grp->gr_gid, grp->gr_name); in do_id() 121 showid(" egid=", grp->gr_gid, grp->gr_name); in do_id() 125 showid(" groups=", grp->gr_gid, grp->gr_name); in do_id() 140 else if (toys.optflags&FLAG_G) s_or_u(grp->gr_name, grp->gr_gid, 0); in do_id() 141 else if (grp->gr_gid != egid) showid("", grp->gr_gid, grp->gr_name); in do_id()
|
/external/python/cpython2/Lib/test/ |
D | test_grp.py | 18 self.assertEqual(value[2], value.gr_gid) 19 self.assertIsInstance(value.gr_gid, (long, int)) 35 e2 = grp.getgrgid(e.gr_gid) 37 self.assertEqual(e2.gr_gid, e.gr_gid)
|
/external/python/cpython3/Lib/test/ |
D | test_grp.py | 18 self.assertEqual(value[2], value.gr_gid) 19 self.assertIsInstance(value.gr_gid, int) 35 e2 = grp.getgrgid(e.gr_gid) 37 self.assertEqual(e2.gr_gid, e.gr_gid)
|
/external/openssh/openbsd-compat/ |
D | getgrouplist.c | 71 if (grp->gr_gid == agroup) in getgrouplist() 74 if (groups[i] == grp->gr_gid) in getgrouplist() 84 groups[ngroups++] = grp->gr_gid; in getgrouplist()
|
/external/ltp/testcases/kernel/syscalls/fchmod/ |
D | fchmod02.c | 57 SAFE_CHOWN(TESTFILE, ltpuser->pw_uid, ltpgroup->gr_gid); in setup() 58 SAFE_SETGID(ltpgroup->gr_gid); in setup()
|
D | fchmod05.c | 65 SAFE_CHOWN(TESTDIR, ltpuser->pw_uid, ltpgroup->gr_gid); in setup()
|
/external/e2fsprogs/include/mingw/ |
D | grp.h | 12 __gid_t gr_gid; member
|
/external/e2fsprogs/include/nonunix/ |
D | grp.h | 12 __gid_t gr_gid; member
|
/external/wpa_supplicant_8/src/utils/ |
D | os_unix.c | 340 gid_t gid_wifi = grp ? grp->gr_gid : 0; in os_program_init() 361 groups[++group_idx] = grp ? grp->gr_gid : 0; in os_program_init() 365 groups[++group_idx] = grp ? grp->gr_gid : 0; in os_program_init() 369 groups[++group_idx] = grp ? grp->gr_gid : 0; in os_program_init()
|
/external/ltp/testcases/kernel/syscalls/chmod/ |
D | chmod07.c | 78 group1_gid = ltpgroup->gr_gid; in setup()
|
D | chmod05.c | 86 SAFE_CHOWN(TESTDIR, nobody_u->pw_uid, bin_gr->gr_gid); in setup()
|
/external/libbrillo/brillo/ |
D | userdb_utils.cc | 51 *gid = grp->gr_gid; in GetGroupInfo()
|
/external/toybox/toys/pending/ |
D | groupdel.c | 52 if (pw->pw_gid == grp->gr_gid) break; in groupdel_main()
|
/external/ltp/testcases/kernel/syscalls/creat/ |
D | creat08.c | 129 group1_gid = group->gr_gid; in main() 134 group2_gid = group->gr_gid; in main()
|
/external/ltp/testcases/kernel/syscalls/bind/ |
D | bind02.c | 139 gid = gr->gr_gid; in main()
|
/external/ltp/testcases/kernel/syscalls/open/ |
D | open10.c | 116 group1_gid = group->gr_gid; in main() 121 group2_gid = group->gr_gid; in main()
|
/external/iptables/extensions/ |
D | libxt_owner.c | 158 id = grp->gr_gid; in owner_mt_parse_v0() 205 id = grp->gr_gid; in owner_mt6_parse_v0() 264 from = to = grp->gr_gid; in owner_mt_parse()
|
/external/libcap/progs/old/ |
D | sucap.c | 87 gid = gr->gr_gid; in main()
|
/external/ltp/testcases/kernel/syscalls/getgroups/ |
D | getgroups03.c | 104 groups[ngrps++] = grp->gr_gid; in readgroups()
|
/external/python/cpython2/Lib/plat-os2emx/ |
D | grp.py | 109 self.gr_gid, self.gr_mem)
|
/external/python/cpython2/Modules/ |
D | grpmodule.c | 73 SET(setIndex++, _PyInt_FromGid(p->gr_gid)); in mkgrent()
|
/external/python/cpython2/Doc/library/ |
D | grp.rst | 25 | 2 | gr_gid | the numerical group ID |
|