summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorBamvor Jian Zhang <bamvor.zhangjian@linaro.org>2015-11-13 03:17:51 (GMT)
committerShuah Khan <shuahkh@osg.samsung.com>2015-11-18 23:56:53 (GMT)
commit2ce47b44b25d8fb0114ff117813742adbefec8ff (patch)
tree3d887ac8d930f10cd14524d736846222edcdc30b /block
parent9e5b8a6e53c79e6ccdbe6e62142ed9f317cefd46 (diff)
downloadlinux-2ce47b44b25d8fb0114ff117813742adbefec8ff.tar.xz
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 'block')
0 files changed, 0 insertions, 0 deletions