aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorLi Zefan <[email protected]>2008-07-21 10:06:36 +0000
committerAl Viro <[email protected]>2008-07-27 00:53:24 +0000
commit88b387824fdaecb6ba0f471acf0aadf7d24739fd (patch)
treebd0e169bc0d2a802cd4ea58baf957bfa4602e956 /net/unix/af_unix.c
parent[PATCH] more nameidata removal: exec_permission_lite() doesn't need it (diff)
downloadkernel-88b387824fdaecb6ba0f471acf0aadf7d24739fd.tar.gz
kernel-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 <[email protected]> Acked-by: Cyrill Gorcunov <[email protected]> Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions