summaryrefslogtreecommitdiff
path: root/security/tomoyo/common.h
diff options
context:
space:
mode:
authorCasey Schaufler <casey@schaufler-ca.com>2023-04-05 18:46:14 +0300
committerCasey Schaufler <casey@schaufler-ca.com>2023-04-05 18:46:14 +0300
commitde93e515db306767549bb29a926f523ca2a601ab (patch)
tree1740d612aa0754b21cb142eae1e4cf47ca043111 /security/tomoyo/common.h
parent502a29b04d857c28aa36f8829a5c673b9b8864a6 (diff)
downloadlinux-de93e515db306767549bb29a926f523ca2a601ab.tar.xz
Smack: Improve mount process memory use
The existing mount processing code in Smack makes many unnecessary copies of Smack labels. Because Smack labels never go away once imported it is safe to use pointers to them rather than copies. Replace the use of copies of label names to pointers to the global label list entries. Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'security/tomoyo/common.h')
0 files changed, 0 insertions, 0 deletions