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

/systemd/src/nspawn/
H A Dnspawn.c935 if (arg_userns && access("/proc/self/uid_map", F_OK) < 0)
2847 char uid_map[strlen("/proc//uid_map") + DECIMAL_STR_MAX(uid_t) + 1], line[DECIMAL_STR_MAX(uid_t)*3+3+1]; local
2852 xsprintf(uid_map, "/proc/" PID_FMT "/uid_map", pid);
2854 r = write_string_file(uid_map, line, 0);
2859 xsprintf(uid_map, "/proc/" PID_FMT "/gid_map", pid);
2860 r = write_string_file(uid_map, line, 0);

Completed in 310 milliseconds