Messages in this thread Patch in this message | | | From | Nicolas Schichan <> | Subject | [PATCH] seccomp: allow BPF_XOR based ALU instructions. | Date | Fri, 15 Mar 2013 18:02:00 +0100 |
| |
Signed-off-by: Nicolas Schichan <nschichan@freebox.fr> --- kernel/seccomp.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/kernel/seccomp.c b/kernel/seccomp.c index 5af44b5..b7a1004 100644 --- a/kernel/seccomp.c +++ b/kernel/seccomp.c @@ -160,6 +160,8 @@ static int seccomp_check_filter(struct sock_filter *filter, unsigned int flen) case BPF_S_ALU_AND_X: case BPF_S_ALU_OR_K: case BPF_S_ALU_OR_X: + case BPF_S_ALU_XOR_K: + case BPF_S_ALU_XOR_X: case BPF_S_ALU_LSH_K: case BPF_S_ALU_LSH_X: case BPF_S_ALU_RSH_K: -- 1.7.10.4
| |