/external/minijail/test/ |
D | libminijail_test.cpp | 25 gid_t groups[] = { kSystemUid + 1, kSystemUid + 2 }; 27 size_t getgroups_with_alloc(gid_t **plist) { in getgroups_with_alloc() 40 *plist = (gid_t*)calloc((size_t)nsupp_groups, sizeof(gid_t)); in getgroups_with_alloc() 58 gid_t rgid = getgid(); in check_ugid() 66 bool check_groups(size_t expected_size, gid_t *expected_list) { in check_groups() 69 gid_t *actual_list; in check_groups() 98 gid_t rgid, egid, sgid; in log_resugid() 105 gid_t *list; in log_resugid()
|
/external/minijail/examples/ |
D | drop_privs.cpp | 23 gid_t groups[] = { 1001, 1002 }; 27 gid_t rgid, egid, sgid; in log_resugid() 43 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/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/libchrome/sandbox/linux/services/ |
D | syscall_wrappers.h | 64 SANDBOX_EXPORT int sys_getresgid(gid_t* rgid, gid_t* egid, gid_t* sgid);
|
D | syscall_wrappers_unittest.cc | 77 gid_t rgid, egid, sgid; in TEST() 78 gid_t sys_rgid, sys_egid, sys_sgid; in TEST()
|
D | credentials.cc | 44 bool GetRESIds(uid_t* resuid, gid_t* resgid) { in GetRESIds() 46 gid_t rgid, egid, sgid; in GetRESIds() 283 gid_t gid; in MoveToNewUserNS()
|
D | syscall_wrappers.cc | 117 int sys_getresgid(gid_t* rgid, gid_t* egid, gid_t* sgid) { in sys_getresgid()
|
/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/libbrillo/brillo/ |
D | userdb_utils.h | 22 const std::string& user, uid_t* uid, gid_t* gid) WARN_UNUSED_RESULT; 27 const std::string& group, gid_t* gid) WARN_UNUSED_RESULT;
|
D | file_utils.cc | 59 gid_t gid) { in RegularFileOrDelete() 96 gid_t gid, in TouchFileInternal() 136 gid_t gid) { in TouchFile()
|
D | userdb_utils.cc | 19 bool GetUserInfo(const std::string& user, uid_t* uid, gid_t* gid) { in GetUserInfo() 38 bool GetGroupInfo(const std::string& group, gid_t* gid) { in GetGroupInfo()
|
D | process.h | 73 virtual void SetGid(gid_t gid) = 0; 171 virtual void SetGid(gid_t gid); 221 gid_t gid_;
|
/external/selinux/libselinux/src/ |
D | seusers.c | 96 static gid_t get_default_gid(const char *name) { in get_default_gid() 98 gid_t gid = -1; in get_default_gid() 113 static int check_group(const char *group, const char *name, const gid_t gid) { in check_group() 116 gid_t *groups = NULL; in check_group() 186 gid_t gid = get_default_gid(name); in getseuserbyname()
|
/external/strace/ |
D | file.c | 38 #undef gid_t 46 #define gid_t __kernel_gid_t macro 57 #undef gid_t 65 #define gid_t gid_t macro
|
/external/tlsdate/src/ |
D | util.c | 151 static gid_t 166 gid_t gid; in drop_privs_to() 196 gid_t *supp_gids = (gid_t *) calloc (num_supp, sizeof (gid_t)); in drop_privs_to()
|
/external/squashfs-tools/squashfs-tools/ |
D | unsquashfs.h | 91 gid_t gid; 186 gid_t guid; 205 gid_t gid;
|
/external/toybox/toys/posix/ |
D | id.c | 91 gid_t gid = getgid(), egid = getegid(), *groups; in do_id() 129 groups = (gid_t *)toybuf; in do_id() 130 i = sizeof(toybuf)/sizeof(gid_t); in do_id()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_platform_limits_linux.cc | 39 #define gid_t __kernel_gid_t macro 47 #undef gid_t
|
/external/minijail/ |
D | libminijail.h | 42 void minijail_change_gid(struct minijail *j, gid_t gid); 45 const gid_t *list);
|
/external/google-breakpad/src/third_party/lss/ |
D | linux_syscall_support.h | 3020 LSS_INLINE _syscall0(gid_t, getegid) in _syscall4() 3030 LSS_INLINE _syscall3(int, getresgid, gid_t *, r, in _syscall4() 3031 gid_t *, e, gid_t *, s) in _syscall4() 3127 LSS_INLINE _syscall1(int, setfsgid, gid_t, g) in _syscall2() 3130 LSS_INLINE _syscall1(int, setgid, gid_t, g) in _syscall2() 3135 LSS_INLINE _syscall3(int, setresgid, gid_t, r, in _syscall2() 3136 gid_t, e, gid_t, s) in _syscall2() 3195 LSS_INLINE int LSS_NAME(getresgid32)(gid_t *rgid, in LSS_NAME() 3196 gid_t *egid, in LSS_NAME() 3197 gid_t *sgid) { in LSS_NAME() [all …]
|
/external/iproute2/ip/ |
D | iptuntap.c | 48 static int tap_add_ioctl(struct ifreq *ifr, uid_t uid, gid_t gid) in tap_add_ioctl() 107 static int parse_args(int argc, char **argv, struct ifreq *ifr, uid_t *uid, gid_t *gid) in parse_args() 202 gid_t gid = -1; in do_add()
|