-
Kees Cook authored
commit d78ab02c upstream. 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> Signed-off-by:
Ben Hutchings <ben@decadent.org.uk>
14d4b3d5