diff options
author | Omar Polo <op@omarpolo.com> | 2021-01-20 16:22:35 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-01-20 16:22:35 +0000 |
commit | 61f8d630c81fb92d771cf26496b25b5157c776ca (patch) | |
tree | 7b2e589576dae9c79d8894eb18c476052aadfbc4 /sandbox.c | |
parent | f2b3a5193f96ab48bae4463654c67af706a18cdd (diff) |
fmt
Diffstat (limited to 'sandbox.c')
-rw-r--r-- | sandbox.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -176,6 +176,7 @@ sandbox() BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, F_SETFL, 0, 1), BPF_STMT(BPF_RET | BPF_K, SECCOMP_RET_ALLOW), BPF_STMT(BPF_RET | BPF_K, SC_FAIL), + /* re-load the syscall number */ BPF_STMT(BPF_LD | BPF_W | BPF_ABS, (offsetof(struct seccomp_data, nr))), |