1
0
Fork 0
alistair23-linux/tools/testing
Bamvor Jian Zhang 2ce47b44b2 selftests/seccomp: Get page size from sysconf
The commit fd88d16c58 ("selftests/seccomp: Be more precise with
syscall arguments.") use PAGE_SIZE directly which lead to build
failure on arm64.

Replace it with generic interface(sysconf(_SC_PAGESIZE)) to fix this
failure.

Build and test successful on x86_64 and arm64.

Signed-off-by: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org>
Acked-by: Kees Cook <keescook@chromium.org>
Tested-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
2015-11-18 16:56:53 -07:00
..
fault-injection fault-injection: fix failcmd.sh warning 2012-07-31 18:42:38 -07:00
ktest ktest: Place quotes around item variable 2015-02-03 15:45:13 -05:00
nvdimm tools/testing/nvdimm, acpica: fix flag rename build breakage 2015-11-12 09:21:18 -08:00
selftests selftests/seccomp: Get page size from sysconf 2015-11-18 16:56:53 -07:00