cgfsng: cgfsng_get()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner 2018-02-17 19:44:52 +01:00
parent 0cb10e11f1
commit e2bd2b133d
No known key found for this signature in database
GPG Key ID: 8EB056D53EECB12D

View File

@ -2530,10 +2530,9 @@ static bool cgfsng_attach(const char *name, const char *lxcpath, pid_t pid)
return true;
}
/*
* Called externally (i.e. from 'lxc-cgroup') to query cgroup limits.
* Here we don't have a cgroup_data set up, so we ask the running
* container through the commands API for the cgroup path
/* Called externally (i.e. from 'lxc-cgroup') to query cgroup limits. Here we
* don't have a cgroup_data set up, so we ask the running container through the
* commands API for the cgroup path.
*/
static int cgfsng_get(const char *filename, char *value, size_t len,
const char *name, const char *lxcpath)