]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
apparmor: convert delegating deleted files to mediate deleted files
authorJohn Johansen <john.johansen@canonical.com>
Tue, 2 Aug 2016 10:49:35 +0000 (03:49 -0700)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 20 Feb 2017 03:57:58 +0000 (20:57 -0700)
commitfcf0495d908fc9c48484f7475ec8b5253e53fc51
treec6ab06761d0ff8bdf90ec0c728d6e0638931fbc3
parent8871eceea44adbc5ad3248285eab2eeb96543380
apparmor: convert delegating deleted files to mediate deleted files

This is a semantic change that may need to be reverted but we can not
properly do delegation atm and doing blind delegation is a security
hole.

Files that have the necessary labeling can still be delegated however
mediation will be required for deleted files that need to be revalidated.

Note: we code is setup to specify DELEGATE_DELETED but aliases it on
the backend to MEDIATE_DELETED. This will have to be partially reverted/
changed for profile replacement causing a revalidation.

Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
security/apparmor/file.c
security/apparmor/path.c