Home
last modified time | relevance | path

Searched refs:uid (Results 1 – 2 of 2) sorted by relevance

/usr/
Dgen_init_cpio.c104 unsigned int mode, uid_t uid, gid_t gid) in cpio_mkslink() argument
115 (long) uid, /* uid */ in cpio_mkslink()
139 int uid; in cpio_mkslink_line() local
143 …scanf(line, "%" str(PATH_MAX) "s %" str(PATH_MAX) "s %o %d %d", name, target, &mode, &uid, &gid)) { in cpio_mkslink_line()
147 rc = cpio_mkslink(name, target, mode, uid, gid); in cpio_mkslink_line()
153 uid_t uid, gid_t gid) in cpio_mkgeneric() argument
164 (long) uid, /* uid */ in cpio_mkgeneric()
210 int uid; in cpio_mkgeneric_line() local
214 if (4 != sscanf(line, "%" str(PATH_MAX) "s %o %d %d", name, &mode, &uid, &gid)) { in cpio_mkgeneric_line()
220 rc = cpio_mkgeneric(name, mode, uid, gid); in cpio_mkgeneric_line()
[all …]
Dgen_initramfs.sh17 $0 [-o <file>] [-l <dep_list>] [-u <uid>] [-g <gid>] {-d | <cpio_source>} ...
20 -u <uid> User ID to map to user ID 0 (root).
21 <uid> is only meaningful if <cpio_source> is a
22 directory. "squash" forces all files to uid 0.
92 local uid="$3"
96 [ "$root_uid" = "squash" ] && uid=0 || [ "$uid" -eq "$root_uid" ] && uid=0
98 local str="${mode} ${uid} ${gid}"