On Fri, 2015-11-13 at 14:41 -0800, Kees Cook wrote: > On Thu, Nov 12, 2015 at 7:17 PM, Bamvor Jian Zhang > <bamvor.zhangjian@xxxxxxxxxx> wrote: > > 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@xxxxxxxxxx> > > Acked-by: Kees Cook <keescook@xxxxxxxxxxxx> > > Shuah, can you please pull this for kselftest? It fixes arm64 after > Robert's changes. Also works on powerpc with 64k pages. Tested-by: Michael Ellerman <mpe@xxxxxxxxxxxxxx> cheers -- To unsubscribe from this list: send the line "unsubscribe linux-api" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html