Searched refs:sun_path (Results 26 – 34 of 34) sorted by relevance
12
/linux/net/sunrpc/auth_gss/ |
H A D | gss_rpc_upcall.c | 83 .sun_path = GSSPROXY_SOCK_PATHNAME, in gssp_rpc_create()
|
/linux/tools/testing/selftests/landlock/ |
H A D | fs_test.c | 4118 strncpy(srv_un.sun_path, path, sizeof(srv_un.sun_path)); in TEST_F_FORK() 4124 size = offsetof(struct sockaddr_un, sun_path) + strlen(srv_un.sun_path); in TEST_F_FORK() 4139 size = offsetof(struct sockaddr_un, sun_path) + strlen(cli_un.sun_path); in TEST_F_FORK() 4144 strncpy(cli_un.sun_path, path, sizeof(cli_un.sun_path)); in TEST_F_FORK() 4145 size = offsetof(struct sockaddr_un, sun_path) + strlen(cli_un.sun_path); in TEST_F_FORK()
|
H A D | net_test.c | 96 sprintf(srv->unix_addr.sun_path, in set_service() 100 srv->unix_addr.sun_path[0] = '\0'; in set_service() 163 sizeof(srv->unix_addr.sun_path); in get_addrlen()
|
/linux/net/sunrpc/ |
H A D | xprtsock.c | 265 if (sun->sun_path[0]) { in xs_format_common_peer_addresses() 266 strscpy(buf, sun->sun_path, sizeof(buf)); in xs_format_common_peer_addresses() 269 strscpy(buf+1, sun->sun_path+1, sizeof(buf)-1); in xs_format_common_peer_addresses() 3229 if (sun->sun_path[0] != '/' && sun->sun_path[0] != '\0') { in xs_setup_local() 3231 sun->sun_path); in xs_setup_local()
|
H A D | clnt.c | 581 if (sun->sun_path[0]) in rpc_create() 583 sun->sun_path); in rpc_create() 586 sun->sun_path+1); in rpc_create()
|
/linux/security/ |
H A D | lsm_audit.c | 353 p = &addr->name->sun_path[0]; in dump_common_audit_data()
|
/linux/security/tomoyo/ |
H A D | network.c | 603 u->addr = ((struct sockaddr_un *) addr)->sun_path; in tomoyo_check_unix_address()
|
/linux/net/9p/ |
H A D | trans_fd.c | 1064 strcpy(sun_server.sun_path, addr); in p9_fd_create_unix()
|
/linux/net/core/ |
H A D | filter.c | 11883 const u8 *sun_path, u32 sun_path__sz) in bpf_sock_addr_set_sun_path() argument 11897 memcpy(un->sun_path, sun_path, sun_path__sz); in bpf_sock_addr_set_sun_path() 11898 sa_kern->uaddrlen = offsetof(struct sockaddr_un, sun_path) + sun_path__sz; in bpf_sock_addr_set_sun_path()
|
12