diff options
author | John Johansen <john.johansen@canonical.com> | 2018-04-11 02:03:26 -0700 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2018-06-07 01:51:01 -0700 |
commit | 11c92f144bf39f448f65202cccba672097a1100b (patch) | |
tree | 1a436194bef21b5333ca330ff4a6100561d0c710 /net/compat.c | |
parent | a4c3f89c9b5a9fab5a8e4ea05399acd6e23072df (diff) | |
download | linux-11c92f144bf39f448f65202cccba672097a1100b.tar.bz2 |
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>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions