* Backport of pipe.c patch to 4.4.y that fixes LTP fcntl35 test error
@ 2018-05-18 1:18 Daniel Sangorrin
2018-05-18 6:43 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Sangorrin @ 2018-05-18 1:18 UTC (permalink / raw)
To: stable; +Cc: mtk.manpages, viro
Oops sorry, I failed to write the subject. It should been something like the subject of this e-mail.
> -----Original Message-----
> From: stable-owner@vger.kernel.org [mailto:stable-owner@vger.kernel.org] On
> Behalf Of Daniel Sangorrin
> Sent: Friday, May 18, 2018 9:59 AM
> To: stable@vger.kernel.org
> Cc: mtk.manpages@gmail.com; viro@zeniv.linux.org.uk
> Subject:
>
> Hello Greg,
>
> After running LTP with Fuego on the LTS kernel 4.4.y, there were
> a few test cases failing that I thought needed some investigation.
>
> I reviewed the first one (fcntl35 and fcntl35_64) so far. According to the
> comments on LTP's fcntl35.c file (by Xiao Yang <yangx.jy@cn.fujitsu.com>)
> the bug tested by this test case was fixed by:
> pipe: cap initial pipe capacity according to pipe-max-size
> commit 086e774a57fba4695f14383c0818994c0b31da7c
> Author: Michael Kerrisk (man-pages) <mtk.manpages@gmail.com>
> Date: Tue Oct 11 13:53:43 2016 -0700
>
> I backported that patch (see next e-mail), tested again and confirmed that
> the patch fixed the bug (or at least the error message in LTP's test).
>
> Before:
> fcntl35.c:98: FAIL: an unprivileged user init the capacity of a pipe to 65536
> unexpectedly, expected 4096
> After:
> fcntl35.c:101: PASS: an unprivileged user init the capacity of a pipe to 4096
> successfully
>
> Thanks,
> Daniel Sangorrin
>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Backport of pipe.c patch to 4.4.y that fixes LTP fcntl35 test error
2018-05-18 1:18 Backport of pipe.c patch to 4.4.y that fixes LTP fcntl35 test error Daniel Sangorrin
@ 2018-05-18 6:43 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2018-05-18 6:43 UTC (permalink / raw)
To: Daniel Sangorrin; +Cc: stable, mtk.manpages, viro
On Fri, May 18, 2018 at 10:18:42AM +0900, Daniel Sangorrin wrote:
> Oops sorry, I failed to write the subject. It should been something like the subject of this e-mail.
>
> > -----Original Message-----
> > From: stable-owner@vger.kernel.org [mailto:stable-owner@vger.kernel.org] On
> > Behalf Of Daniel Sangorrin
> > Sent: Friday, May 18, 2018 9:59 AM
> > To: stable@vger.kernel.org
> > Cc: mtk.manpages@gmail.com; viro@zeniv.linux.org.uk
> > Subject:
> >
> > Hello Greg,
> >
> > After running LTP with Fuego on the LTS kernel 4.4.y, there were
> > a few test cases failing that I thought needed some investigation.
> >
> > I reviewed the first one (fcntl35 and fcntl35_64) so far. According to the
> > comments on LTP's fcntl35.c file (by Xiao Yang <yangx.jy@cn.fujitsu.com>)
> > the bug tested by this test case was fixed by:
> > pipe: cap initial pipe capacity according to pipe-max-size
> > commit 086e774a57fba4695f14383c0818994c0b31da7c
> > Author: Michael Kerrisk (man-pages) <mtk.manpages@gmail.com>
> > Date: Tue Oct 11 13:53:43 2016 -0700
> >
> > I backported that patch (see next e-mail), tested again and confirmed that
> > the patch fixed the bug (or at least the error message in LTP's test).
> >
> > Before:
> > fcntl35.c:98: FAIL: an unprivileged user init the capacity of a pipe to 65536
> > unexpectedly, expected 4096
> > After:
> > fcntl35.c:101: PASS: an unprivileged user init the capacity of a pipe to 4096
> > successfully
Looks great, thanks, I've queued this up now.
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-05-18 6:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-18 1:18 Backport of pipe.c patch to 4.4.y that fixes LTP fcntl35 test error Daniel Sangorrin
2018-05-18 6:43 ` Greg KH
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.