]> git.baikalelectronics.ru Git - kernel.git/commit
cgroup: clarify cgroup_css_set_fork()
authorChristian Brauner <brauner@kernel.org>
Mon, 21 Feb 2022 15:16:39 +0000 (16:16 +0100)
committerTejun Heo <tj@kernel.org>
Tue, 22 Feb 2022 17:35:19 +0000 (07:35 -1000)
commit478d2588329634fe2a60455bf540027560c04551
tree9cb54a584b8b6aad1bda28ae660c779e3b4af5c4
parentb73af54f52ab81610f1f4c1eefd3a80a319e47da
cgroup: clarify cgroup_css_set_fork()

With recent fixes for the permission checking when moving a task into a cgroup
using a file descriptor to a cgroup's cgroup.procs file and calling write() it
seems a good idea to clarify CLONE_INTO_CGROUP permission checking with a
comment.

Cc: Tejun Heo <tj@kernel.org>
Cc: <cgroups@vger.kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup/cgroup.c