Merge tag 'Smack-for-6.4' of https://github.com/cschaufler/smack-next
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 24 Apr 2023 18:37:24 +0000 (11:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 24 Apr 2023 18:37:24 +0000 (11:37 -0700)
Pull smack updates from Casey Schaufler:
 "There are two changes, one small and one more substantial:

   - Remove of an unnecessary cast

   - The mount option processing introduced with the mount rework makes
     copies of mount option values. There is no good reason to make
     copies of Smack labels, as they are maintained on a list and never
     removed.

     The code now uses pointers to entries on the list, reducing
     processing time and memory use"

* tag 'Smack-for-6.4' of https://github.com/cschaufler/smack-next:
  Smack: Improve mount process memory use
  smack_lsm: remove unnecessary type casting

1  2 
security/smack/smack_lsm.c

Simple merge