From: Christian Brauner Date: Sun, 20 Feb 2022 14:51:13 +0000 (+0100) Subject: cgroups: log fd of newly created cgroup X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1c4a17e7df5d819b1b170917865e2e458c8e5db;p=thirdparty%2Flxc.git cgroups: log fd of newly created cgroup Signed-off-by: Christian Brauner --- diff --git a/src/lxc/cgroups/cgfsng.c b/src/lxc/cgroups/cgfsng.c index 0b753daf3..247b8bcd4 100644 --- a/src/lxc/cgroups/cgfsng.c +++ b/src/lxc/cgroups/cgfsng.c @@ -727,6 +727,7 @@ static int __cgroup_tree_create(int dfd_base, const char *path, mode_t mode, * it will be automatically zapped if we return early. */ dfd_cur = dfd_final; + TRACE("Opened%s cgroup %s as %d", !ret ? " newly created" : "", cur, dfd_cur); } /* The final cgroup must be succesfully creatd by us. */