linux/samples/seccomp
Ricky Zhou d881d25cf5 samples/seccomp: Support programs with >256 instructions
Previously, the program size was incorrectly truncated to 8 bits,
resulting in broken labels in large programs. Also changes the jump
resolution loop to not rely on undefined behavior (making a pointer
point before the filter array).

Signed-off-by: Ricky Zhou <rickyz@chromium.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
2016-11-01 08:58:17 -07:00
..
.gitignore
bpf-direct.c
bpf-fancy.c
bpf-helper.c samples/seccomp: Support programs with >256 instructions 2016-11-01 08:58:17 -07:00
bpf-helper.h
dropper.c samples/seccomp: Enable PR_SET_NO_NEW_PRIVS in dropper 2016-11-01 08:58:10 -07:00
Makefile