diff options
author | John Johansen <john.johansen@canonical.com> | 2022-09-19 10:46:09 +0300 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2023-10-19 01:30:34 +0300 |
commit | d20f5a1a6e792d22199c9989ec7ab9e95c48d60c (patch) | |
tree | 391acb688c0a3956f455dddc1d3a1a5e2b190daa /security/apparmor/include/audit.h | |
parent | bd7bd201ca46c211c3ab251ca9854787d1331a2f (diff) | |
download | linux-d20f5a1a6e792d22199c9989ec7ab9e95c48d60c.tar.xz |
apparmor: rename audit_data->label to audit_data->subj_label
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.
Reviewed-by: Georgia Garcia <georgia.garcia@canonical.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/include/audit.h')
-rw-r--r-- | security/apparmor/include/audit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/include/audit.h b/security/apparmor/include/audit.h index 85931ec94e91..096f0a04af87 100644 --- a/security/apparmor/include/audit.h +++ b/security/apparmor/include/audit.h @@ -109,7 +109,7 @@ struct apparmor_audit_data { int type; u16 class; const char *op; - struct aa_label *label; + struct aa_label *subj_label; const char *name; const char *info; u32 request; |