Searched refs:uid (Results 1 - 19 of 19) sorted by relevance

/bionic/libc/bionic/
H A Dchown.cpp34 int chown(const char* path, uid_t uid, gid_t gid) { argument
35 return fchownat(AT_FDCWD, path, uid, gid, 0);
H A Dlchown.cpp34 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 Dstubs.cpp83 static int do_getpw_r(int by_name, const char* name, uid_t uid, argument
94 const passwd* src = by_name ? getpwnam(name) : getpwuid(uid); // NOLINT: see above.
138 int getpwuid_r(uid_t uid, passwd* pwd, argument
140 return do_getpw_r(0, NULL, uid, pwd, buf, byte_count, result);
280 static void print_app_name_from_uid(const uid_t uid, char* buffer, const int bufferlen) { argument
281 const uid_t appid = uid % AID_USER;
282 const uid_t userid = uid / AID_USER;
330 static passwd* oem_id_to_passwd(uid_t uid, passwd_state_t* state) { argument
331 if (uid < AID_OEM_RESERVED_2_START || uid > AID_OEM_RESERVED_2_EN
370 app_id_to_passwd(uid_t uid, passwd_state_t* state) argument
413 getpwuid(uid_t uid) argument
[all...]
/bionic/libc/kernel/uapi/asm-generic/
H A Dipcbuf.h24 __kernel_uid32_t uid; member in struct:ipc64_perm
/bionic/tests/
H A Dstubs_test.cpp36 static void check_passwd(const passwd* pwd, const char* username, uid_t uid, uid_type_t uid_type) { argument
39 ASSERT_EQ(uid, pwd->pw_uid);
40 ASSERT_EQ(uid, pwd->pw_gid);
54 static void check_getpwuid(const char* username, uid_t uid, uid_type_t uid_type) { argument
56 passwd* pwd = getpwuid(uid);
59 check_passwd(pwd, username, uid, uid_type);
62 static void check_getpwnam(const char* username, uid_t uid, uid_type_t uid_type) { argument
67 check_passwd(pwd, username, uid, uid_type);
70 static void check_getpwuid_r(const char* username, uid_t uid, uid_type_t uid_type) { argument
77 result = getpwuid_r(uid,
84 check_getpwnam_r(const char* username, uid_t uid, uid_type_t uid_type) argument
98 check_get_passwd(const char* username, uid_t uid, uid_type_t uid_type) argument
[all...]
/bionic/libc/kernel/uapi/linux/
H A Dncp_mount.h46 __kernel_uid_t uid; member in struct:ncp_mount_data
64 unsigned long uid; member in struct:ncp_mount_data_v4
H A Dcramfs_fs.h35 __u32 mode : CRAMFS_MODE_WIDTH, uid : CRAMFS_UID_WIDTH; member in struct:cramfs_inode
H A Dipc.h26 __kernel_uid_t uid; member in struct:ipc_perm
H A Dauto_fs4.h74 __u32 uid; member in struct:autofs_v5_packet
H A Dfuse.h41 uint32_t uid; member in struct:fuse_attr
286 uint32_t uid; member in struct:fuse_setattr_in
511 uint32_t uid; member in struct:fuse_in_header
H A Djffs2.h119 jint16_t uid; member in struct:jffs2_raw_inode
H A Dcoda.h250 vuid_t uid; member in struct:coda_in_hdr
492 vuid_t uid; member in struct:coda_purgeuser_out
/bionic/libc/kernel/uapi/rdma/
H A Drdma_user_cm.h69 __u64 uid; member in struct:rdma_ucm_create_id
209 __u64 uid; member in struct:rdma_ucm_accept
240 __u64 uid; member in struct:rdma_ucm_join_ip_mcast
247 __u64 uid; member in struct:rdma_ucm_join_mcast
260 __u64 uid; member in struct:rdma_ucm_event_resp
H A Dib_user_cm.h57 __u64 uid; member in struct:ib_ucm_create_id
144 __u64 uid; member in struct:ib_ucm_rep
305 __u64 uid; member in struct:ib_ucm_event_resp
/bionic/libc/dns/include/
H A Dresolv_netid.h61 * circumstances, notably when a VPN applies to the given uid's traffic but the
64 * The introduction of per-UID routing means the uid is also an essential part
73 uid_t uid; member in struct:android_net_context
/bionic/libc/kernel/uapi/linux/genwqe/
H A Dgenwqe_card.h30 #define GENWQE_UID_OFFS(uid) ((uid) << 24)
242 __u32 uid; member in struct:genwqe_bitstream
/bionic/libc/dns/net/
H A Dgetaddrinfo.c373 _have_ipv6(unsigned mark, uid_t uid) { argument
380 return _find_src_addr(&addr.generic, NULL, mark, uid) == 1;
384 _have_ipv4(unsigned mark, uid_t uid) { argument
390 return _find_src_addr(&addr.generic, NULL, mark, uid) == 1;
575 .uid = NET_CONTEXT_INVALID_UID,
1768 _find_src_addr(const struct sockaddr *addr, struct sockaddr *src_addr, unsigned mark, uid_t uid) argument
1796 if (uid > 0 && uid != NET_CONTEXT_INVALID_UID && fchown(sock, uid, (gid_t)-1) < 0)
1822 _rfc6724_sort(struct addrinfo *list_sentinel, unsigned mark, uid_t uid) argument
[all...]
/bionic/libc/include/sys/
H A Dsocket.h124 uid_t uid; member in struct:ucred
/bionic/libc/kernel/uapi/drm/
H A Ddrm.h165 unsigned long uid; member in struct:drm_client

Completed in 3311 milliseconds