]> git.baikalelectronics.ru Git - kernel.git/commit
Yama: do not modify global sysctl table entry
authorKees Cook <keescook@chromium.org>
Wed, 27 Feb 2013 16:37:56 +0000 (08:37 -0800)
committerKees Cook <keescook@chromium.org>
Sat, 28 Feb 2015 00:53:09 +0000 (16:53 -0800)
commitd9641183374b898a69adc850f6421243ad787f9b
tree5cd16b1a1cdd12c89da6e72995f05b2ce68e1fcb
parent495a5501d119411bdec89759e8aaa1c59367005e
Yama: do not modify global sysctl table entry

When the sysctl table is constified, we won't be able to directly modify
it. Instead, use a table copy that carries any needed changes.

Suggested-by: PaX Team <pageexec@freemail.hu>
Signed-off-by: Kees Cook <keescook@chromium.org>
security/yama/yama_lsm.c