diff options
author | Sven Eden <yamakuzure@gmx.net> | 2018-06-01 20:21:35 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-06-04 10:32:20 +0200 |
commit | 405592d4274418e0ef9a89a8da8b8f356cd6202e (patch) | |
tree | adfd15a564bc4219b6b98e2158a8feeee216c60f /src/core/cgroup.h | |
parent | a05f6a92978ad6d37d4f334ab175384290f251a5 (diff) |
Prep v238: Applied some upstream updates to src/core (4/5)
Diffstat (limited to 'src/core/cgroup.h')
-rw-r--r-- | src/core/cgroup.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/cgroup.h b/src/core/cgroup.h index 8bad6e710..79898613b 100644 --- a/src/core/cgroup.h +++ b/src/core/cgroup.h @@ -168,6 +168,7 @@ bool unit_get_needs_bpf(Unit *u); void unit_update_cgroup_members_masks(Unit *u); +const char *unit_get_realized_cgroup_path(Unit *u, CGroupMask mask); char *unit_default_cgroup_path(Unit *u); int unit_set_cgroup_path(Unit *u, const char *path); int unit_pick_cgroup_path(Unit *u); @@ -179,7 +180,7 @@ int unit_watch_cgroup(Unit *u); void unit_add_to_cgroup_empty_queue(Unit *u); -int unit_attach_pids_to_cgroup(Unit *u); +int unit_attach_pids_to_cgroup(Unit *u, Set *pids, const char *suffix_path); #else # include "logind.h" #endif // 0 @@ -227,4 +228,6 @@ void manager_invalidate_startup_units(Manager *m); const char* cgroup_device_policy_to_string(CGroupDevicePolicy i) _const_; CGroupDevicePolicy cgroup_device_policy_from_string(const char *s) _pure_; + +bool unit_cgroup_delegate(Unit *u); #endif // 0 |