aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/af_unix.h
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2021-11-24 02:14:26 +0000
committerJakub Kicinski <[email protected]>2021-11-27 02:01:56 +0000
commit12f21c49ad83eba93d0485b8c9edcc28201bee93 (patch)
tree29f60e7e51ad5fcbc2caecb0177a9238e91b7586 /include/net/af_unix.h
parentaf_unix: Remove unix_mkname(). (diff)
downloadkernel-12f21c49ad83eba93d0485b8c9edcc28201bee93.tar.gz
kernel-12f21c49ad83eba93d0485b8c9edcc28201bee93.zip
af_unix: Allocate unix_address in unix_bind_(bsd|abstract)().
To terminate address with '\0' in unix_bind_bsd(), we add unix_create_addr() and call it in unix_bind_bsd() and unix_bind_abstract(). Also, unix_bind_abstract() does not return -EEXIST. Only kern_path_create() and vfs_mknod() in unix_bind_bsd() can return it, so we move the last error check in unix_bind() to unix_bind_bsd(). Signed-off-by: Kuniyuki Iwashima <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'include/net/af_unix.h')
0 files changed, 0 insertions, 0 deletions