diff options
author | Doug Ledford <dledford@redhat.com> | 2012-06-01 01:26:29 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-06-01 02:49:30 +0200 |
commit | 02967ea08ede0f8cc7e0526aedffdae65a099b07 (patch) | |
tree | da66e39cf3023f437f43db1f58d510c99b8478fd /security/smack | |
parent | ipc/mqueue: switch back to using non-max values on create (diff) | |
download | linux-02967ea08ede0f8cc7e0526aedffdae65a099b07.tar.xz linux-02967ea08ede0f8cc7e0526aedffdae65a099b07.zip |
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: Serge E. Hallyn <serue@us.ibm.com>
Cc: Amerigo Wang <amwang@redhat.com>
Cc: Joe Korty <joe.korty@ccur.com>
Cc: Jiri Slaby <jslaby@suse.cz>
Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'security/smack')
0 files changed, 0 insertions, 0 deletions