original_kernel/security/selinux
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
..
include SELinux: Add new labeling type native labels 2013-06-08 16:20:12 -04:00
ss SELinux: Add new labeling type native labels 2013-06-08 16:20:12 -04:00
.gitignore
Kconfig
Makefile
avc.c
exports.c
hooks.c xattr: Constify ->name member of "struct xattr". 2013-07-25 19:30:03 +10:00
netif.c net: pass info struct via netdevice notifier 2013-05-28 13:11:01 -07:00
netlabel.c
netlink.c selinux: replace obsolete NLMSG_* with type safe nlmsg_* 2013-03-28 14:25:49 -04:00
netnode.c
netport.c
nlmsgtab.c
selinuxfs.c
xfrm.c selinux: fix the labeled xfrm/IPsec reference count handling 2013-05-31 17:30:07 -07:00