]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
UBUNTU: SAUCE: apparmor: LSM stacking: switch from SK_CTX() to aa_sock()
authorJohn Johansen <john.johansen@canonical.com>
Tue, 6 Oct 2020 21:29:39 +0000 (14:29 -0700)
committerAndrea Righi <andrea.righi@canonical.com>
Thu, 9 Mar 2023 14:57:23 +0000 (15:57 +0100)
commitdcc36af68f149043375a79a7302c7fb0162099e9
treead648c89db3d6ac33dfcfe068a104044a72ff1c1
parent2bb2e5492641c1a31a55c80a2f88460e413b1cb1
UBUNTU: SAUCE: apparmor: LSM stacking: switch from SK_CTX() to aa_sock()

LSM: Infrastructure management of the sock security

changes apparmor to use aa_sock() instead of SK_CTX() but doesn't
update the apparmor unix mediation because that code is not upstream.
So make the change here instead of modifying the LSM patch.

Signed-off-by: John Johansen <john.johansen@canonical.com>
Acked-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
security/apparmor/af_unix.c
security/apparmor/lsm.c
security/apparmor/net.c