diff options
author | Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> | 2015-11-13 06:17:51 +0300 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2015-11-19 02:56:53 +0300 |
commit | 2ce47b44b25d8fb0114ff117813742adbefec8ff (patch) | |
tree | 3d887ac8d930f10cd14524d736846222edcdc30b /Documentation/binfmt_misc.txt | |
parent | 9e5b8a6e53c79e6ccdbe6e62142ed9f317cefd46 (diff) | |
download | linux-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 'Documentation/binfmt_misc.txt')
0 files changed, 0 insertions, 0 deletions