Home
last modified time | relevance | path

Searched refs:sun_path (Results 1 – 12 of 12) sorted by relevance

/linux-3.4.99/include/linux/
Dun.h10 char sun_path[UNIX_PATH_MAX]; /* pathname */ member
/linux-3.4.99/arch/um/os-Linux/
Dfile.c214 snprintf(sock.sun_path, sizeof(sock.sun_path), "%s", name); in os_connect_socket()
522 snprintf(addr.sun_path, len, "%s", file); in os_create_unix_socket()
/linux-3.4.99/net/unix/
Daf_unix.c209 if (sunaddr->sun_path[0]) { in unix_mkname()
218 len = strlen(sunaddr->sun_path)+1+sizeof(short); in unix_mkname()
732 addr->len = sprintf(addr->name->sun_path+1, "%05x", ordernum) + 1 + sizeof(short); in unix_autobind()
774 if (sunname->sun_path[0]) { in unix_find_other()
776 err = kern_path(sunname->sun_path, LOOKUP_FOLLOW, &path); in unix_find_other()
828 char *sun_path = sunaddr->sun_path; in unix_bind() local
868 if (sun_path[0]) { in unix_bind()
875 dentry = kern_path_create(AT_FDCWD, sun_path, &path, 0); in unix_bind()
905 if (!sun_path[0]) { in unix_bind()
1333 sunaddr->sun_path[0] = 0; in unix_getname()
[all …]
Ddiag.c21 memcpy(s, addr->name->sun_path, addr->len - sizeof(short)); in sk_diag_dump_name()
/linux-3.4.99/arch/um/drivers/
Ddaemon_user.c43 memcpy(sun->sun_path, name, len); in new_addr()
Dmconsole_user.c200 strcpy(target.sun_path, sock_name); in mconsole_notify()
/linux-3.4.99/security/
Dlsm_audit.c323 p = &u->addr->name->sun_path[0]; in dump_common_audit_data()
/linux-3.4.99/security/tomoyo/
Dnetwork.c598 u->addr = ((struct sockaddr_un *) addr)->sun_path; in tomoyo_check_unix_address()
/linux-3.4.99/net/sunrpc/
Dxprtsock.c305 strlcpy(buf, sun->sun_path, sizeof(buf)); in xs_format_common_peer_addresses()
2613 if (sun->sun_path[0] != '/') { in xs_setup_local()
2615 sun->sun_path); in xs_setup_local()
Drpcb_clnt.c230 .sun_path = RPCBIND_SOCK_PATHNAME, in rpcb_create_local_unix()
Dclnt.c431 sun->sun_path); in rpc_create()
/linux-3.4.99/net/9p/
Dtrans_fd.c958 strcpy(sun_server.sun_path, addr); in p9_fd_create_unix()