]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ipc/mqueue: enforce hard limits
authorDoug Ledford <dledford@redhat.com>
Thu, 8 Dec 2011 04:33:16 +0000 (15:33 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 14 Dec 2011 05:47:57 +0000 (16:47 +1100)
commit941ada96d516d0dfa7cdd78b2aed3440881ed268
tree644a6944ae9b804bd419e880204ae35ba02a7da9
parentd3985c82750a117628d812998ccd7656033c59b5
ipc/mqueue: enforce hard limits

In two places we don't enforce the hard limits for CAP_SYS_RESOURCE apps.
In preparation for making more reasonable hard limits, start enforcing
them even on CAP_SYS_RESOURCE.

Signed-off-by: Doug Ledford <dledford@redhat.com>
Cc: Amerigo Wang <amwang@redhat.com>
Cc: Serge E. Hallyn <serue@us.ibm.com>
Cc: Joe Korty <joe.korty@ccur.com>
Cc: Manfred Spraul <manfred@colorfullife.com>
Cc: <stable@kernel.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
ipc/mqueue.c