diff options
author | Ricky Zhou <rickyz@chromium.org> | 2016-10-13 10:37:28 -0700 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2016-11-01 08:58:17 -0700 |
commit | d881d25cf5bc2fafbbfb383a475278977e1bd55a (patch) | |
tree | 59831f33afc57b1979b4869f93944abb6febc446 /mm | |
parent | 1ff120504f8c322a03fbce035d99e29e741da725 (diff) | |
download | linux-d881d25cf5bc2fafbbfb383a475278977e1bd55a.tar.bz2 |
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>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions