diff options
author | Casey Schaufler <casey@schaufler-ca.com> | 2020-08-12 03:39:43 +0300 |
---|---|---|
committer | Casey Schaufler <cschaufler@localhost.localdomain> | 2020-09-12 01:31:31 +0300 |
commit | 322dd63c7f98315b5794653bc582d109841219ae (patch) | |
tree | 8e27960271441520510c2cde964a4106212a547d /security/smack/smack.h | |
parent | a2af031885071604452f03cd4e0eafdbd8014767 (diff) | |
download | linux-322dd63c7f98315b5794653bc582d109841219ae.tar.xz |
Smack: Use the netlabel cache
Utilize the Netlabel cache mechanism for incoming packet matching.
Refactor the initialization of secattr structures, as it was being
done in two places.
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'security/smack/smack.h')
-rw-r--r-- | security/smack/smack.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/security/smack/smack.h b/security/smack/smack.h index c5d745a3ada8..a9768b12716b 100644 --- a/security/smack/smack.h +++ b/security/smack/smack.h @@ -297,6 +297,7 @@ struct smack_known *smk_find_entry(const char *); bool smack_privileged(int cap); bool smack_privileged_cred(int cap, const struct cred *cred); void smk_destroy_label_list(struct list_head *list); +int smack_populate_secattr(struct smack_known *skp); /* * Shared data. |