return 0;
if (recurse) {
if (conf && !lxc_list_empty(&conf->id_map))
- r = userns_exec_1(conf, rmdir_wrapper, buf);
+ r = userns_exec_1(conf, rmdir_wrapper, buf,
+ "rmdir_wrapper");
else
r = cgroup_rmdir(buf);
} else
/* Unpriv users can't chown it themselves, so chown from
* a child namespace mapping both our own and the target uid
*/
- if (userns_exec_1(conf, chown_cgroup_wrapper, &data) < 0) {
+ if (userns_exec_1(conf, chown_cgroup_wrapper, &data,
+ "chown_cgroup_wrapper") < 0) {
ERROR("Error requesting cgroup chown in new namespace");
return false;
}