apparmor: relax the restrictions on setting rlimits
authorJohn Johansen <john.johansen@canonical.com>
Tue, 19 Feb 2013 00:07:34 +0000 (16:07 -0800)
committerJohn Johansen <john.johansen@canonical.com>
Sun, 28 Apr 2013 07:36:46 +0000 (00:36 -0700)
commitcf47aede3b9e197d3b4a028e2157bf7736665ac4
treeefd63ec21d10530c898024ea0c386bad54dbec26
parent4b7c331fc2eceaa4da5ded41c0b2eca3fd924444
apparmor: relax the restrictions on setting rlimits

Instead of limiting the setting of the processes limits to current,
relax this to tasks confined by the same profile, as the apparmor
controls for rlimits are at a profile level granularity.

Signed-off-by: John Johansen <john.johansen@canonical.com>
Acked-by: Steve Beattie <sbeattie@ubuntu.com>
security/apparmor/resource.c