Searched refs:user (Results 1 - 18 of 18) sorted by relevance

/system/core/toolbox/
H A Dchown.c22 // 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 Dls.c171 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 Dlsof.c49 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 Dps.c39 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 Dtop.c412 struct passwd *user; local
465 user = getpwuid(proc->uid);
467 if (user && user->pw_name) {
468 user_str = user->pw_name;
H A Dnandread.c9 #include <mtd/mtd-user.h>
/system/core/libcutils/
H A Duevent.c34 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/core/debuggerd/x86/
H A Dmachine.c29 #include <linux/user.h>
/system/media/camera/src/
H A Dcamera_metadata.c87 void *user; // User set pointer, not copied with buffer member in struct:camera_metadata
162 metadata->user = NULL;
243 metadata->user = NULL;
549 int set_camera_metadata_user_pointer(camera_metadata_t *dst, void* user) { argument
551 dst->user = user;
555 int get_camera_metadata_user_pointer(camera_metadata_t *dst, void** user) { argument
557 *user = dst->user;
/system/media/camera/include/system/
H A Dcamera_metadata.h367 * Set user pointer in buffer. This can be used for linking the metadata buffer
368 * with other associated data. This user pointer is not copied with
372 int set_camera_metadata_user_pointer(camera_metadata_t *dst, void* user);
375 * Retrieve user pointer in buffer. Returns NULL in user if
379 int get_camera_metadata_user_pointer(camera_metadata_t *dst, void** user);
/system/security/keystore/
H A Dtest-keystore51 declare -r user=$1
53 run adb shell su $user keystore_cli "$@"
70 log "reset keystore as system user"
82 log "but system user does"
124 log "root can read system user keys (as can wifi or vpn users)"
130 # app user tests
138 log "app user cannot use reset, password, lock, unlock"
H A Dkeystore.cpp56 * 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
1362 static struct user { struct
1376 struct user* user = users; local
1380 while (~user->uid && user->uid != (uid % AID_USER)) {
1381 ++user;
1389 if (!(action->perm & user
[all...]
/system/core/rootdir/
H A DAndroid.mk23 # in the system image. In theory, we don't need these for -user builds
60 # to allow -user builds to properly run the dex pre-optimization pass in
/system/core/debuggerd/arm/
H A Dmachine.c29 #include <linux/user.h>
/system/core/debuggerd/mips/
H A Dmachine.c29 #include <linux/user.h>
/system/core/init/
H A Dkeywords.h88 KEYWORD(user, OPTION, 0, 0)
H A Dinit.c30 #include <mtd/mtd-user.h>
/system/core/adb/
H A Djdwp_service.c444 jdwp_control_event(int s, unsigned events, void* user);

Completed in 202 milliseconds