summaryrefslogtreecommitdiff
path: root/src/cgroup.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-01-18 15:40:21 +0100
committerLennart Poettering <lennart@poettering.net>2012-01-18 15:40:21 +0100
commit8d53b4534a5923721b5f1e9dd7e8f4a903d02d51 (patch)
tree7b0a03a93fc3aa706676713e8062bdbb6dc4ad2d /src/cgroup.h
parent62f21ec91ad8e7e24079962f4df066b0094fe68d (diff)
exec: introduce ControlGroupPersistant= to make cgroups persistant
Diffstat (limited to 'src/cgroup.h')
-rw-r--r--src/cgroup.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cgroup.h b/src/cgroup.h
index f33d8440e6..db4feb916e 100644
--- a/src/cgroup.h
+++ b/src/cgroup.h
@@ -53,8 +53,8 @@ struct CGroupBonding {
int cgroup_bonding_realize(CGroupBonding *b);
int cgroup_bonding_realize_list(CGroupBonding *first);
-void cgroup_bonding_free(CGroupBonding *b, bool remove_or_trim);
-void cgroup_bonding_free_list(CGroupBonding *first, bool remove_or_trim);
+void cgroup_bonding_free(CGroupBonding *b, bool trim);
+void cgroup_bonding_free_list(CGroupBonding *first, bool trim);
int cgroup_bonding_install(CGroupBonding *b, pid_t pid);
int cgroup_bonding_install_list(CGroupBonding *first, pid_t pid);
@@ -62,8 +62,8 @@ int cgroup_bonding_install_list(CGroupBonding *first, pid_t pid);
int cgroup_bonding_set_group_access(CGroupBonding *b, mode_t mode, uid_t uid, gid_t gid);
int cgroup_bonding_set_group_access_list(CGroupBonding *b, mode_t mode, uid_t uid, gid_t gid);
-int cgroup_bonding_set_task_access(CGroupBonding *b, mode_t mode, uid_t uid, gid_t gid);
-int cgroup_bonding_set_task_access_list(CGroupBonding *b, mode_t mode, uid_t uid, gid_t gid);
+int cgroup_bonding_set_task_access(CGroupBonding *b, mode_t mode, uid_t uid, gid_t gid, int sticky);
+int cgroup_bonding_set_task_access_list(CGroupBonding *b, mode_t mode, uid_t uid, gid_t gid, int sticky);
int cgroup_bonding_kill(CGroupBonding *b, int sig, bool sigcont, Set *s);
int cgroup_bonding_kill_list(CGroupBonding *first, int sig, bool sigcont, Set *s);