lkml.org 
[lkml]   [2017]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH] fs/pipe.c: implement minimum pipe size for arg==0
On Thu, Nov 09, 2017 at 02:09:03PM -0800, Randy Dunlap wrote:
> > Searching through lkml, it looks like there have been four attempts to
> > fix this issue in the last year or so, but none of them have been
> > merged. It would be nice to finally get a fix in.
> >
> > I agree with the patch, though I would argue that the fix belongs in
> > round_pipe_size() so that other callers don't get the same bug.
>
> Hi Josh,
>
> Yes, I debated with myself on where to put the patch. I made it more local
> instead of global just to have less accidental impact.
>
>
> Andrew has these 4 patches from Joe Lawrence in mmotm:
>
> pipe-add-proc_dopipe_max_size-to-safely-assign-pipe_max_size.patch
> pipe-avoid-round_pipe_size-nr_pages-overflow-on-32-bit.patch
> pipe-match-pipe_max_size-data-type-with-procfs.patch
> sysctl-check-for-uint_max-before-unsigned-int-min-max.patch
>
>
> Hopefully they can be merged soon.
> I blame people who travel a lot. ;)

Ah, I missed Joe's patches (and neglected to check linux-next). Thanks!

--
Josh

\
 
 \ /
  Last update: 2017-11-09 23:22    [W:0.372 / U:0.760 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site