aboutsummaryrefslogtreecommitdiff
path: root/scripts/dtc/Makefile
diff options
context:
space:
mode:
authorJohn Johansen2011-06-25 16:57:07 +0100
committerJohn Johansen2011-06-29 02:04:44 +0100
commit25e75dff519bcce2cb35023105e7df51d7b9e691 (patch)
tree14cb61f6510af1440782fc5f3a81e37aad0c4be5 /scripts/dtc/Makefile
parent04fdc099f9c80c7775dbac388fc97e156d4d47e7 (diff)
AppArmor: Fix masking of capabilities in complain mode
AppArmor is masking the capabilities returned by capget against the capabilities mask in the profile. This is wrong, in complain mode the profile has effectively all capabilities, as the profile restrictions are not being enforced, merely tested against to determine if an access is known by the profile. This can result in the wrong behavior of security conscience applications like sshd which examine their capability set, and change their behavior accordingly. In this case because of the masked capability set being returned sshd fails due to DAC checks, even when the profile is in complain mode. Kernels affected: 2.6.36 - 3.0. Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'scripts/dtc/Makefile')
0 files changed, 0 insertions, 0 deletions