[GIT PULL] Smack patches for v5.8
From: Casey Schaufler
Date: Tue Jun 02 2020 - 16:38:14 EST
Please pull these changes for the Smack LSM. There is a fix for a potential
buffer overflow in smackfs, a fix for an unused variable warning when IPv6
is not configured, removal of a pointless lock in the d_instantiate hook and
some dead code cleanup. All tests pass, and all changes have been in next for
a while.
The following changes since commit 7111951b8d4973bda27ff663f2cf18b663d15b48:
Linux 5.6 (2020-03-29 15:25:41 -0700)
are available in the Git repository at:
https://github.com/cschaufler/smack-next tags/Smack-for-5.8
for you to fetch changes up to ef26650a201fbbb4ba90b63a82bf7950f2699a82:
Smack: Remove unused inline function smk_ad_setfield_u_fs_path_mnt (2020-05-11 10:25:37 -0700)
----------------------------------------------------------------
Arnd Bergmann (1):
smack: avoid unused 'sip' variable warning
Casey Schaufler (3):
Smack: slab-out-of-bounds in vsscanf
Smack:- Remove mutex lock "smk_lock" from inode_smack
Smack:- Remove redundant inode_smack cache
Maninder Singh (1):
smack: remove redundant structure variable from header.
YueHaibing (1):
Smack: Remove unused inline function smk_ad_setfield_u_fs_path_mnt
security/smack/smack.h | 12 ------------
security/smack/smack_lsm.c | 42 +++++++++++-------------------------------
security/smack/smackfs.c | 10 ++++++++++
3 files changed, 21 insertions(+), 43 deletions(-)