Re: [PATCH 1/2] pipe: check limits only when increasing pipe capacity

2016-08-18 Thread Michael Kerrisk (man-pages)
Andrew, thanks for picking up this patch series in -mm. Please drop it. After discussions with Vegard, I have something better now. Cheers, Michael On 08/16/2016 11:10 PM, Michael Kerrisk (man-pages) wrote: > When changing a pipe's capacity with fcntl(F_SETPIPE_SZ), various > limits defined by

Re: [PATCH 1/2] pipe: check limits only when increasing pipe capacity

2016-08-18 Thread Michael Kerrisk (man-pages)
Andrew, thanks for picking up this patch series in -mm. Please drop it. After discussions with Vegard, I have something better now. Cheers, Michael On 08/16/2016 11:10 PM, Michael Kerrisk (man-pages) wrote: > When changing a pipe's capacity with fcntl(F_SETPIPE_SZ), various > limits defined by

Re: [PATCH 1/2] pipe: check limits only when increasing pipe capacity

2016-08-16 Thread Vegard Nossum
On 08/16/2016 01:10 PM, Michael Kerrisk (man-pages) wrote: When changing a pipe's capacity with fcntl(F_SETPIPE_SZ), various limits defined by /proc/sys/fs/pipe-* files are checked to see if unprivileged users are exceeding limits on memory consumption. [...] --- fs/pipe.c | 25

Re: [PATCH 1/2] pipe: check limits only when increasing pipe capacity

2016-08-16 Thread Vegard Nossum
On 08/16/2016 01:10 PM, Michael Kerrisk (man-pages) wrote: When changing a pipe's capacity with fcntl(F_SETPIPE_SZ), various limits defined by /proc/sys/fs/pipe-* files are checked to see if unprivileged users are exceeding limits on memory consumption. [...] --- fs/pipe.c | 25

[PATCH 1/2] pipe: check limits only when increasing pipe capacity

2016-08-16 Thread Michael Kerrisk (man-pages)
When changing a pipe's capacity with fcntl(F_SETPIPE_SZ), various limits defined by /proc/sys/fs/pipe-* files are checked to see if unprivileged users are exceeding limits on memory consumption. While documenting and testing the operation of these limits I noticed that, as currently implemented,

[PATCH 1/2] pipe: check limits only when increasing pipe capacity

2016-08-16 Thread Michael Kerrisk (man-pages)
When changing a pipe's capacity with fcntl(F_SETPIPE_SZ), various limits defined by /proc/sys/fs/pipe-* files are checked to see if unprivileged users are exceeding limits on memory consumption. While documenting and testing the operation of these limits I noticed that, as currently implemented,