X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcgroup.h;h=67c7cc35019497c634bbc120fbe45dbf86bec142;hb=f5a3628cc7aa132bb0ee6be48f3cedc2d8838046;hp=d27c063c12fea7d11151be4c5f29adbda507217c;hpb=e99e38bbdcca3fe5956823bdb3d38544ccf93221;p=elogind.git diff --git a/src/cgroup.h b/src/cgroup.h index d27c063c1..67c7cc350 100644 --- a/src/cgroup.h +++ b/src/cgroup.h @@ -48,9 +48,6 @@ struct CGroupBonding { /* When our tasks are the only ones in this group */ bool only_us:1; - - /* Inherit parameters from parent group */ - bool inherit:1; }; int cgroup_bonding_realize(CGroupBonding *b); @@ -79,4 +76,6 @@ int manager_shutdown_cgroup(Manager *m, bool delete); int cgroup_notify_empty(Manager *m, const char *group); +Unit* cgroup_unit_by_pid(Manager *m, pid_t pid); + #endif