Lines Matching refs:uid
57 * It must be run as root, but will drop to requested UID/GID as soon as it
58 * mounts a filesystem. It will refuse to run if requested UID/GID are zero.
180 uid_t uid;
426 attr->uid = node->uid;
457 node->uid = parent->uid;
526 node->uid = multiuser_get_uid(parent->userid, appid);
540 /* Return if the calling UID holds sdcard_rw. */
547 appid_t appid = multiuser_get_app_id(hdr->uid);
573 if (hdr->uid == 0) {
580 if (parent_node && hdr->uid == parent_node->uid) {
743 fuse->root.uid = AID_ROOT;
1811 " -u: specify UID to run as\n"
1822 static int run(const char* source_path, const char* dest_path, uid_t uid,
1841 fd, uid, gid);
1861 res = setuid(uid);
1885 uid_t uid = 0;
1899 uid = strtoul(optarg, NULL, 10);
1931 } else if (!uid) {
1932 uid = strtoul(arg, NULL, 10);
1949 if (!uid || !gid) {
1950 ERROR("uid and gid must be nonzero\n");
1973 res = run(source_path, dest_path, uid, gid, write_gid, num_threads, derive, split_perms);