]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ipc/mqueue: enforce hard limits
authorDoug Ledford <dledford@redhat.com>
Fri, 16 Dec 2011 04:49:35 +0000 (15:49 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Dec 2011 06:00:17 +0000 (17:00 +1100)
commit17899a14c9110b95d5a4e0d4ec79cf0ce834b871
treed46bce9bcd5244257eb29b0404fafb1d57c735b5
parent8686552a6dc4aaa0a3bd2fa6898aa05cd749f04c
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