From: Kees Cook Date: Wed, 25 Jun 2014 22:38:02 +0000 (-0700) Subject: seccomp: extract check/assign mode helpers X-Git-Tag: cleanup-for-v3.18~110^2~14^2~9 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f41b450416e689b9b7c8bfb750a98604f687a9b;p=pandora-kernel.git 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 Reviewed-by: Oleg Nesterov Reviewed-by: Andy Lutomirski --- Reading git-diff-tree failed