]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
UBUNTU: SAUCE: apparmor: rename audit_data->label to audit_data->subj_label
authorJohn Johansen <john.johansen@canonical.com>
Mon, 19 Sep 2022 07:46:09 +0000 (00:46 -0700)
committerAndrea Righi <andrea.righi@canonical.com>
Thu, 23 Mar 2023 19:41:25 +0000 (20:41 +0100)
commitcf01c39a6909ddc900bd34c0513bc4e55058a70d
tree87ec135094e778ac329fbb81bf2c84f4ce6c1f01
parent8227d6385bfc2d3a325302a56a3f5cc72ef120a2
UBUNTU: SAUCE: apparmor: rename audit_data->label to audit_data->subj_label

BugLink: https://bugs.launchpad.net/bugs/2012136
rename audit_data's label field to subj_label to better reflect its
use. Also at the same time drop unneeded assignments to ->subj_label
as the later call to aa_check_perms will do the assignment if needed.

Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
security/apparmor/audit.c
security/apparmor/file.c
security/apparmor/include/audit.h
security/apparmor/ipc.c
security/apparmor/lib.c
security/apparmor/lsm.c
security/apparmor/net.c
security/apparmor/policy.c
security/apparmor/resource.c
security/apparmor/task.c