]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit65aa33d1a99dbcceb36eb4d335541dcbf98dc51f
tree37ed8fbd17e48fa82410a6c1a42ea8e0df2c26ae
parent20997ac71ee3ebcd72d38ad9202c3d49bec37296
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