Searched refs:socket_path (Results 1 – 6 of 6) sorted by relevance
/external/e2fsprogs/misc/ |
D | uuidd.c | 143 static int call_daemon(const char *socket_path, int op, char *buf, in call_daemon() argument 167 strncpy(srv_addr.sun_path, socket_path, sizeof(srv_addr.sun_path)); in call_daemon() 230 static void server_loop(const char *socket_path, const char *pidfile_path, in server_loop() argument 268 ret = call_daemon(socket_path, 0, reply_buf, sizeof(reply_buf), 0, 0); in server_loop() 300 strncpy(my_addr.sun_path, socket_path, sizeof(my_addr.sun_path)); in server_loop() 302 (void) unlink(socket_path); in server_loop() 309 socket_path, strerror(errno)); in server_loop() 317 "socket %s: %s\n"), socket_path, in server_loop() 322 cleanup_socket = socket_path; in server_loop() 445 const char *socket_path = UUIDD_SOCKET_PATH; in main() local [all …]
|
/external/openssh/ |
D | entropy.c | 78 unsigned short tcp_port, char *socket_path) in get_random_bytes_prngd() argument 88 if (socket_path == NULL && tcp_port == 0) in get_random_bytes_prngd() 90 if (socket_path != NULL && in get_random_bytes_prngd() 91 strlen(socket_path) >= sizeof(addr_un->sun_path)) in get_random_bytes_prngd() 105 strlcpy(addr_un->sun_path, socket_path, in get_random_bytes_prngd() 108 strlen(socket_path) + 1; in get_random_bytes_prngd()
|
/external/autotest/client/cros/crash/crasher/ |
D | crasher.cc | 26 bool SendPid(const char *socket_path); 48 bool SendPid(const char *socket_path) { in SendPid() argument 61 strncpy(address.sun_path, socket_path, sizeof(address.sun_path) - 1); in SendPid()
|
/external/autotest/client/site_tests/platform_CompressedSwapPerf/ |
D | platform_CompressedSwapPerf.py | 296 socket_path = os.path.join(temp_dir, str(len(hogs))) 297 paths.append(socket_path) 299 launch_cmd.append(socket_path) 307 for socket_path in paths: 310 hog_sock.connect(socket_path)
|
/external/ltp/testcases/kernel/security/tomoyo/ |
D | tomoyo_file_test.c | 72 static const char *socket_path = "/tmp/socket_test"; variable 185 strncpy(addr.sun_path, socket_path, sizeof(addr.sun_path) - 1); in stage_file_test() 226 unlink(socket_path); in creanup_files()
|
/external/wpa_supplicant_8/hostapd/ |
D | hlr_auc_gw.c | 62 static const char *socket_path; variable 953 if (socket_path) in cleanup() 954 unlink(socket_path); in cleanup() 1014 socket_path = default_socket_path; in main() 1046 socket_path = optarg; in main() 1074 serv_sock = open_socket(socket_path); in main() 1078 printf("Listening for requests on %s\n", socket_path); in main() 1088 socket_path = NULL; in main()
|