Searched refs:uid (Results 1 – 16 of 16) sorted by relevance
/bionic/libc/bionic/ |
D | setuid.c | 33 int setuid(uid_t uid) in setuid() argument 35 cpuacct_add(uid); in setuid() 36 return __setuid(uid); in setuid()
|
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() 109 int getpwuid_r(uid_t uid, passwd* pwd, in getpwuid_r() argument 111 return do_getpw_r(0, NULL, uid, pwd, buf, byte_count, result); in getpwuid_r() 282 static void print_app_name_from_uid(const uid_t uid, char* buffer, const int bufferlen) { in print_app_name_from_uid() argument 283 const uid_t appid = uid % AID_USER; in print_app_name_from_uid() 284 const uid_t userid = uid / AID_USER; in print_app_name_from_uid() 294 static passwd* app_id_to_passwd(uid_t uid, stubs_state_t* state) { in app_id_to_passwd() argument 297 if (uid < AID_APP) { in app_id_to_passwd() 302 const uid_t appid = uid % AID_USER; in app_id_to_passwd() [all …]
|
D | cpuacct.c | 35 int cpuacct_add(uid_t uid) in cpuacct_add() argument 43 count = snprintf(buf, sizeof(buf), "/acct/uid/%d/tasks", uid); in cpuacct_add()
|
/bionic/tests/ |
D | stubs_test.cpp | 28 #define CHECK_GETPWNAM_FOR(username, uid, uid_type) \ argument 30 ASSERT_NO_FATAL_FAILURE(check_getpwnam(username, uid, uid_type)); 37 static void check_getpwnam(const char* username, uid_t uid, uid_type_t uid_type) { in check_getpwnam() argument 39 passwd* pwd = getpwuid(uid); in check_getpwnam() 43 EXPECT_EQ(uid, pwd->pw_uid); in check_getpwnam() 44 EXPECT_EQ(uid, pwd->pw_gid); in check_getpwnam()
|
/bionic/libc/kernel/common/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 | proc_fs.h | 46 uid_t uid; member
|
D | coda.h | 237 vuid_t uid; member 480 vuid_t uid; member
|
D | nfs_xdr.h | 42 __u32 uid; member
|
/bionic/libc/private/ |
D | cpuacct.h | 37 extern int cpuacct_add(uid_t uid);
|
/bionic/libc/kernel/common/linux/netfilter_ipv6/ |
D | ip6t_owner.h | 27 uid_t uid; member
|
/bionic/libc/kernel/arch-mips/asm/ |
D | ipcbuf.h | 25 __kernel_uid_t uid; member
|
/bionic/libc/kernel/arch-arm/asm/ |
D | ipcbuf.h | 25 __kernel_uid32_t uid; member
|
/bionic/libc/kernel/common/linux/netfilter_ipv4/ |
D | ipt_owner.h | 29 uid_t uid; member
|
/bionic/libc/kernel/arch-x86/asm/ |
D | ipcbuf.h | 25 __kernel_uid32_t uid; member
|
/bionic/libc/include/sys/ |
D | socket.h | 136 __u32 uid; member
|