[PATCH v2 3/7] pipe: actually allow root to exceed the pipe buffer limits

2018-01-10 Thread Eric Biggers
From: Eric Biggers pipe-user-pages-hard and pipe-user-pages-soft are only supposed to apply to unprivileged users, as documented in both Documentation/sysctl/fs.txt and the pipe(7) man page. However, the capabilities are actually only checked when increasing a pipe's size

[PATCH v2 3/7] pipe: actually allow root to exceed the pipe buffer limits

2018-01-10 Thread Eric Biggers
From: Eric Biggers pipe-user-pages-hard and pipe-user-pages-soft are only supposed to apply to unprivileged users, as documented in both Documentation/sysctl/fs.txt and the pipe(7) man page. However, the capabilities are actually only checked when increasing a pipe's size using F_SETPIPE_SZ,