Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Smack: Consolidate uses of secmark into a function
Add a function smack_from_skb() that returns the Smack label identified by a network secmark. Replace the explicit uses of the secmark with this function. Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
- Loading branch information
1 parent
d012a71
commit 36be81293dbe35aca487917c2d76941bf734d2ad
Showing
1 changed file
with
33 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters