]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/cgroup-util.h
cgroup-util: merge cg_set_tasks_access() and cg-set_group_access() into one
authorLennart Poettering <lennart@poettering.net>
Fri, 24 Nov 2017 17:30:23 +0000 (18:30 +0100)
committerLennart Poettering <lennart@poettering.net>
Sat, 25 Nov 2017 16:08:21 +0000 (17:08 +0100)
commit62b9bb2661cf640a541e8a817f73ed57c3f1d37f
tree3a711588f233c7e08c87eec94a2e5f5bdffc8496
parentdeb3b156acd561d80d0f612e259cea4952d11e2b
cgroup-util: merge cg_set_tasks_access() and cg-set_group_access() into one

We never use these functions seperately, hence don't bother splitting
them into to.

Also, simplify things a bit, and maintain tables for the attribute files
to chown. Let's also update those tables a bit, and include thenew
"cgroup.threads" file in it, that needs to be delegated too, according
to the documentation.
src/basic/cgroup-util.c
src/basic/cgroup-util.h
src/core/execute.c