diff options
author | John Johansen <john.johansen@canonical.com> | 2020-11-12 21:07:25 +0300 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2022-10-04 00:49:02 +0300 |
commit | 754f209b811ac462e00ed0f79b48047c446f5c43 (patch) | |
tree | 8f29dd899c33e8f776c268d430bcb999b16d4198 /security/apparmor/include | |
parent | b5b57993504f91785fa70e002e5e494fb549726e (diff) | |
download | linux-754f209b811ac462e00ed0f79b48047c446f5c43.tar.xz |
apparmor: move fperm computation into policy_unpack
fperm computation is only needed during policy_unpack so move the
code there to isolate it fromt the run time code.
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/include')
-rw-r--r-- | security/apparmor/include/file.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/security/apparmor/include/file.h b/security/apparmor/include/file.h index ab201d625a34..1f9e54aa1adf 100644 --- a/security/apparmor/include/file.h +++ b/security/apparmor/include/file.h @@ -184,7 +184,6 @@ struct aa_file_rules { struct aa_perms *fperms_table; }; -void aa_compute_fperms(struct aa_file_rules *file_rules); struct aa_perms *aa_lookup_fperms(struct aa_file_rules *file_rules, unsigned int state, struct path_cond *cond); unsigned int aa_str_perms(struct aa_file_rules *file_rules, unsigned int start, |