]> git.baikalelectronics.ru Git - kernel.git/commit
cgroups: censor kernel pointer in debug files
authorKees Cook <keescook@chromium.org>
Sat, 25 Feb 2017 09:56:48 +0000 (01:56 -0800)
committerTejun Heo <tj@kernel.org>
Mon, 6 Mar 2017 20:16:03 +0000 (15:16 -0500)
commit50f6c5f811752557e8e5fb29ed3ad8c06790ca72
treea9b626dbfbc8ee6ec731b42101855a5ae554a88f
parentf813856e60901649b0948a8f161fda98b80ee403
cgroups: censor kernel pointer in debug files

As found in grsecurity, this avoids exposing a kernel pointer through
the cgroup debug entries.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup/cgroup-v1.c