cgroup-util: drop is_cgroup_fs()

No need to bother with any cgroup v1 stuff anymore.
This commit is contained in:
Mike Yuan
2025-03-16 18:02:08 +01:00
parent 399791eaf0
commit b66fd12135
4 changed files with 2 additions and 41 deletions
-3
View File
@@ -329,9 +329,6 @@ static inline int cg_unified(void) {
const char* cgroup_controller_to_string(CGroupController c) _const_;
CGroupController cgroup_controller_from_string(const char *s) _pure_;
bool is_cgroup_fs(const struct statfs *s);
bool fd_is_cgroup_fs(int fd);
typedef enum ManagedOOMMode {
MANAGED_OOM_AUTO,
MANAGED_OOM_KILL,