Home
last modified time | relevance | path

Searched refs:gid (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
116 (long) gid, /* gid */ in cpio_mkslink()
140 int gid; 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
165 (long) gid, /* gid */ in cpio_mkgeneric()
211 int gid; 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_list.sh18 $0 [-o <file>] [-u <uid>] [-g <gid>] {-d | <cpio_source>} ...
24 -g <gid> Group ID to map to group ID 0 (root).
25 <gid> is only meaningful if <cpio_source> is a
26 directory. "squash" forces all files to gid 0.
116 local gid="$4"
120 [ "$root_gid" = "squash" ] && gid=0 || [ "$gid" -eq "$root_gid" ] && gid=0
121 local str="${mode} ${uid} ${gid}"