Searched refs:sun_path (Results 1 - 13 of 13) sorted by relevance

/linux-4.1.27/include/uapi/linux/
H A Dun.h10 char sun_path[UNIX_PATH_MAX]; /* pathname */ member in struct:sockaddr_un
/linux-4.1.27/arch/um/os-Linux/
H A Dfile.c214 snprintf(sock.sun_path, sizeof(sock.sun_path), "%s", name); os_connect_socket()
537 snprintf(addr.sun_path, len, "%s", file); os_create_unix_socket()
/linux-4.1.27/net/unix/
H A Daf_unix.c221 if (sunaddr->sun_path[0]) { unix_mkname()
225 * sun_path[108] doesn't as such exist. However in kernel space unix_mkname()
230 len = strlen(sunaddr->sun_path)+1+sizeof(short); unix_mkname()
849 addr->len = sprintf(addr->name->sun_path+1, "%05x", ordernum) + 1 + sizeof(short); unix_autobind()
891 if (sunname->sun_path[0]) { unix_find_other()
893 err = kern_path(sunname->sun_path, LOOKUP_FOLLOW, &path); unix_find_other()
938 static int unix_mknod(const char *sun_path, umode_t mode, struct path *res) unix_mknod() argument
947 dentry = kern_path_create(AT_FDCWD, sun_path, &path, 0); unix_mknod()
973 char *sun_path = sunaddr->sun_path; unix_bind() local
1011 if (sun_path[0]) { unix_bind()
1015 err = unix_mknod(sun_path, mode, &path); unix_bind()
1445 sunaddr->sun_path[0] = 0; unix_getname()
2539 seq_putc(seq, u->addr->name->sun_path[i]); unix_seq_show()
H A Ddiag.c19 addr->name->sun_path); sk_diag_dump_name()
/linux-4.1.27/arch/um/drivers/
H A Ddaemon_user.c43 memcpy(sun->sun_path, name, len); new_addr()
H A Dmconsole_user.c200 strcpy(target.sun_path, sock_name); mconsole_notify()
/linux-4.1.27/net/sunrpc/auth_gss/
H A Dgss_rpc_upcall.c96 .sun_path = GSSPROXY_SOCK_PATHNAME, gssp_rpc_create()
/linux-4.1.27/security/
H A Dlsm_audit.c333 p = &u->addr->name->sun_path[0]; dump_common_audit_data()
/linux-4.1.27/security/tomoyo/
H A Dnetwork.c598 u->addr = ((struct sockaddr_un *) addr)->sun_path; tomoyo_check_unix_address()
/linux-4.1.27/net/sunrpc/
H A Dxprtsock.c255 strlcpy(buf, sun->sun_path, sizeof(buf)); xs_format_common_peer_addresses()
2633 if (sun->sun_path[0] != '/') { xs_setup_local()
2635 sun->sun_path); xs_setup_local()
H A Drpcb_clnt.c232 .sun_path = RPCBIND_SOCK_PATHNAME, rpcb_create_local_unix()
H A Dclnt.c523 sun->sun_path); rpc_create()
/linux-4.1.27/net/9p/
H A Dtrans_fd.c991 strcpy(sun_server.sun_path, addr); p9_fd_create_unix()

Completed in 173 milliseconds