/bionic/libc/ |
D | SECCOMP_BLOCKLIST_APP.TXT | 14 int setgid:setgid32(gid_t) lp32 15 int setgid:setgid(gid_t) lp64 18 int setregid:setregid32(gid_t, gid_t) lp32 19 int setregid:setregid(gid_t, gid_t) lp64 22 int setresgid:setresgid32(gid_t, gid_t, gid_t) lp32 23 int setresgid:setresgid(gid_t, gid_t, gid_t) lp64 25 int setfsgid(gid_t) all 27 int setgroups:setgroups32(int, const gid_t*) lp32 28 int setgroups:setgroups(int, const gid_t*) lp64
|
D | SYSCALLS.TXT | 33 gid_t getgid:getgid32() lp32 34 gid_t getgid:getgid() lp64 37 gid_t getegid:getegid32() lp32 38 gid_t getegid:getegid() lp64 41 gid_t getresgid:getresgid32(gid_t* rgid, gid_t* egid, gid_t* sgid) lp32 42 gid_t getresgid:getresgid(gid_t* rgid, gid_t* egid, gid_t* sgid) lp64 44 int getgroups:getgroups32(int, gid_t*) lp32 45 int getgroups:getgroups(int, gid_t*) lp64 50 int setgid:setgid32(gid_t) lp32 51 int setgid:setgid(gid_t) lp64 [all …]
|
/bionic/libc/include/ |
D | unistd.h | 113 int setegid(gid_t __gid); 135 int setgid(gid_t __gid); 146 int setregid(gid_t __rgid, gid_t __egid); 157 int setresgid(gid_t __rgid, gid_t __egid, gid_t __sgid); 194 gid_t getgid(void); 195 gid_t getegid(void); 196 int getgroups(int __size, gid_t* __list); 197 int setgroups(size_t __size, const gid_t* __list); 199 int getresgid(gid_t* __rgid, gid_t* __egid, gid_t* __sgid); 225 int chown(const char* __path, uid_t __owner, gid_t __group); [all …]
|
D | grp.h | 44 gid_t gr_gid; /* group id */ 50 struct group* getgrgid(gid_t __gid); 58 int getgrgid_r(gid_t __gid, struct group* __group, char* __buf, size_t __n, struct group** __result… 60 int getgrouplist(const char* __user, gid_t __group, gid_t* __groups, int* __group_count); 61 int initgroups(const char* __user, gid_t __group);
|
D | pwd.h | 72 gid_t pw_gid;
|
/bionic/tests/headers/posix/ |
D | grp_h.c | 36 STRUCT_MEMBER(struct group, gid_t, gr_gid); in grp_h() 39 TYPE(gid_t); in grp_h() 44 FUNCTION(getgrgid, struct group* (*f)(gid_t)); in grp_h() 45 FUNCTION(getgrgid_r, int (*f)(gid_t, struct group*, char*, size_t, struct group**)); in grp_h()
|
D | unistd_h.c | 283 TYPE(gid_t); in unistd_h() 291 FUNCTION(chown, int (*f)(const char*, uid_t, gid_t)); in unistd_h() 311 FUNCTION(fchown, int (*f)(int, uid_t, gid_t)); in unistd_h() 312 FUNCTION(fchownat, int (*f)(int, const char*, uid_t, gid_t, int)); in unistd_h() 320 FUNCTION(getegid, gid_t (*f)(void)); in unistd_h() 322 FUNCTION(getgid, gid_t (*f)(void)); in unistd_h() 323 FUNCTION(getgroups, int (*f)(int, gid_t[])); in unistd_h() 338 FUNCTION(lchown, int (*f)(const char*, uid_t, gid_t)); in unistd_h() 353 FUNCTION(setegid, int (*f)(gid_t)); in unistd_h() 355 FUNCTION(setgid, int (*f)(gid_t)); in unistd_h() [all …]
|
D | sys_ipc_h.c | 36 STRUCT_MEMBER(struct ipc_perm, gid_t, gid); in sys_ipc_h() 38 STRUCT_MEMBER(struct ipc_perm, gid_t, cgid); in sys_ipc_h() 46 TYPE(gid_t); in sys_ipc_h()
|
D | pwd_h.c | 37 STRUCT_MEMBER(struct passwd, gid_t, pw_gid); in pwd_h() 41 TYPE(gid_t); in pwd_h()
|
D | sys_stat_h.c | 57 STRUCT_MEMBER(struct stat, gid_t, st_gid); in sys_stat_h() 99 TYPE(gid_t); in sys_stat_h()
|
D | sys_types_h.c | 41 TYPE(gid_t); in sys_types_h()
|
/bionic/libc/bionic/ |
D | initgroups.c | 35 initgroups (const char *user, gid_t group) in initgroups() 37 gid_t groups0[ INIT_GROUPS ]; in initgroups() 38 gid_t* groups = groups0; in initgroups()
|
D | grp_pwd.cpp | 367 static void print_app_name_from_gid(const gid_t gid, char* buffer, const int bufferlen) { in print_app_name_from_gid() 457 static group* oem_id_to_group(gid_t gid, group_state_t* state) { in oem_id_to_group() 507 static group* app_id_to_group(gid_t gid, group_state_t* state) { in app_id_to_group() 591 int getgrouplist(const char* /*user*/, gid_t group, gid_t* groups, int* ngroups) { in getgrouplist() 679 static group* getgrgid_internal(gid_t gid, group_state_t* state) { in getgrgid_internal() 692 group* getgrgid(gid_t gid) { // NOLINT: implementing bad function. in getgrgid() 721 static int getgroup_r(bool by_name, const char* name, gid_t gid, struct group* grp, char* buf, in getgroup_r() 741 int getgrgid_r(gid_t gid, struct group* grp, char* buf, size_t buflen, struct group** result) { in getgrgid_r()
|
D | grp_pwd_file.cpp | 125 gid_t gid; in ToPasswdState() 170 gid_t gid; in ToGroupState() 340 bool GroupFile::FindById(gid_t id, group_state_t* group_state) { in FindById()
|
D | setegid.cpp | 31 int setegid(gid_t egid) { in setegid()
|
D | chown.cpp | 34 int chown(const char* path, uid_t uid, gid_t gid) { in chown()
|
D | lchown.cpp | 34 int lchown(const char* path, uid_t uid, gid_t gid) { in lchown()
|
D | grp_pwd_file.h | 91 bool FindById(gid_t id, group_state_t* group_state);
|
/bionic/tests/ |
D | grp_pwd_test.cpp | 480 static void check_group(const group* grp, const char* group_name, gid_t gid, in check_group() 496 static void check_getgrgid(const char* group_name, gid_t gid, bool check_groupname) { in check_getgrgid() 504 static void check_getgrnam(const char* group_name, gid_t gid, bool check_groupname) { in check_getgrnam() 512 static void check_getgrgid_r(const char* group_name, gid_t gid, bool check_groupname) { in check_getgrgid_r() 525 static void check_getgrnam_r(const char* group_name, gid_t gid, bool check_groupname) { in check_getgrnam_r() 538 static void check_get_group(const char* group_name, gid_t gid, bool check_groupname = true) { in check_get_group() 546 static void expect_no_group_id(gid_t gid) { in expect_no_group_id() 576 static void check_get_group(const char*, gid_t, bool) { in check_get_group() argument 580 static void check_get_group(const char*, gid_t) { in check_get_group() argument 584 static void expect_no_group_id(gid_t /* gid */) { in expect_no_group_id() argument [all …]
|
D | sys_types_test.cpp | 23 ASSERT_EQ(4U, sizeof(gid_t)); in TEST()
|
D | grp_pwd_file_test.cpp | 39 void FindAndCheckPasswdEntry(PasswdFile* file, const char* name, uid_t uid, gid_t gid, in FindAndCheckPasswdEntry() 66 void FindAndCheckGroupEntry(GroupFile* file, const char* name, gid_t gid) { in FindAndCheckGroupEntry()
|
/bionic/libc/include/sys/ |
D | stat.h | 50 gid_t st_gid; \ 70 gid_t st_gid; \ 89 gid_t st_gid; \
|
D | fsuid.h | 59 int setfsgid(gid_t __gid) __INTRODUCED_IN(21);
|
D | types.h | 43 typedef __gid_t gid_t; typedef
|
D | socket.h | 134 gid_t gid;
|