commit | 2a30a4386e4a7e1283157c4cf4cfcc0306b22ac8 | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Wed May 21 15:02:11 2014 -0700 |
committer | JP Abgrall <jpa@google.com> | Tue Oct 07 16:42:30 2014 -0700 |
tree | b674963675939d04ac1477d5901a3c1608a2a352 | |
parent | 987a0f1102321853565c4bfecde6a5a58ac6db11 [diff] |
seccomp: create internal mode-setting function In preparation for having other callers of the seccomp mode setting logic, split the prctl entry point away from the core logic that performs seccomp mode setting. Signed-off-by: Kees Cook <keescook@chromium.org> Reviewed-by: Oleg Nesterov <oleg@redhat.com> Reviewed-by: Andy Lutomirski <luto@amacapital.net>