commit | 11c92f144bf39f448f65202cccba672097a1100b | [log] [tgz] |
---|---|---|
author | John Johansen <john.johansen@canonical.com> | Wed Apr 11 02:03:26 2018 -0700 |
committer | John Johansen <john.johansen@canonical.com> | Thu Jun 07 01:51:01 2018 -0700 |
tree | 1a436194bef21b5333ca330ff4a6100561d0c710 | |
parent | a4c3f89c9b5a9fab5a8e4ea05399acd6e23072df [diff] |
apparmor: fix mediation of prlimit For primit apparmor requires that if target confinement does not match the setting task's confinement, the setting task requires CAP_SYS_RESOURCE. Unfortunately this was broken when rlimit enforcement was reworked to support labels. Fixes: 86b92cb782b3 ("apparmor: move resource checks to using labels") Signed-off-by: John Johansen <john.johansen@canonical.com>