Searched defs:user (Results 1 - 7 of 7) sorted by relevance
/system/core/toolbox/ |
H A D | chown.c | 22 // Copy argv[1] to 'user' so we can truncate it at the period 24 char user[32]; local 26 strncpy(user, argv[1], sizeof(user)); 27 if ((group = strchr(user, ':')) != NULL) { 29 } else if ((group = strchr(user, '.')) != NULL) { 39 pw = getpwnam(user); 44 uid = (int) strtoul(user, &endptr, 0); 45 if (endptr == user) { // no conversion 46 fprintf(stderr, "No such user ' [all...] |
H A D | lsof.c | 49 char user[USER_DISPLAY_MAX]; member in struct:pid_info_t 91 info->cmdline, info->pid, info->user, type, 123 info->cmdline, info->pid, info->user, "mem", 147 info->cmdline, info->pid, info->user, "FDS", 181 strlcpy(info.user, pw->pw_name, sizeof(info.user)); 183 snprintf(info.user, USER_DISPLAY_MAX, "%d", (int)pidstat.st_uid); 186 strcpy(info.user, "???");
|
H A D | ls.c | 171 char user[16]; local 189 sprintf(user, "%ld", s.st_uid); 192 user2str(s.st_uid, user); 206 mode, user, group, 212 mode, user, group, s.st_size, date, name); 231 mode, user, group, date, name, linkto); 236 mode, user, group, date, name); 246 char user[16]; local 273 user2str(s.st_uid, user); 294 mode, user, grou [all...] |
H A D | ps.c | 39 char user[32]; local 142 sprintf(user,"%d",(int)stats.st_uid); 144 strcpy(user,pw->pw_name); 157 printf("%-30s %-9s %-5d %-5d %s\n", macline, user, pid, ppid, cmdline[0] ? cmdline : name); 161 printf("%-9s %-5d %-5d %-6d %-5d", user, pid, ppid, vss / 1024, rss * 4);
|
H A D | top.c | 412 struct passwd *user; local 465 user = getpwuid(proc->uid); 467 if (user && user->pw_name) { 468 user_str = user->pw_name;
|
/system/core/libcutils/ |
H A D | uevent.c | 34 uid_t user = -1; local 35 return uevent_kernel_multicast_uid_recv(socket, buffer, length, &user); 44 * returns -1, sets errno to EIO, and sets "user" to the UID associated with the 45 * message. If the peer UID cannot be determined, "user" is set to -1." 48 size_t length, uid_t *user) 63 *user = -1; 76 *user = cred->uid; 78 /* ignoring netlink message from non-root user */ 47 uevent_kernel_multicast_uid_recv(int socket, void *buffer, size_t length, uid_t *user) argument
|
/system/security/keystore/ |
H A D | keystore.cpp | 56 * user-defined password. To keep things simple, buffers are always larger than 905 // If this is the Wifi or VPN user, they actually want system 1025 * file using the same password when the user unlock it for the first time. If 1322 static struct user { struct 1336 struct user* user = users; local 1340 while (~user->uid && user->uid != (uid % AID_USER)) { 1341 ++user; 1349 if (!(action->perm & user [all...] |
Completed in 72 milliseconds