diff options
author | Casey Schaufler <casey@schaufler-ca.com> | 2023-04-05 18:46:14 +0300 |
---|---|---|
committer | Casey Schaufler <casey@schaufler-ca.com> | 2023-04-05 18:46:14 +0300 |
commit | de93e515db306767549bb29a926f523ca2a601ab (patch) | |
tree | 1740d612aa0754b21cb142eae1e4cf47ca043111 /security/tomoyo/common.h | |
parent | 502a29b04d857c28aa36f8829a5c673b9b8864a6 (diff) | |
download | linux-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