cg_read_strstr
cg_read_strstr(mount, "cgroup.controllers", controller))
extern int cg_read_strstr(const char *cgroup, const char *control,
cg_read_strstr(root, "cgroup.controllers", "cpu") ||
if (cg_read_strstr(root, "cgroup.subtree_control", "memory"))
if (cg_read_strstr(child, "cgroup.controllers", "cpu"))
if (cg_read_strstr(root, "cgroup.subtree_control", "cpu"))
if (!cg_read_strstr(child2, "cgroup.controllers", "cpu"))
if (cg_read_strstr(child_src, "cgroup.controllers", "cpuset") ||
cg_read_strstr(child_dst, "cgroup.controllers", "cpuset"))
if (cg_read_strstr(root, "cgroup.subtree_control", "cpuset"))
if (!cg_read_strstr(child, "cgroup.controllers", "cpuset"))
if (cg_read_strstr(child, "cgroup.controllers", "cpuset"))
if (!cg_read_strstr(child, "cgroup.controllers", "cpuset"))
if (cg_read_strstr(cgroup, "cgroup.events", "frozen 1") != 0) {
if (cg_read_strstr(cgroup, "cgroup.events", "frozen 0") != 0) {
if (cg_read_strstr(root, "cgroup.controllers", "memory"))
if (cg_read_strstr(root, "cgroup.subtree_control", "memory"))
if (cg_read_strstr(child, "cgroup.controllers", "memory"))
if (!cg_read_strstr(child2, "cgroup.controllers", "memory"))
if (cg_read_strstr(root, "cgroup.controllers", "memory"))
if (cg_read_strstr(root, "cgroup.subtree_control", "memory"))
if (cg_read_strstr(root, "cgroup.controllers", "pids"))
if (cg_read_strstr(root, "cgroup.subtree_control", "pids"))
if (cg_read_strstr(root, "cgroup.controllers", "memory"))
if (cg_read_strstr(root, "cgroup.subtree_control", "memory"))