pipe: change the privilege required for growing a pipe beyond system max
authorJens Axboe <jaxboe@fusionio.com>
Thu, 3 Jun 2010 10:45:28 +0000 (12:45 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Thu, 3 Jun 2010 10:45:28 +0000 (12:45 +0200)
commit419f8367ea37e5adc5d95479e8fd5554b92b49fe
tree37ed8fbd17e48fa82410a6c1a42ea8e0df2c26ae
parent6a6ca57de92fcae34603551ac944aa74758c30d4
pipe: change the privilege required for growing a pipe beyond system max

Change it to CAP_SYS_RESOURCE, as that more accurately models what
we want to control.

Suggested-by: Michael Kerrisk <mtk.manpages@googlemail.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
fs/pipe.c