/bionic/libc/bionic/ |
D | chown.cpp | 34 int chown(const char* path, uid_t uid, gid_t gid) { in chown() argument 35 return fchownat(AT_FDCWD, path, uid, gid, 0); in chown()
|
D | lchown.cpp | 34 int lchown(const char* path, uid_t uid, gid_t gid) { in lchown() argument 35 return fchownat(AT_FDCWD, path, uid, gid, AT_SYMLINK_NOFOLLOW); in lchown()
|
D | grp_pwd.cpp | 298 static void print_app_name_from_gid(const gid_t gid, char* buffer, const int bufferlen) { in print_app_name_from_gid() argument 299 const uid_t appid = gid % AID_USER_OFFSET; in print_app_name_from_gid() 300 const uid_t userid = gid / AID_USER_OFFSET; in print_app_name_from_gid() 359 static group* oem_id_to_group(gid_t gid, group_state_t* state) { in oem_id_to_group() argument 360 if (!is_oem_id(gid)) { in oem_id_to_group() 365 "oem_%u", gid); in oem_id_to_group() 369 gr->gr_gid = gid; in oem_id_to_group() 408 static group* app_id_to_group(gid_t gid, group_state_t* state) { in app_id_to_group() argument 409 if (gid < AID_APP_START) { in app_id_to_group() 414 print_app_name_from_gid(gid, state->group_name_buffer_, sizeof(state->group_name_buffer_)); in app_id_to_group() [all …]
|
/bionic/tests/ |
D | grp_pwd_test.cpp | 229 static void check_group(const group* grp, const char* group_name, gid_t gid) { in check_group() argument 232 ASSERT_EQ(gid, grp->gr_gid); in check_group() 240 static void check_getgrgid(const char* group_name, gid_t gid) { in check_getgrgid() argument 242 group* grp = getgrgid(gid); in check_getgrgid() 245 check_group(grp, group_name, gid); in check_getgrgid() 248 static void check_getgrnam(const char* group_name, gid_t gid) { in check_getgrnam() argument 253 check_group(grp, group_name, gid); in check_getgrnam() 256 static void check_getgrgid_r(const char* group_name, gid_t gid) { in check_getgrgid_r() argument 262 int result = getgrgid_r(gid, &grp_storage, buf, sizeof(buf), &grp); in check_getgrgid_r() 266 check_group(grp, group_name, gid); in check_getgrgid_r() [all …]
|
/bionic/libc/kernel/uapi/linux/ |
D | ncp_mount.h | 47 __kernel_gid_t gid; member 65 unsigned long gid; member
|
D | ipc.h | 27 __kernel_gid_t gid; member
|
D | cramfs_fs.h | 36 __u32 size : CRAMFS_SIZE_WIDTH, gid : CRAMFS_GID_WIDTH; member
|
D | auto_fs4.h | 75 __u32 gid; member
|
D | auto_dev-ioctl.h | 59 __u32 gid; member
|
D | fuse.h | 42 uint32_t gid; member 292 uint32_t gid; member 517 uint32_t gid; member
|
D | jffs2.h | 120 jint16_t gid; member
|
D | btrfs_tree.h | 281 __le32 gid; member
|
/bionic/libc/kernel/uapi/asm-generic/ |
D | ipcbuf.h | 25 __kernel_gid32_t gid; member
|
/bionic/libc/kernel/uapi/rdma/ |
D | ib_user_mad.h | 44 __u8 gid[16]; member 66 __u8 gid[16]; member
|
D | rdma_netlink.h | 209 __u8 gid[16]; member
|
D | ib_user_verbs.h | 850 __u8 gid[16]; member 859 __u8 gid[16]; member
|
/bionic/libc/include/sys/ |
D | socket.h | 141 gid_t gid; member
|