Lines Matching refs:socket_path
184 char *socket_path; member
304 u->socket_path = pa_sprintf_malloc("/tmp/.esd-%lu/socket", (unsigned long) getuid()); in pa__init()
306 u->socket_path = pa_xstrdup("/tmp/.esd/socket"); in pa__init()
312 …if (pa_make_secure_parent_dir(u->socket_path, pa_in_system_mode() ? 0755U : 0700U, (uid_t)-1, (gid… in pa__init()
313 pa_log("Failed to create socket directory '%s': %s\n", u->socket_path, pa_cstrerror(errno)); in pa__init()
318 if (!(u->socket_path = pa_runtime_path(pa_modargs_get_value(ma, "socket", UNIX_SOCKET)))) { in pa__init()
324 if ((r = pa_unix_socket_remove_stale(u->socket_path)) < 0) { in pa__init()
325 pa_log("Failed to remove stale UNIX socket '%s': %s", u->socket_path, pa_cstrerror(errno)); in pa__init()
328 pa_log_info("Removed stale UNIX socket '%s'.", u->socket_path); in pa__init()
330 if (!(u->socket_server_unix = pa_socket_server_new_unix(m->core->mainloop, u->socket_path))) in pa__init()
478 if (u->socket_path) { in pa__done()
479 char *p = pa_parent_dir(u->socket_path); in pa__done()
485 pa_xfree(u->socket_path); in pa__done()