aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorBamvor Jian Zhang <[email protected]>2015-11-13 11:17:51 +0800
committerShuah Khan <[email protected]>2015-11-18 16:56:53 -0700
commit2ce47b44b25d8fb0114ff117813742adbefec8ff (patch)
tree3d887ac8d930f10cd14524d736846222edcdc30b /net/lapb/lapb_iface.c
parent9e5b8a6e53c79e6ccdbe6e62142ed9f317cefd46 (diff)
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 <[email protected]> Acked-by: Kees Cook <[email protected]> Tested-by: Michael Ellerman <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions