/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:setfsgid32(gid_t) lp32 26 int setfsgid:setfsgid(gid_t) lp64 29 int setgroups:setgroups32(int, const gid_t*) lp32 30 int setgroups:setgroups(int, const gid_t*) lp64
|
D | SYSCALLS.TXT | 32 gid_t getgid:getgid32() lp32 33 gid_t getgid:getgid() lp64 36 gid_t getegid:getegid32() lp32 37 gid_t getegid:getegid() lp64 40 gid_t getresgid:getresgid32(gid_t* rgid, gid_t* egid, gid_t* sgid) lp32 41 gid_t getresgid:getresgid(gid_t* rgid, gid_t* egid, gid_t* sgid) lp64 42 int getgroups:getgroups32(int, gid_t*) lp32 43 int getgroups:getgroups(int, gid_t*) lp64 44 int setgid:setgid32(gid_t) lp32 45 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* _Nullable __list); 197 int setgroups(size_t __size, const gid_t* _Nullable __list); 199 int getresgid(gid_t* _Nonnull __rgid, gid_t* _Nonnull __egid, gid_t* _Nonnull __sgid); 225 int chown(const char* _Nonnull __path, uid_t __owner, gid_t __group); [all …]
|
D | grp.h | 44 gid_t gr_gid; /* group id */ 50 struct group* _Nullable getgrgid(gid_t __gid); 58 int getgrgid_r(gid_t __gid, struct group* __BIONIC_COMPLICATED_NULLNESS __group, char* _Nonnull __b… 60 int getgrouplist(const char* _Nonnull __user, gid_t __group, gid_t* __BIONIC_COMPLICATED_NULLNESS _… 61 int initgroups(const char* _Nonnull __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 | 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 | unistd_h.c | 301 TYPE(gid_t); in unistd_h() 309 FUNCTION(chown, int (*f)(const char*, uid_t, gid_t)); in unistd_h() 329 FUNCTION(fchown, int (*f)(int, uid_t, gid_t)); in unistd_h() 330 FUNCTION(fchownat, int (*f)(int, const char*, uid_t, gid_t, int)); in unistd_h() 338 FUNCTION(getegid, gid_t (*f)(void)); in unistd_h() 340 FUNCTION(getgid, gid_t (*f)(void)); in unistd_h() 341 FUNCTION(getgroups, int (*f)(int, gid_t[])); in unistd_h() 356 FUNCTION(lchown, int (*f)(const char*, uid_t, gid_t)); in unistd_h() 371 FUNCTION(setegid, int (*f)(gid_t)); in unistd_h() 373 FUNCTION(setgid, int (*f)(gid_t)); in unistd_h() [all …]
|
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 | 380 static void print_app_name_from_gid(const gid_t gid, char* buffer, const int bufferlen) { in print_app_name_from_gid() 477 static group* oem_id_to_group(gid_t gid, group_state_t* state) { in oem_id_to_group() 527 static group* app_id_to_group(gid_t gid, group_state_t* state) { in app_id_to_group() 612 int getgrouplist(const char* /*user*/, gid_t group, gid_t* groups, int* ngroups) { in getgrouplist() 700 static group* getgrgid_internal(gid_t gid, group_state_t* state) { in getgrgid_internal() 713 group* getgrgid(gid_t gid) { // NOLINT: implementing bad function. in getgrgid() 743 static int getgroup_r(bool by_name, const char* name, gid_t gid, struct group* grp, char* buf, in getgroup_r() 763 int getgrgid_r(gid_t gid, struct group* grp, char* buf, size_t buflen, struct group** result) { in getgrgid_r()
|
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.cpp | 125 gid_t gid; in ToPasswdState() 170 gid_t gid; in ToGroupState() 342 bool GroupFile::FindById(gid_t id, group_state_t* group_state) { in FindById()
|
D | grp_pwd_file.h | 94 bool FindById(gid_t id, group_state_t* group_state);
|
/bionic/tests/ |
D | grp_pwd_test.cpp | 491 static void check_group(const group* grp, const char* group_name, gid_t gid, in check_group() 507 static void check_getgrgid(const char* group_name, gid_t gid, bool check_groupname) { in check_getgrgid() 515 static void check_getgrnam(const char* group_name, gid_t gid, bool check_groupname) { in check_getgrnam() 523 static void check_getgrgid_r(const char* group_name, gid_t gid, bool check_groupname) { in check_getgrgid_r() 536 static void check_getgrnam_r(const char* group_name, gid_t gid, bool check_groupname) { in check_getgrnam_r() 549 static void check_get_group(const char* group_name, gid_t gid, bool check_groupname = true) { in check_get_group() 557 static void expect_no_group_id(gid_t gid) { in expect_no_group_id() 587 static void check_get_group(const char*, gid_t, bool) { in check_get_group() argument 591 static void check_get_group(const char*, gid_t) { in check_get_group() argument 595 static void expect_no_group_id(gid_t /* gid */) { in expect_no_group_id() argument [all …]
|
D | sys_types_test.cpp | 24 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 | 128 gid_t gid;
|