On Tue, Jul 07, 2015 at 01:03:40PM -0400, Eric B Munson wrote: > diff --git a/arch/arm/kernel/calls.S b/arch/arm/kernel/calls.S > index 05745eb..514e77b 100644 > --- a/arch/arm/kernel/calls.S > +++ b/arch/arm/kernel/calls.S > @@ -397,6 +397,9 @@ > /* 385 */ CALL(sys_memfd_create) > CALL(sys_bpf) > CALL(sys_execveat) > + CALL(sys_mlock2) > + CALL(sys_munlock2) > +/* 400 */ CALL(sys_munlockall2) s/400/390/ > diff --git a/arch/arm64/include/asm/unistd32.h b/arch/arm64/include/asm/unistd32.h > index cef934a..318072aa 100644 > --- a/arch/arm64/include/asm/unistd32.h > +++ b/arch/arm64/include/asm/unistd32.h > @@ -797,3 +797,9 @@ __SYSCALL(__NR_memfd_create, sys_memfd_create) > __SYSCALL(__NR_bpf, sys_bpf) > #define __NR_execveat 387 > __SYSCALL(__NR_execveat, compat_sys_execveat) > +#define __NR_mlock2 388 > +__SYSCALL(__NR_mlock2, sys_mlock2) > +#define __NR_munlock2 389 > +__SYSCALL(__NR_munlock2, sys_munlock2) > +#define __NR_munlockall2 390 > +__SYSCALL(__NR_munlockall2, sys_munlockall2) These look fine. Catalin