linux/tools/testing/selftests
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
..
breakpoints
capabilities
cpu-hotplug
efivarfs
exec
firmware
ftrace
futex
ipc
kcmp
lib
membarrier
memfd
memory-hotplug
mount
mqueue
net
powerpc
pstore
ptrace
rcutorture
seccomp selftests/seccomp: Get page size from sysconf 2015-11-18 16:56:53 -07:00
size
static_keys
sysctl
timers
user
vm
x86
zram
Makefile
gen_kselftest_tar.sh
kselftest.h
kselftest_install.sh
lib.mk