WSL2-Linux-Kernel/security/smack
Etienne Basset defc433ba3 Smack: check for SMACK xattr validity in smack_inode_setxattr
the following patch moves checks for SMACK xattr validity
from smack_inode_post_setxattr (which cannot return an error to the user)
to smack_inode_setxattr (which can return an error).

Signed-off-by: Etienne Basset <etienne.basset@numericable.fr>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: James Morris <jmorris@namei.org>
2009-04-18 12:58:25 +10:00
..
Kconfig Smack: Simplified Mandatory Access Control Kernel 2008-02-05 09:44:20 -08:00
Makefile Smack: Simplified Mandatory Access Control Kernel 2008-02-05 09:44:20 -08:00
smack.h smack: Add a new '-CIPSO' option to the network address label configuration 2009-03-28 15:01:37 +11:00
smack_access.c smack: Add a new '-CIPSO' option to the network address label configuration 2009-03-28 15:01:37 +11:00
smack_lsm.c Smack: check for SMACK xattr validity in smack_inode_setxattr 2009-04-18 12:58:25 +10:00
smackfs.c smack: Add a new '-CIPSO' option to the network address label configuration 2009-03-28 15:01:37 +11:00