aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBamvor Jian Zhang <bamvor.zhangjian@linaro.org>2015-11-13 11:17:51 +0800
committerShuah Khan <shuahkh@osg.samsung.com>2015-11-18 16:56:53 -0700
commit2ce47b44b25d8fb0114ff117813742adbefec8ff (patch)
tree3d887ac8d930f10cd14524d736846222edcdc30b /include
parenttools:testing/selftests: fix typo in futex/README (diff)
downloadlinux-dev-2ce47b44b25d8fb0114ff117813742adbefec8ff.tar.xz
linux-dev-2ce47b44b25d8fb0114ff117813742adbefec8ff.zip
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions