/bionic/libc/bionic/ |
H A D | chown.cpp | 34 int chown(const char* path, uid_t uid, gid_t gid) { argument 35 return fchownat(AT_FDCWD, path, uid, gid, 0);
|
H A D | lchown.cpp | 34 int lchown(const char* path, uid_t uid, gid_t gid) { argument 35 return fchownat(AT_FDCWD, path, uid, gid, AT_SYMLINK_NOFOLLOW);
|
H A D | stubs.cpp | 297 static void print_app_name_from_gid(const gid_t gid, char* buffer, const int bufferlen) { argument 298 const uid_t appid = gid % AID_USER; 299 const uid_t userid = gid / AID_USER; 349 static group* oem_id_to_group(gid_t gid, group_state_t* state) { argument 350 if (gid < AID_OEM_RESERVED_2_START || gid > AID_OEM_RESERVED_2_END) { 355 "oem_%u", gid - AID_OEM_RESERVED_2_START); 359 gr->gr_gid = gid; 396 // Translate a gid into the corresponding app_<gid> 398 app_id_to_group(gid_t gid, group_state_t* state) argument 464 getgrgid_internal(gid_t gid, group_state_t* state) argument 477 getgrgid(gid_t gid) argument 506 getgroup_r(bool by_name, const char* name, gid_t gid, struct group* grp, char* buf, size_t buflen, struct group** result) argument 526 getgrgid_r(gid_t gid, struct group* grp, char* buf, size_t buflen, struct group** result) argument [all...] |
/bionic/libc/kernel/uapi/asm-generic/ |
H A D | ipcbuf.h | 25 __kernel_gid32_t gid; member in struct:ipc64_perm
|
/bionic/tests/ |
H A D | stubs_test.cpp | 145 // Test the difference between uid and shared gid. 174 static void check_group(const group* grp, const char* group_name, gid_t gid) { argument 177 ASSERT_EQ(gid, grp->gr_gid); 185 static void check_getgrgid(const char* group_name, gid_t gid) { argument 187 group* grp = getgrgid(gid); 190 check_group(grp, group_name, gid); 193 static void check_getgrnam(const char* group_name, gid_t gid) { argument 198 check_group(grp, group_name, gid); 201 static void check_getgrgid_r(const char* group_name, gid_t gid) { argument 207 int result = getgrgid_r(gid, 214 check_getgrnam_r(const char* group_name, gid_t gid) argument 227 check_get_group(const char* group_name, gid_t gid) argument [all...] |
/bionic/libc/kernel/uapi/linux/ |
H A D | ncp_mount.h | 47 __kernel_gid_t gid; member in struct:ncp_mount_data 65 unsigned long gid; member in struct:ncp_mount_data_v4
|
H A D | cramfs_fs.h | 36 __u32 size : CRAMFS_SIZE_WIDTH, gid : CRAMFS_GID_WIDTH; member in struct:cramfs_inode
|
H A D | ipc.h | 27 __kernel_gid_t gid; member in struct:ipc_perm
|
H A D | auto_fs4.h | 75 __u32 gid; member in struct:autofs_v5_packet
|
H A D | fuse.h | 42 uint32_t gid; member in struct:fuse_attr 287 uint32_t gid; member in struct:fuse_setattr_in 512 uint32_t gid; member in struct:fuse_in_header
|
H A D | jffs2.h | 120 jint16_t gid; member in struct:jffs2_raw_inode
|
/bionic/libc/kernel/uapi/rdma/ |
H A D | ib_user_mad.h | 44 __u8 gid[16]; member in struct:ib_user_mad_hdr_old 66 __u8 gid[16]; member in struct:ib_user_mad_hdr
|
H A D | rdma_netlink.h | 200 __u8 gid[16]; member in struct:rdma_nla_ls_gid
|
H A D | ib_user_verbs.h | 801 __u8 gid[16]; member in struct:ib_uverbs_attach_mcast 810 __u8 gid[16]; member in struct:ib_uverbs_detach_mcast
|
/bionic/libc/include/sys/ |
H A D | socket.h | 125 gid_t gid; member in struct:ucred
|