/external/ltp/testcases/kernel/syscalls/getresgid/ |
D | getresgid03.c | 81 extern int getresgid(gid_t *, gid_t *, gid_t *); 82 extern int setresgid(gid_t, gid_t, gid_t); 86 gid_t pr_gid, pe_gid, ps_gid; /* calling process real/effective/saved gid */ 94 gid_t real_gid, /* real/eff./saved user id from getresgid() */ in main()
|
D | getresgid01.c | 77 extern int getresgid(gid_t *, gid_t *, gid_t *); 81 gid_t pr_gid, pe_gid, ps_gid; /* calling process real/effective/saved gid */ 89 gid_t real_gid, /* real/eff./saved user id from getresgid() */ in main()
|
D | getresgid02.c | 81 extern int getresgid(gid_t *, gid_t *, gid_t *); 85 gid_t pr_gid, pe_gid, ps_gid; /* calling process real/effective/saved gid */ 93 gid_t real_gid, /* real/eff./saved user id from getresgid() */ in main()
|
/external/minijail/test/ |
D | libminijail_test.cpp | 26 gid_t groups[] = {kSystemUid + 1, kSystemUid + 2}; 28 size_t getgroups_with_alloc(gid_t** plist) { in getgroups_with_alloc() 41 *plist = (gid_t*)calloc((size_t)nsupp_groups, sizeof(gid_t)); in getgroups_with_alloc() 59 gid_t rgid = getgid(); in check_ugid() 67 bool check_groups(size_t expected_size, gid_t* expected_list) { in check_groups() 70 gid_t* actual_list; in check_groups() 99 gid_t rgid, egid, sgid; in log_resugid() 106 gid_t* list; in log_resugid()
|
/external/ltp/testcases/network/nfsv4/acl/ |
D | acl1.c | 149 setegid((gid_t) 0); in test1() 219 if (setegid((gid_t) 601) == 0) { in testgrp1() 225 setegid((gid_t) 0); in testgrp1() 240 if ((setegid((gid_t) 602) == 0) && (seteuid((uid_t) 602) == 0)) { in testgrp2() 245 setegid((gid_t) 0); in testgrp2() 258 if ((setegid((gid_t) 603) == 0) && (seteuid((uid_t) 603) == 0)) { in testgrp3() 263 setegid((gid_t) 0); in testgrp3() 276 if (setegid((gid_t) 604) == 0) { in testgrp4() 282 setegid((gid_t) 0); in testgrp4() 289 if (setegid((gid_t) 605) == 0) { in testgrp5() [all …]
|
/external/strace/linux/ |
D | asm_stat.h | 5 # undef gid_t 16 # define gid_t __kernel_gid_t macro 29 # undef gid_t 40 # define gid_t gid_t macro
|
/external/minijail/examples/ |
D | drop_privs.cpp | 24 gid_t groups[] = { 1001, 1002 }; 28 gid_t rgid, egid, sgid; in log_resugid() 44 gid_t *list = (gid_t*)calloc((size_t)nsupp_groups, sizeof(gid_t)); in log_resugid()
|
/external/compiler-rt/test/msan/Linux/ |
D | getresid.cc | 18 gid_t gids[6]; in main() 19 assert(0 == __msan_test_shadow(gids, 6 * sizeof(gid_t))); in main() 22 assert(sizeof(gid_t) == in main() 23 __msan_test_shadow(gids + 2 * i, 2 * sizeof(gid_t))); in main()
|
/external/ltp/include/ |
D | safe_macros_fn.h | 75 void (*cleanup_fn)(void), gid_t egid); 81 void (*cleanup_fn)(void), gid_t gid); 92 gid_t *rgid, gid_t *egid, gid_t *sgid); 134 const char *path, uid_t owner, gid_t group); 137 int fd, uid_t owner, gid_t group);
|
/external/openssh/openbsd-compat/ |
D | bsd-setres_id.h | 18 int setresgid(gid_t, gid_t, gid_t);
|
D | bsd-getpeereid.c | 28 getpeereid(int s, uid_t *euid, gid_t *gid) in getpeereid() 47 getpeereid(int s, uid_t *euid, gid_t *gid) in getpeereid() 64 getpeereid(int s, uid_t *euid, gid_t *gid) in getpeereid()
|
D | bsd-setres_id.c | 29 setresgid(gid_t rgid, gid_t egid, gid_t sgid) in setresgid()
|
D | openbsd-compat.h | 157 int getgrouplist(const char *, gid_t, gid_t *, int *); 179 int getpeereid(int , uid_t *, gid_t *); 283 char *group_from_gid(gid_t, int);
|
/external/ltp/testcases/kernel/syscalls/utils/ |
D | compat_gid.h | 30 int GID_SIZE_CHECK(gid_t gid) in GID_SIZE_CHECK() 40 typedef gid_t GID_T; 41 int GID_SIZE_CHECK(gid_t gid LTP_ATTRIBUTE_UNUSED) in GID_SIZE_CHECK()
|
/external/openssh/ |
D | uidswap.c | 56 static gid_t saved_egid = 0; 62 static gid_t *saved_egroups = NULL, *user_groups = NULL; 100 saved_egroupslen, sizeof(gid_t)); in temporarily_use_uid() 118 user_groupslen, sizeof(gid_t)); in temporarily_use_uid() 220 gid_t old_gid = getgid(); in permanently_set_uid() 247 gid_t groups[] = {AID_LOG, AID_INPUT, AID_INET, in permanently_set_uid()
|
/external/ltp/testcases/kernel/syscalls/setregid/ |
D | setregid02.c | 39 static gid_t neg_one = -1; 51 gid_t *real_gid; 52 gid_t *eff_gid; 78 static struct group get_group_by_gid(gid_t gid); 168 static struct group get_group_by_gid(gid_t gid) in get_group_by_gid()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_auth_authunix_create/ |
D | rpc_authunix_create.c | 59 gid_t groups[NGROUPS_MAX]; in main() 60 gid_t *aup_gids; in main() 62 gid_t gid; in main()
|
/external/fio/os/windows/posix/include/sys/ |
D | shm.h | 9 typedef int gid_t; typedef 17 gid_t gid; /* owner's group ID */ 19 gid_t cgid; /* creator's group ID */
|
/external/bison/lib/ |
D | unistd.in.h | 271 _GL_FUNCDECL_RPL (chown, int, (const char *file, uid_t uid, gid_t gid) 273 _GL_CXXALIAS_RPL (chown, int, (const char *file, uid_t uid, gid_t gid)); 276 _GL_FUNCDECL_SYS (chown, int, (const char *file, uid_t uid, gid_t gid) 279 _GL_CXXALIAS_SYS (chown, int, (const char *file, uid_t uid, gid_t gid)); 505 uid_t owner, gid_t group, int flag) 508 uid_t owner, gid_t group, int flag)); 512 uid_t owner, gid_t group, int flag) 516 uid_t owner, gid_t group, int flag)); 690 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups)); 691 _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups)); [all …]
|
/external/kernel-headers/original/uapi/asm-mips/asm/ |
D | stat.h | 25 gid_t st_gid; 61 gid_t st_gid; 102 gid_t st_gid;
|
/external/ltp/testcases/kernel/syscalls/setegid/ |
D | setegid01.c | 41 static gid_t nobody_gid; 77 gid_t cur_rgid, cur_egid, cur_sgid; in setegid_verify() 78 gid_t orig_rgid, orig_egid, orig_sgid; in setegid_verify()
|
/external/libchrome/sandbox/linux/services/ |
D | syscall_wrappers.h | 64 SANDBOX_EXPORT int sys_getresgid(gid_t* rgid, gid_t* egid, gid_t* sgid);
|
/external/bison/linux-lib/ |
D | unistd.h | 583 _GL_FUNCDECL_RPL (chown, int, (const char *file, uid_t uid, gid_t gid) 585 _GL_CXXALIAS_RPL (chown, int, (const char *file, uid_t uid, gid_t gid)); 588 _GL_FUNCDECL_SYS (chown, int, (const char *file, uid_t uid, gid_t gid) 591 _GL_CXXALIAS_SYS (chown, int, (const char *file, uid_t uid, gid_t gid)); 817 uid_t owner, gid_t group, int flag) 820 uid_t owner, gid_t group, int flag)); 824 uid_t owner, gid_t group, int flag) 828 uid_t owner, gid_t group, int flag)); 1002 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups)); 1003 _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups)); [all …]
|
/external/bison/darwin-lib/ |
D | unistd.h | 583 _GL_FUNCDECL_RPL (chown, int, (const char *file, uid_t uid, gid_t gid) 585 _GL_CXXALIAS_RPL (chown, int, (const char *file, uid_t uid, gid_t gid)); 588 _GL_FUNCDECL_SYS (chown, int, (const char *file, uid_t uid, gid_t gid) 591 _GL_CXXALIAS_SYS (chown, int, (const char *file, uid_t uid, gid_t gid)); 817 uid_t owner, gid_t group, int flag) 820 uid_t owner, gid_t group, int flag)); 824 uid_t owner, gid_t group, int flag) 828 uid_t owner, gid_t group, int flag)); 1002 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups)); 1003 _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups)); [all …]
|
/external/ltp/testcases/kernel/syscalls/fchown/ |
D | fchown05.c | 46 gid_t group_id; 67 gid_t group_id; in main() 93 if (group_id == (gid_t)-1) in main()
|