Bamvor Jian Zhang 2ce47b44b2 selftests/seccomp: Get page size from sysconf
The commit fd88d16c58c2 ("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
..
2015-11-06 17:50:42 -08:00
2015-09-22 15:09:53 -07:00
2015-11-03 16:54:57 -07:00
2015-11-05 23:38:43 -08:00
2015-03-13 15:21:56 -06:00
2015-11-10 20:46:45 -08:00
2015-09-14 16:40:57 -06:00
2015-05-26 15:58:08 -06:00
2015-11-10 20:46:45 -08:00