]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
UBUNTU: SAUCE: apparmor: Add fine grained mediation of posix mqueues
authorJohn Johansen <john.johansen@canonical.com>
Mon, 13 Dec 2021 23:46:09 +0000 (15:46 -0800)
committerAndrea Righi <andrea.righi@canonical.com>
Thu, 23 Mar 2023 19:41:21 +0000 (20:41 +0100)
commit5fb1e3d49eb63062683cfcef3cf4958080e4a8e6
tree1915deac4f8df2bc35d528ff80dc7b3b483e6100
parente466bbad05adf1c8208dd3bf4d32b101c2331d49
UBUNTU: SAUCE: apparmor: Add fine grained mediation of posix mqueues

BugLink: https://bugs.launchpad.net/bugs/2012136
BugLink: https://bugs.launchpad.net/bugs/1989983
Add fine grained mediation of posix mqueues. Specifically this patch
adds support for differentiating mqueues based on the name in the ipc
namespace. A follow on patch will add support for implied labels, and
a third patch explicit labels. This is done in part because of
dependencies on other patches to apparmor core.

BugLink: https://bugs.launchpad.net/bugs/1989983
Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
security/apparmor/apparmorfs.c
security/apparmor/file.c
security/apparmor/include/audit.h
security/apparmor/include/inode.h [new file with mode: 0644]
security/apparmor/include/ipc.h
security/apparmor/include/perms.h
security/apparmor/ipc.c
security/apparmor/lib.c
security/apparmor/lsm.c