/external/toybox/lib/ |
H A D | xwrap.c | 465 struct passwd *xgetpwuid(uid_t uid) argument 467 struct passwd *pwd = getpwuid(uid); 468 if (!pwd) error_exit("bad uid %ld", (long)uid); 483 uid_t uid; local 488 uid = estrtol(user, &s, 10); 489 if (!errno && s && !*s) up = getpwuid(uid);
|
/external/toybox/toys/pending/ |
H A D | netstat.c | 275 unsigned lport, rport, state, txq, rxq, num, uid; local 279 &num, &laddr.u, &lport, &raddr.u, &rport, &state, &txq, &rxq, &uid, &inode); 302 unsigned lport, rport, state, txq, rxq, num, uid; local 306 &raddr6.u.c, &raddr6.u.d, &rport, &state, &txq, &rxq, &uid, &inode); 441 uid_t uid = geteuid(); local 466 if (uid) fprintf(stderr, "(Not all processes could be identified, non-owned process info "
|
H A D | tar.c | 52 char name[100], mode[8], uid[8], gid[8],size[12], mtime[12], chksum[8], member in struct:tar_hdr 60 uid_t uid; member in struct:file_header 135 sprintf(tmp.uid, "%0*d", (int)sizeof(tmp.uid)-1, 0); 195 itoo(hdr.uid, sizeof(hdr.uid), st->st_uid); 341 sprintf(buf, "%0o", file_hdr->uid); 428 uid_t u = file_hdr->uid; 618 file_hdr->uid = otoi(tar.uid, sizeo [all...] |
H A D | top.c | 76 uid_t uid; member in struct:proc_info 136 if (sscanf(toybuf, "Uid: %u", &(proc->uid)) == 1) break; 425 uid_t uid = proc->uid; local 435 proc->uid = uid; //child will have same uid as parent. 610 user = getpwuid(proc->uid); 614 snprintf(user_buf, 20, "%d", proc->uid);
|
/external/v8/src/ |
H A D | heap-snapshot-generator.h | 148 unsigned uid); 153 unsigned uid() { return uid_; } function in class:v8::internal::HeapSnapshot
|
/external/compiler-rt/lib/dfsan/ |
H A D | dfsan_custom.cc | 630 int __dfsw_getpwuid_r(id_t uid, struct passwd *pwd, argument 637 int ret = getpwuid_r(uid, pwd, buf, buflen, result);
|
/external/e2fsprogs/e2fsck/ |
H A D | profile.c | 482 uid_t uid; local 485 uid = getuid(); 486 if (!getpwuid_r(uid, &pwx, pwbuf, sizeof(pwbuf), &pw)
|
/external/fio/os/windows/ |
H A D | posix.c | 608 int setuid(uid_t uid) argument
|
/external/fio/ |
H A D | thread_options.h | 246 unsigned int uid; member in struct:thread_options 470 uint32_t uid; member in struct:thread_options_pack
|
/external/kernel-headers/original/uapi/linux/genwqe/ |
H A D | genwqe_card.h | 41 #define GENWQE_UID_OFFS(uid) ((uid) << 24) 342 __u32 uid; /* 1=host/x=dram */ member in struct:genwqe_bitstream
|
/external/libdrm/ |
H A D | xf86drm.c | 2161 int drmGetClient(int fd, int idx, int *auth, int *pid, int *uid, argument 2171 *uid = client.uid;
|
/external/libselinux/src/ |
H A D | android.c | 591 uid_t uid, 608 userid = uid / AID_USER; 610 appid = uid % AID_USER; 733 "%s: No match for app with uid %d, seinfo %s, name %s\n", 734 __FUNCTION__, uid, seinfo, pkgname); 750 uid_t uid) 769 rc = seapp_context_lookup(SEAPP_TYPE, uid, 0, seinfo, pkgname, NULL, ctx); 795 selinux_log(SELINUX_ERROR, "%s: Error setting context for pkgdir %s, uid %d: %s\n", 796 __FUNCTION__, pkgdir, uid, strerror(errno)); 805 int selinux_android_setcontext(uid_t uid, argument 590 seapp_context_lookup(enum seapp_kind kind, uid_t uid, bool isSystemServer, const char *seinfo, const char *pkgname, const char *path, context_t ctx) argument 747 selinux_android_setfilecon(const char *pkgdir, const char *pkgname, const char *seinfo, uid_t uid) argument 918 uid_t uid; member in struct:pkgInfo 1064 pkgdir_selabel_lookup(const char *pathname, const char *seinfo, uid_t uid, char **secontextp) argument 1161 restorecon_sb(const char *pathname, const struct stat *sb, bool nochange, bool verbose, const char *seinfo, uid_t uid) argument 1216 selinux_android_restorecon_common(const char* pathname_orig, const char *seinfo, uid_t uid, unsigned int flags) argument 1367 selinux_android_restorecon_pkgdir(const char *pkgdir, const char *seinfo, uid_t uid, unsigned int flags) argument [all...] |
/external/libvncserver/x11vnc/ |
H A D | user.c | 66 static void user2uid(char *user, uid_t *uid, gid_t *gid, char **name, char **home); 69 static int try_user_and_display(uid_t uid, gid_t gid, char *dpystr); 70 static int switch_user_env(uid_t uid, gid_t gid, char *name, char *home, int fb_mode); 273 static void user2uid(char *user, uid_t *uid, gid_t *gid, char **name, char **home) { argument 277 *uid = (uid_t) -1; 339 *uid = (uid_t) u; 346 pw = getpwuid(*uid); 351 *uid = pw->pw_uid; 364 uid_t uid; local 488 user2uid(user, &uid, 651 try_user_and_display(uid_t uid, gid_t gid, char *dpystr) argument 717 uid_t uid = 0; local 758 switch_user_env(uid_t uid, gid_t gid, char *name, char *home, int fb_mode) argument [all...] |
/external/libvpx/libvpx/third_party/libwebm/ |
H A D | mkvparser.hpp | 341 unsigned long long uid; member in class:mkvparser::Track::Info
|
/external/libvpx/libwebm/ |
H A D | mkvparser.hpp | 345 unsigned long long uid; member in class:mkvparser::Track::Info
|
/external/lldb/source/Host/common/ |
H A D | Host.cpp | 1179 Host::GetUserName (uint32_t uid, std::string &user_name) argument 1185 if (::getpwuid_r (uid,
|
/external/mdnsresponder/mDNSShared/ |
H A D | dnssd_clientstub.c | 134 client_context_t uid; // For shared connection requests, each subordinate DNSServiceRef has its own ID, member in struct:_DNSServiceRef_t 359 hdr->client_context = ref->uid; 466 sdr->uid.u32[0] = 0; 467 sdr->uid.u32[1] = 0; 483 if (++(*ref)->uid.u32[0] == 0) ++(*ref)->uid.u32[1]; // In parent DNSServiceOp increment UID counter 487 sdr->uid = (*ref)->uid; 1580 while (op && (op->uid.u32[0] != cbh->ipc_hdr.client_context.u32[0] || op->uid [all...] |
/external/openssh/ |
H A D | session.c | 193 /* Temporarily drop privileged uid for mkdir/bind. */ 215 /* Restore the privileged uid. */ 1080 read_etc_default_login(char ***env, u_int *envsize, uid_t uid) argument 1096 if (uid == 0) 1440 safely_chroot(const char *path, uid_t uid) argument 1490 /* Set login name, uid, gid, and groups. */ 1567 /* Permanently switch to the desired uid. */ 1701 * Login(1) does this as well, and it needs uid 0 for the "-h"
|
/external/ppp/pppd/ |
H A D | main.c | 140 uid_t uid; /* Our real user-id */ variable 148 int privileged; /* we're running as real uid root */ 339 uid = getuid(); 340 privileged = uid == 0; 341 slprintf(numbuf, sizeof(numbuf), "%d", uid); 504 pw = getpwuid(uid); 510 syslog(LOG_NOTICE, "pppd %s started by %s, uid %d", VERSION, p, uid); 1764 setuid(uid); 1765 if (getuid() != uid) { [all...] |
/external/squashfs-tools/kernel-2.4/include/linux/ |
H A D | squashfs_fs.h | 255 unsigned int uid:8; \ 405 SQUASHFS_SWAP((s)->uid, d, 16, 8);\ 561 unsigned int uid:4; /* index into uid table */ member in struct:squashfs_base_inode_header_1 568 unsigned int uid:4; /* index into uid table */ member in struct:squashfs_ipc_inode_header_1 577 unsigned int uid:4; /* index into uid table */ member in struct:squashfs_dev_inode_header_1 585 unsigned int uid:4; /* index into uid tabl member in struct:squashfs_symlink_inode_header_1 594 unsigned int uid:4; /* index into uid table */ member in struct:squashfs_reg_inode_header_1 605 unsigned int uid:4; /* index into uid table */ member in struct:squashfs_dir_inode_header_1 680 unsigned int uid:8; /* index into uid table */ member in struct:squashfs_base_inode_header_2 687 unsigned int uid:8; /* index into uid table */ member in struct:squashfs_ipc_inode_header_2 694 unsigned int uid:8; /* index into uid table */ member in struct:squashfs_dev_inode_header_2 702 unsigned int uid:8; /* index into uid table */ member in struct:squashfs_symlink_inode_header_2 711 unsigned int uid:8; /* index into uid table */ member in struct:squashfs_reg_inode_header_2 724 unsigned int uid:8; /* index into uid table */ member in struct:squashfs_dir_inode_header_2 735 unsigned int uid:8; /* index into uid table */ member in struct:squashfs_ldir_inode_header_2 [all...] |
/external/squashfs-tools/squashfs-tools/ |
H A D | action.c | 1046 long long uid = strtoll(arg, &b, 10); local 1049 if (uid < 0 || uid >= (1LL << 32)) { 1057 uid = passwd->pw_uid; 1059 SYNTAX_ERROR("Invalid uid or unknown user\n"); 1064 return uid; 1095 long long uid; local 1098 uid = parse_uid(argv[0]); 1099 if (uid == -1) 1106 uid_info->uid 1137 long long uid, gid; local 2363 struct passwd *uid = getpwnam(atom->argv[0]); local [all...] |
H A D | squashfs_fs.h | 198 /* uid lookup table defines */ 313 unsigned short uid; member in struct:squashfs_base_inode_header 322 unsigned short uid; member in struct:squashfs_ipc_inode_header 332 unsigned short uid; member in struct:squashfs_lipc_inode_header 343 unsigned short uid; member in struct:squashfs_dev_inode_header 354 unsigned short uid; member in struct:squashfs_ldev_inode_header 366 unsigned short uid; member in struct:squashfs_symlink_inode_header 378 unsigned short uid; member in struct:squashfs_reg_inode_header 392 unsigned short uid; member in struct:squashfs_lreg_inode_header 409 unsigned short uid; member in struct:squashfs_dir_inode_header 423 unsigned short uid; member in struct:squashfs_ldir_inode_header [all...] |
H A D | unsquashfs.c | 529 user = getpwuid(inode->uid); 531 int res = snprintf(dummy, 12, "%d", inode->uid); 819 int set_attributes(char *pathname, int mode, uid_t uid, gid_t guid, time_t time, argument 833 if(chown(pathname, uid, guid) == -1) { 834 ERROR("set_attributes: failed to change uid and gids " 967 file->uid = inode->uid; 986 file->uid = dir->uid; 1107 if(lchown(pathname, i->uid, [all...] |
/external/strace/ |
H A D | strace.c | 444 int euid = geteuid(), uid = getuid(); local 446 if (euid != uid && setreuid(euid, uid) < 0) {
|
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_platform_limits_posix.h | 172 int uid; member in struct:__sanitizer::__sanitizer_ipc_perm 246 unsigned int uid; member in struct:__sanitizer::__sanitizer_ipc_perm
|