[LTP] [PATCH] syscalls/setrlimit: add setrlimit04

Jan Stancek jstancek@redhat.com
Mon Jul 17 08:50:29 CEST 2017



----- Original Message -----
> On Fri, Jul 14, 2017 at 7:12 PM, Jan Stancek <jstancek@redhat.com> wrote:
> > Early patches for stack guard gap caused that gap size was contributing
> > towards stack limit. This caused failures for new processes (E2BIG) when
> > ulimit was set to anything lower than size of gap.
...
> > +static struct tst_test test = {
> > +       .test_all     = test_setrlimit,
> > +       .forks_child  = 1,
> > +       .needs_root = 1,
> 
> seems we need to filter out the suitable kernel:
> 
> .min_kver = "4.12.0",

Why, shouldn't this work on any kernel version?


More information about the ltp mailing list