aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/checkstack.pl
diff options
context:
space:
mode:
authorRicky Zhou <rickyz@chromium.org>2016-10-13 10:37:28 -0700
committerKees Cook <keescook@chromium.org>2016-11-01 08:58:17 -0700
commitd881d25cf5bc2fafbbfb383a475278977e1bd55a (patch)
tree59831f33afc57b1979b4869f93944abb6febc446 /scripts/checkstack.pl
parentsamples/seccomp: Enable PR_SET_NO_NEW_PRIVS in dropper (diff)
downloadwireguard-linux-d881d25cf5bc2fafbbfb383a475278977e1bd55a.tar.xz
wireguard-linux-d881d25cf5bc2fafbbfb383a475278977e1bd55a.zip
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 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions