• Linus Torvalds's avatar
    Merge tag 'Smack-for-6.4' of https://github.com/cschaufler/smack-next · dc7e22a3
    Linus Torvalds authored
    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
    dc7e22a3
smack_lsm.c 123 KB