diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-01-18 01:13:27 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-01-18 11:14:00 -0500 |
commit | 96cde13ace6406582688028f3df5668a172ba628 (patch) | |
tree | b8e3cdb44626ba863097efa7874e417c2f1c9fee /src/shared/cgroup-util.h | |
parent | 3f98659cce700fea91959312297950f15011b07b (diff) |
core/cgroup-util: simplify functions and add tests
Diffstat (limited to 'src/shared/cgroup-util.h')
-rw-r--r-- | src/shared/cgroup-util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/cgroup-util.h b/src/shared/cgroup-util.h index 2429ba2430..920cf631e5 100644 --- a/src/shared/cgroup-util.h +++ b/src/shared/cgroup-util.h @@ -73,4 +73,6 @@ int cg_pid_get_cgroup(pid_t pid, char **root, char **cgroup); int cg_pid_get_unit(pid_t pid, char **unit); int cg_pid_get_user_unit(pid_t pid, char **unit); +int cgroup_to_unit(char *cgroup, char **unit); + char **cg_shorten_controllers(char **controllers); |