File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ template <typename T> void send_ipc_handle(const T &ipc_handle);
43
43
44
44
// definition
45
45
template <typename T> int receive_ipc_handle (char *data) {
46
- const char *socket_path = " ipc_socket " ;
46
+ const char *socket_path = " /tmp/lzt_ipc_socket " ;
47
47
48
48
struct sockaddr_un local_addr, remote_addr;
49
49
local_addr.sun_family = AF_UNIX;
@@ -95,7 +95,7 @@ template <typename T> int receive_ipc_handle(char *data) {
95
95
}
96
96
97
97
template <typename T> void send_ipc_handle (const T &ipc_handle) {
98
- const char *socket_path = " ipc_socket " ;
98
+ const char *socket_path = " /tmp/lzt_ipc_socket " ;
99
99
100
100
struct sockaddr_un remote_addr;
101
101
remote_addr.sun_family = AF_UNIX;
Original file line number Diff line number Diff line change 17
17
namespace level_zero_tests {
18
18
19
19
#ifdef __linux__
20
- const char *socket_path = " ipc_socket" ;
21
-
22
20
int read_fd_from_socket (int unix_socket, char *data) {
23
21
// call recvmsg to receive the descriptor on the unix_socket
24
22
int fd = -1 ;
You can’t perform that action at this time.
0 commit comments