diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-06-14 13:32:18 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-06-16 18:52:04 -0400 |
commit | a2c5a0f3e0f005899fd6de214ff0525b7415cb8a (patch) | |
tree | 8394b4d9e63233ec428d5d77a798feeda6658c23 /src/basic/cgroup-util.h | |
parent | 76b7be5e7e8bd15b549aa12eabbe3a36fdc4e924 (diff) |
nspawn: Divorce the code deciding the cgroup mounts from the code performing them
TODO: a better commit message
Diffstat (limited to 'src/basic/cgroup-util.h')
-rw-r--r-- | src/basic/cgroup-util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/cgroup-util.h b/src/basic/cgroup-util.h index d730f3490c..0e5b41103e 100644 --- a/src/basic/cgroup-util.h +++ b/src/basic/cgroup-util.h @@ -169,6 +169,7 @@ int cg_get_path(const char *controller, const char *path, const char *suffix, ch int cg_get_path_and_check(const char *controller, const char *path, const char *suffix, char **fs); int cg_pid_get_path(const char *controller, pid_t pid, char **path); +int cg_pid_get_path_internal(const char *controller, FILE *f, char **path); int cg_trim(const char *controller, const char *path, bool delete_root); |