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; return true;
} }
/* /* Called externally (i.e. from 'lxc-cgroup') to query cgroup limits. Here we
* Called externally (i.e. from 'lxc-cgroup') to query cgroup limits. * don't have a cgroup_data set up, so we ask the running container through the
* Here we don't have a cgroup_data set up, so we ask the running * commands API for the cgroup path.
* container through the commands API for the cgroup path
*/ */
static int cgfsng_get(const char *filename, char *value, size_t len, static int cgfsng_get(const char *filename, char *value, size_t len,
const char *name, const char *lxcpath) const char *name, const char *lxcpath)