commit | 1f41b450416e689b9b7c8bfb750a98604f687a9b | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Wed Jun 25 15:38:02 2014 -0700 |
committer | Kees Cook <keescook@chromium.org> | Fri Jul 18 12:13:36 2014 -0700 |
tree | f3429ad4a8e75c3e1f601af95113e19f88da4560 | |
parent | d78ab02c2c194257a03355fbb79eb721b381d105 [diff] |
seccomp: extract check/assign mode helpers To support splitting mode 1 from mode 2, extract the mode checking and assignment logic into common functions. Signed-off-by: Kees Cook <keescook@chromium.org> Reviewed-by: Oleg Nesterov <oleg@redhat.com> Reviewed-by: Andy Lutomirski <luto@amacapital.net>