return true;
}
-static bool setGroups(nsjconf_t* nsjconf, pid_t pid) {
+static bool setGroupsDeny(nsjconf_t* nsjconf, pid_t pid) {
/*
* No need to write 'deny' to /proc/pid/setgroups if our euid==0, as writing to
* uid_map/gid_map will succeed anyway
}
bool initNsFromParent(nsjconf_t* nsjconf, pid_t pid) {
- if (!setGroups(nsjconf, pid)) {
+ if (!setGroupsDeny(nsjconf, pid)) {
return false;
}
if (!nsjconf->clone_newuser) {