/external/ltp/testcases/kernel/syscalls/setregid/ |
D | setregid03.c | 59 &sys.gr_gid, &bin.gr_gid, &pass, &sys, &bin, 61 &neg_one, &sys.gr_gid, &pass, &sys, &sys, "After setregid(-1, sys)"}, 63 &neg_one, &bin.gr_gid, &pass, &sys, &bin, "After setregid(-1, bin),"}, 65 &bin.gr_gid, &neg_one, &pass, &bin, &bin, "After setregid(bin, -1),"}, 68 &neg_one, &bin.gr_gid, &pass, &bin, &bin, "After setregid(-1, bin),"}, 70 &bin.gr_gid, &neg_one, &pass, &bin, &bin, "After setregid(bin, -1),"}, 72 &bin.gr_gid, &bin.gr_gid, &pass, &bin, &bin, 74 &sys.gr_gid, &neg_one, &fail, &bin, &bin, "After setregid(sys, -1)"}, 76 &neg_one, &sys.gr_gid, &fail, &bin, &bin, "After setregid(-1, sys)"}, 78 &sys.gr_gid, &sys.gr_gid, &fail, &bin, &bin, [all …]
|
D | setregid04.c | 53 &root_gr.gr_gid, &root_gr.gr_gid, &root_gr, &root_gr, 55 &users_gr.gr_gid, &neg_one, &users_gr, &root_gr, 57 &root_gr.gr_gid, &neg_one, &root_gr, &root_gr, 61 &neg_one, &root_gr.gr_gid, &root_gr, &root_gr, 63 &root_gr.gr_gid, &neg_one, &root_gr, &root_gr, 65 &daemon_gr.gr_gid, &users_gr.gr_gid, &daemon_gr, &users_gr, 69 &neg_one, &users_gr.gr_gid, &daemon_gr, &users_gr, 139 if ((getgid() != rg->gr_gid) || (getegid() != eg->gr_gid)) { in gid_verify() 143 rg->gr_gid, eg->gr_gid); in gid_verify()
|
D | setregid02.c | 59 &neg_one, &root.gr_gid, EPERM, <pgroup, <pgroup, 61 &neg_one, &bin.gr_gid, EPERM, <pgroup, <pgroup, 63 &root.gr_gid, &neg_one, EPERM, <pgroup, <pgroup, 65 &bin.gr_gid, &neg_one, EPERM, <pgroup, <pgroup, 67 &root.gr_gid, &bin.gr_gid, EPERM, <pgroup, <pgroup, 69 &bin.gr_gid, &root.gr_gid, EPERM, <pgroup, <pgroup, 163 GID16_CHECK(ret->gr_gid, setregid, NULL); in get_group_by_name() 175 GID16_CHECK(ret->gr_gid, setregid, NULL); in get_group_by_gid() 182 if ((getgid() != rg->gr_gid) || (getegid() != eg->gr_gid)) { in gid_verify() 186 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/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/e2fsprogs/include/nonunix/ |
D | grp.h | 12 __gid_t gr_gid; member
|
/external/autotest/client/site_tests/security_SysLogPermissions/ |
D | security_SysLogPermissions.py | 19 syslog_gid = grp.getgrnam('syslog').gr_gid
|
/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()
|
D | useradd.c | 92 if (toys.optflags & FLAG_G) TT.gid = xgetgrnam(TT.u_grp)->gr_gid;
|
D | mdev.c | 156 gid = grp->gr_gid; in make_device()
|
/external/ltp/testcases/kernel/syscalls/creat/ |
D | creat08.c | 127 group1_gid = group->gr_gid; in main() 132 group2_gid = group->gr_gid; in main()
|
/external/ltp/testcases/kernel/syscalls/bind/ |
D | bind02.c | 149 gid = gr->gr_gid; in main()
|
/external/ltp/testcases/kernel/syscalls/chmod/ |
D | chmod07.c | 182 group1_gid = ltpgroup->gr_gid; in setup()
|
D | chmod05.c | 208 if (chown(TESTDIR, nobody_u->pw_uid, bin_group->gr_gid) == -1) in setup()
|
/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/ltp/testcases/kernel/syscalls/fchmod/ |
D | fchmod02.c | 186 group1_gid = ltpgroup->gr_gid; in setup()
|
D | fchmod05.c | 203 if (chown(TESTDIR, nobody_u->pw_uid, bin_group->gr_gid) == -1) in setup()
|
/external/libcap/progs/old/ |
D | sucap.c | 87 gid = gr->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/ltp/testcases/kernel/syscalls/getgroups/ |
D | getgroups03.c | 104 groups[ngrps++] = grp->gr_gid; in readgroups()
|
/external/openssh/ |
D | sshpty.c | 209 gid = (grp != NULL) ? grp->gr_gid : pw->pw_gid; in pty_setowner()
|
/external/autotest/client/site_tests/login_UserPolicyKeys/ |
D | login_UserPolicyKeys.py | 44 chronos_gid = grp.getgrnam('chronos').gr_gid
|
/external/iproute2/ip/ |
D | iptuntap.c | 163 *gid = gr->gr_gid; in parse_args()
|
/external/selinux/libselinux/src/ |
D | seusers.c | 157 if (grent->gr_gid == groups[i]) { in check_group()
|