[GIT PULL] Smack patches for v6.4

From: Casey Schaufler
Date: Mon Apr 24 2023 - 14:01:52 EST


Hello Linus,

Here is the Smack pull request for v6.4.

There are two changes. One is the removal of an unnecessary cast.
The other is more substantial. 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. These changes
have been in the next branch and pass all tests. Thank you.

The following changes since commit fe15c26ee26efa11741a7b632e9f23b01aca4cc6:

Linux 6.3-rc1 (2023-03-05 14:52:03 -0800)

are available in the Git repository at:

https://github.com/cschaufler/smack-next tags/Smack-for-6.4

for you to fetch changes up to de93e515db306767549bb29a926f523ca2a601ab:

Smack: Improve mount process memory use (2023-04-05 08:46:14 -0700)

----------------------------------------------------------------
Smack updates for v6.4

----------------------------------------------------------------
Casey Schaufler (1):
Smack: Improve mount process memory use

XU pengfei (1):
smack_lsm: remove unnecessary type casting

security/smack/smack_lsm.c | 64 +++++++++++++++++-----------------------------
1 file changed, 24 insertions(+), 40 deletions(-)