linux/security/smack
Tetsuo Handa 9548906b2b xattr: Constify ->name member of "struct xattr".
Since everybody sets kstrdup()ed constant string to "struct xattr"->name but
nobody modifies "struct xattr"->name , we can omit kstrdup() and its failure
checking by constifying ->name member of "struct xattr".

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Reviewed-by: Joel Becker <jlbec@evilplan.org> [ocfs2]
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
Acked-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Reviewed-by: Paul Moore <paul@paul-moore.com>
Tested-by: Paul Moore <paul@paul-moore.com>
Acked-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
2013-07-25 19:30:03 +10:00
..
Kconfig Smack: use select not depends in Kconfig 2012-12-14 10:57:10 -08:00
Makefile
smack_access.c Smack: Fix possible NULL pointer dereference at smk_netlbl_mls() 2013-05-28 10:15:35 -07:00
smack_lsm.c xattr: Constify ->name member of "struct xattr". 2013-07-25 19:30:03 +10:00
smack.h Smack: Add smkfstransmute mount option 2013-05-28 10:08:44 -07:00
smackfs.c Smack: Fix the bug smackcipso can't set CIPSO correctly 2013-06-03 10:56:02 -07:00