/freebsd-11-stable/tools/regression/sockets/unix_bindconnect/ |
H A D | unix_bindconnect.c | 87 char socket_path[PATH_MAX]; local 97 if (snprintf(socket_path, sizeof(socket_path), "%s/%s", 99 warn("bind_test: snprintf(socket_path)"); 107 if (snprintf(sun.sun_path, sizeof(sun.sun_path), "%s", socket_path) 120 push_path(socket_path); 179 unlink(socket_path); 198 char socket_path[PATH_MAX]; local 208 if (snprintf(socket_path, sizeof(socket_path), " [all...] |
/freebsd-11-stable/tools/regression/sockets/unix_close_race/ |
H A D | unix_close_race.c | 57 static char socket_path[] = "tmp.XXXXXXXX"; variable 78 if (mkstemp(socket_path) == -1) 80 unlink(socket_path); 88 (void)unlink(socket_path); 91 strcpy(servaddr.sun_path, socket_path); 110 strcpy(servaddr.sun_path, socket_path);
|
/freebsd-11-stable/tools/regression/sockets/pr_atomic/ |
H A D | pr_atomic.c | 45 static char socket_path[] = "tmp.XXXXXX"; variable 61 if (mkstemp(socket_path) == -1) 68 unlink(socket_path); 69 strcpy(un.sun_path, socket_path);
|
/freebsd-11-stable/usr.sbin/nscd/ |
H A D | nscdcli.h | 33 char *socket_path; member in struct:nscd_connection_params
|
H A D | config.h | 99 char *socket_path; member in struct:configuration
|
H A D | config.c | 542 if (config->socket_path != NULL) 543 free(config->socket_path); 546 config->socket_path = calloc(1, len + 1); 547 assert(config->socket_path != NULL); 548 memcpy(config->socket_path, DEFAULT_SOCKET_PATH, len); 577 free(config->socket_path);
|
H A D | nscd.c | 173 unlink(config->socket_path); 177 strlcpy(serv_addr.sun_path, config->socket_path, 188 "%s", config->socket_path); 193 config->socket_path); 199 chmod(config->socket_path, config->socket_mode); 695 connection_params.socket_path = DEFAULT_SOCKET_PATH;
|
H A D | nscdcli.c | 194 strlcpy(client_address.sun_path, params->socket_path,
|
/freebsd-11-stable/tools/regression/sockets/unix_sendtorace/ |
H A D | unix_sendtorace.c | 50 static char socket_path[] = "tmp.XXXXXX"; variable 79 strcpy(sun.sun_path, socket_path); 108 strcpy(sun.sun_path, socket_path); 128 (void)unlink(socket_path); 155 strcpy(sun.sun_path, socket_path); 184 strcpy(sun.sun_path, socket_path); 201 (void)unlink(socket_path); 208 if (mkstemp(socket_path) == -1) 210 (void)unlink(socket_path);
|
/freebsd-11-stable/crypto/openssh/ |
H A D | entropy.c | 71 * 'socket_path'. 72 * Either a non-zero tcp_port or a non-null socket_path must be 78 unsigned short tcp_port, char *socket_path) 88 if (socket_path == NULL && tcp_port == 0) 90 if (socket_path != NULL && 91 strlen(socket_path) >= sizeof(addr_un->sun_path)) 105 strlcpy(addr_un->sun_path, socket_path, 108 strlen(socket_path) + 1; 77 get_random_bytes_prngd(unsigned char *buf, int len, unsigned short tcp_port, char *socket_path) argument
|
/freebsd-11-stable/lib/libc/include/ |
H A D | nscachedcli.h | 58 char *socket_path; member in struct:cached_connection_params
|
/freebsd-11-stable/contrib/unbound/dnstap/ |
H A D | dtstream.h | 218 char* socket_path; member in struct:dt_io_thread
|
H A D | dtstream.c | 313 free(dtio->socket_path); 355 free(dtio->socket_path); 356 dtio->socket_path = strdup(nm); 357 if(!dtio->socket_path) { 730 char* to = dtio->socket_path; 741 else if(dtio->socket_path) 743 dtio->socket_path); 954 char* to = dtio->socket_path; 1928 (void)strlcpy(s.sun_path, dtio->socket_path, sizeof(s.sun_path)); 1932 char* to = dtio->socket_path; [all...] |
H A D | dnstap.c | 120 check_socket_file(const char* socket_path) argument 124 if(stat(socket_path, &statbuf) < 0) { 126 socket_path, strerror(errno));
|
/freebsd-11-stable/lib/libc/net/ |
H A D | nscache.c | 72 params.socket_path = CACHED_SOCKET_PATH; 179 params.socket_path = CACHED_SOCKET_PATH; 244 params.socket_path = CACHED_SOCKET_PATH; 283 params.socket_path = CACHED_SOCKET_PATH; 348 params.socket_path = CACHED_SOCKET_PATH;
|
H A D | nscachedcli.c | 205 strncpy(client_address.sun_path, params->socket_path,
|
/freebsd-11-stable/crypto/heimdal/kcm/ |
H A D | kcm_locl.h | 167 extern char *socket_path;
|
H A D | config.c | 42 char *socket_path = NULL; variable 130 "socket-path", 's', arg_string, &socket_path,
|
/freebsd-11-stable/contrib/wpa/hostapd/ |
H A D | hlr_auc_gw.c | 62 static const char *socket_path; variable 953 if (socket_path) 954 unlink(socket_path); 1014 socket_path = default_socket_path; 1046 socket_path = optarg; 1074 serv_sock = open_socket(socket_path); 1078 printf("Listening for requests on %s\n", socket_path); 1088 socket_path = NULL;
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteCommunicationServerPlatform.cpp | 528 llvm::SmallString<128> socket_path; local 535 llvm::sys::fs::createUniqueFile(socket_path_spec.GetCString(), socket_path); 536 return FileSpec(socket_path.c_str());
|