diff options
author | Tyler Hicks <tyhicks@canonical.com> | 2018-05-04 01:08:12 +0000 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2018-05-08 02:01:09 -0400 |
commit | d013db029491b49e1459d5a55ecd9ec1be1447ca (patch) | |
tree | 2e7c741a7545476c4040d88bf37e5545d7f2f465 /Kbuild | |
parent | 23bcc480dac204c7dbdf49d96b2c918ed98223c2 (diff) | |
download | blackbird-obmc-linux-d013db029491b49e1459d5a55ecd9ec1be1447ca.tar.gz blackbird-obmc-linux-d013db029491b49e1459d5a55ecd9ec1be1447ca.zip |
seccomp: Separate read and write code for actions_logged sysctl
Break the read and write paths of the kernel.seccomp.actions_logged
sysctl into separate functions to maintain readability. An upcoming
change will need to audit writes, but not reads, of this sysctl which
would introduce too many conditional code paths on whether or not the
'write' parameter evaluates to true.
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions