]> git.proxmox.com Git - mirror_lxc.git/blobdiff - src/lxc/cgroups/cgfsng.c
tree-wide: log function called in userns_exec_1()
[mirror_lxc.git] / src / lxc / cgroups / cgfsng.c
index 7c627229ec4fc63459536dd515923e2a5a376e81..fd71c106d0c5b9631d1fd9d941549588de8eee86 100644 (file)
@@ -1284,7 +1284,7 @@ void recursive_destroy(char *path, struct lxc_conf *conf)
 {
        int r;
        if (conf && !lxc_list_empty(&conf->id_map))
-               r = userns_exec_1(conf, rmdir_wrapper, path);
+               r = userns_exec_1(conf, rmdir_wrapper, path, "rmdir_wrapper");
        else
                r = cgroup_rmdir(path);
 
@@ -1507,7 +1507,8 @@ static bool cgfsns_chown(void *hdata, struct lxc_conf *conf)
        wrap.d = d;
        wrap.origuid = geteuid();
 
-       if (userns_exec_1(conf, chown_cgroup_wrapper, &wrap) < 0) {
+       if (userns_exec_1(conf, chown_cgroup_wrapper, &wrap,
+                         "chown_cgroup_wrapper") < 0) {
                ERROR("Error requesting cgroup chown in new namespace");
                return false;
        }