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

Jan Stancek
2018-09-04T08:10:28Z

>
>
> ----- 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