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)
commitb6a6759daf55dade2b65089957832759d502acfb
treea9b626dbfbc8ee6ec731b42101855a5ae554a88f
parent1d18c2747f937f1b5ec65ce6bf4ccb9ca1aea9e8
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