[LTP] [PATCH v2 4/4] syscalls/mlock202: Add new testcase

Jan Stancek jstancek@redhat.com
Tue Sep 4 10:10:28 CEST 2018



----- Original Message -----
> 
> 
> ----- Original Message -----
> > Check various errnos for mlock2(2) since kernel v2.6.9.
> > 
> > Note:
> > 1) We use tst_syscall() to check if mlock2() is supported.
> > 2) since kernel v2.6.9, the limits and permissions of mlock2()
> >    changed, so we just check mlock2() since the version.
> > 
> > Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
> 
> Ack

Series pushed with few tweaks to 3/4:
- couple variables renamed
- added comments
- vec allocated statically, dropped cleanup()

Thanks,
Jan


More information about the ltp mailing list