/bionic/tests/ |
D | stubs_test.cpp | 27 #define CHECK_GETPWNAM_FOR(username, uid, uid_type) \ argument 29 ASSERT_NO_FATAL_FAILURE(check_getpwnam(username, uid, uid_type)); 36 static void check_getpwnam(const char* username, uid_t uid, uid_type_t uid_type) { in check_getpwnam() argument 38 passwd* pwd = getpwuid(uid); in check_getpwnam() 42 EXPECT_EQ(uid, pwd->pw_uid); in check_getpwnam() 43 EXPECT_EQ(uid, pwd->pw_gid); in check_getpwnam() 58 #define CHECK_GETPWNAM_FOR(username, uid, uid_type) \ argument
|
/bionic/libc/bionic/ |
D | chown.cpp | 33 int chown(const char* path, uid_t uid, gid_t gid) { in chown() argument 34 return fchownat(AT_FDCWD, path, uid, gid, 0); in chown()
|
D | lchown.cpp | 33 int lchown(const char* path, uid_t uid, gid_t gid) { in lchown() argument 34 return fchownat(AT_FDCWD, path, uid, gid, AT_SYMLINK_NOFOLLOW); in lchown()
|
D | stubs.cpp | 57 static int do_getpw_r(int by_name, const char* name, uid_t uid, in do_getpw_r() argument 68 const passwd* src = by_name ? getpwnam(name) : getpwuid(uid); // NOLINT: see above. in do_getpw_r() 111 int getpwuid_r(uid_t uid, passwd* pwd, in getpwuid_r() argument 113 return do_getpw_r(0, NULL, uid, pwd, buf, byte_count, result); in getpwuid_r() 284 static void print_app_name_from_uid(const uid_t uid, char* buffer, const int bufferlen) { in print_app_name_from_uid() argument 285 const uid_t appid = uid % AID_USER; in print_app_name_from_uid() 286 const uid_t userid = uid / AID_USER; in print_app_name_from_uid() 296 static passwd* app_id_to_passwd(uid_t uid, stubs_state_t* state) { in app_id_to_passwd() argument 299 if (uid < AID_APP) { in app_id_to_passwd() 304 const uid_t appid = uid % AID_USER; in app_id_to_passwd() [all …]
|
/bionic/libc/kernel/uapi/linux/ |
D | ncp_mount.h | 46 __kernel_uid_t uid; member 64 unsigned long uid; member
|
D | ipc.h | 27 __kernel_uid_t uid; member
|
D | cramfs_fs.h | 35 __u32 mode:CRAMFS_MODE_WIDTH, uid:CRAMFS_UID_WIDTH; member
|
D | auto_fs4.h | 74 __u32 uid; member
|
D | fuse.h | 41 uint32_t uid; member 275 uint32_t uid; member 495 uint32_t uid; member
|
D | jffs2.h | 122 jint16_t uid; member
|
D | coda.h | 237 vuid_t uid; member 480 vuid_t uid; member
|
/bionic/libc/kernel/uapi/rdma/ |
D | rdma_user_cm.h | 67 __u64 uid; member 207 __u64 uid; member 239 __u64 uid; member 246 __u64 uid; member 259 __u64 uid; member
|
D | ib_user_cm.h | 57 __u64 uid; member 144 __u64 uid; member 305 __u64 uid; member
|
/bionic/libc/kernel/uapi/asm-generic/ |
D | ipcbuf.h | 24 __kernel_uid32_t uid; member
|
/bionic/libc/kernel/uapi/linux/genwqe/ |
D | genwqe_card.h | 30 #define GENWQE_UID_OFFS(uid) ((uid) << 24) argument 241 __u32 uid; member
|
/bionic/libc/include/sys/ |
D | socket.h | 128 uid_t uid; member
|
/bionic/libc/kernel/uapi/drm/ |
D | drm.h | 165 unsigned long uid; member
|