]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ipc/mqueue: enforce hard limits
authorDoug Ledford <dledford@redhat.com>
Wed, 30 Nov 2011 04:07:54 +0000 (15:07 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 30 Nov 2011 04:13:39 +0000 (15:13 +1100)
commit93c158aa9034f46c20c2a76ef13b202eccbaab78
tree13aca2020b05413267eb8e4cc128d71163a705a8
parent800e327f024aee5c2130b2e02ff646a0dbb913c7
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