mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-14 15:29:56 +00:00
cgfsng: cgfsng_get()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
0cb10e11f1
commit
e2bd2b133d
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user