Home
last modified time | relevance | path

Searched refs:user (Results 1 – 21 of 21) sorted by relevance

/system/core/toolbox/
Dchown.c24 char user[32]; in chown_main() local
26 strncpy(user, argv[1], sizeof(user)); in chown_main()
27 if ((group = strchr(user, ':')) != NULL) { in chown_main()
29 } else if ((group = strchr(user, '.')) != NULL) { in chown_main()
39 pw = getpwnam(user); in chown_main()
44 uid = (int) strtoul(user, &endptr, 0); in chown_main()
45 if (endptr == user) { // no conversion in chown_main()
46 fprintf(stderr, "No such user '%s'\n", user); in chown_main()
Dlsof.c49 char user[USER_DISPLAY_MAX]; member
91 info->cmdline, info->pid, info->user, type, in print_type()
123 info->cmdline, info->pid, info->user, "mem", in print_maps()
147 info->cmdline, info->pid, info->user, "FDS", in print_fds()
181 strlcpy(info.user, pw->pw_name, sizeof(info.user)); in lsof_dumpinfo()
183 snprintf(info.user, USER_DISPLAY_MAX, "%d", (int)pidstat.st_uid); in lsof_dumpinfo()
186 strcpy(info.user, "???"); in lsof_dumpinfo()
Dls.c167 char user[16]; in listfile_long() local
185 sprintf(user, "%ld", s->st_uid); in listfile_long()
188 user2str(s->st_uid, user); in listfile_long()
202 mode, user, group, in listfile_long()
208 mode, user, group, s->st_size, date, name); in listfile_long()
227 mode, user, group, date, name, linkto); in listfile_long()
232 mode, user, group, date, name); in listfile_long()
241 char user[16]; in listfile_maclabel() local
264 user2str(s->st_uid, user); in listfile_maclabel()
285 mode, user, group, maclabel, name, linkto); in listfile_maclabel()
[all …]
Dps.c39 char user[32]; in ps_line() local
142 sprintf(user,"%d",(int)stats.st_uid); in ps_line()
144 strcpy(user,pw->pw_name); in ps_line()
157 … printf("%-30s %-9s %-5d %-5d %s\n", macline, user, pid, ppid, cmdline[0] ? cmdline : name); in ps_line()
161 printf("%-9s %-5d %-5d %-6d %-5d", user, pid, ppid, vss / 1024, rss * 4); in ps_line()
Dtop.c412 struct passwd *user; in print_procs() local
465 user = getpwuid(proc->uid); in print_procs()
467 if (user && user->pw_name) { in print_procs()
468 user_str = user->pw_name; in print_procs()
/system/core/libcutils/
Duevent.c34 uid_t user = -1; in uevent_kernel_multicast_recv() local
35 return uevent_kernel_multicast_uid_recv(socket, buffer, length, &user); in uevent_kernel_multicast_recv()
48 size_t length, uid_t *user) in uevent_kernel_multicast_uid_recv() argument
63 *user = -1; in uevent_kernel_multicast_uid_recv()
76 *user = cred->uid; in uevent_kernel_multicast_uid_recv()
/system/extras/tests/fstest/
DREADME43 <min_uid> may be either a numeric user id, or a user name (which must not
44 start with a number). If it is a user name, getpwnam() will be used to
45 translate it to a numeric user id.
/system/core/include/utils/
DThread.h93 static int _threadLoop(void* user);
/system/media/camera/src/
Dcamera_metadata.c104 void *user; // User set pointer, not copied with buffer member
222 metadata->user = NULL; in place_camera_metadata()
289 metadata->user = NULL; in copy_camera_metadata()
752 int set_camera_metadata_user_pointer(camera_metadata_t *dst, void* user) { in set_camera_metadata_user_pointer() argument
754 dst->user = user; in set_camera_metadata_user_pointer()
758 int get_camera_metadata_user_pointer(camera_metadata_t *dst, void** user) { in get_camera_metadata_user_pointer() argument
760 *user = dst->user; in get_camera_metadata_user_pointer()
/system/media/camera/include/system/
Dcamera_metadata.h401 int set_camera_metadata_user_pointer(camera_metadata_t *dst, void* user);
408 int get_camera_metadata_user_pointer(camera_metadata_t *dst, void** user);
/system/core/init/
Dreadme.txt73 socket <name> <type> <perm> [ <user> [ <group> ] ]
78 user <username>
184 owned by the root user and root group.
296 user adb
300 user usbd
308 user system
319 user akmd
Dkeywords.h92 KEYWORD(user, OPTION, 0, 0)
/system/security/keystore/
Dtest-keystore51 declare -r user=$1
53 run adb shell su $user keystore_cli "$@"
Dkeystore.cpp201 struct user_perm user = user_perms[i]; in has_permission() local
202 if (user.uid == uid) { in has_permission()
203 return user.perms & perm; in has_permission()
217 struct user_euid user = user_euids[i]; in get_keystore_euid() local
218 if (user.uid == uid) { in get_keystore_euid()
219 return user.euid; in get_keystore_euid()
232 struct user_euid user = user_euids[i]; in is_granted_to() local
233 if (user.euid == callingUid && user.uid == targetUid) { in is_granted_to()
/system/core/rootdir/
Dinit.rc442 user shell
461 user system
488 user root
493 user system
507 user drm
512 user media
518 user graphics
542 user vpn
549 user keystore
564 user mdnsr
/system/core/sh/
DTOUR92 EXINT is not raised if the user traps interrupts using the trap
122 the user's profile if necessary, and calls cmdloop. Cmdloop is
198 user and thus should not be used for file name generation.
256 by the user's home directory, the flag "didudir" is set. This
306 stand-alone environment. The user should call the main routine
313 mand runs /bin/pwd the first time it is invoked (unless the user
318 resolves symbolic links into actual names and informs the user
319 where the user ended up if he crossed a symbolic link.
324 tion appropriately. When a signal that a user has set a trap for
/system/core/libutils/
DThreads.cpp734 int Thread::_threadLoop(void* user) in _threadLoop() argument
736 Thread* const self = static_cast<Thread*>(user); in _threadLoop()
DREADME159 would include a resource also named string/str1. The end user does not
/system/core/fastboot/
Dfastboot_protocol.txt38 to present to the user. Stop.
/system/core/adb/
Djdwp_service.c444 jdwp_control_event(int s, unsigned events, void* user);
Dprotocol.txt92 possible, an on-screen confirmation may be displayed for the user to