Searched refs:socket_path (Results 1 – 2 of 2) sorted by relevance
44 const char *socket_path; in xen_sd_notify() local56 socket_path = getenv("NOTIFY_SOCKET"); in xen_sd_notify()57 if (!socket_path) in xen_sd_notify()61 if (socket_path[0] != '/' && socket_path[0] != '@') in xen_sd_notify()64 path_length = strlen(socket_path); in xen_sd_notify()69 memcpy(socket_addr.sun.sun_path, socket_path, path_length); in xen_sd_notify()
398 const char *socket_path; in main() local434 socket_path = argv[optind+2]; in main()443 if (strcmp(socket_path, "-") == 0) { in main()447 socket_fd = listen_socket(socket_path); in main()478 if (strcmp(socket_path, "-") == 0) { in main()482 state.input_fd = state.output_fd = connect_socket(socket_path); in main()492 if (socket_path[0] != '/') in main()496 if (strcmp(socket_path, "-") != 0) in main()515 if (strcmp(socket_path, "-") == 0) in main()
Completed in 18 milliseconds