From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Stancek Date: Mon, 17 Jul 2017 02:50:29 -0400 (EDT) Subject: [LTP] [PATCH] syscalls/setrlimit: add setrlimit04 In-Reply-To: References: Message-ID: <1008257811.53320687.1500274229249.JavaMail.zimbra@redhat.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it ----- Original Message ----- > On Fri, Jul 14, 2017 at 7:12 PM, Jan Stancek 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?