summaryrefslogtreecommitdiffstats
path: root/security/selinux
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2008-07-21 18:06:36 +0800
committerAl Viro <viro@zeniv.linux.org.uk>2008-07-26 20:53:24 -0400
commit88b387824fdaecb6ba0f471acf0aadf7d24739fd (patch)
treebd0e169bc0d2a802cd4ea58baf957bfa4602e956 /security/selinux
parent672b16b2f66c149888bd876a4f92342112205fe1 (diff)
downloadlinux-88b387824fdaecb6ba0f471acf0aadf7d24739fd.tar.gz
linux-88b387824fdaecb6ba0f471acf0aadf7d24739fd.tar.bz2
linux-88b387824fdaecb6ba0f471acf0aadf7d24739fd.zip
[PATCH] vfs: use kstrdup() and check failing allocation
- use kstrdup() instead of kmalloc() + memcpy() - return NULL if allocating ->mnt_devname failed - mnt_devname should be const Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Acked-by: Cyrill Gorcunov <gorcunov@gmail.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/selinux')
0 files changed, 0 insertions, 0 deletions