Lines Matching refs:socket_name
139 char socket_name[PATH_MAX];
1159 if (socket_name[0])
1160 unlink(socket_name);
1341 snprintf(socket_name, sizeof socket_name, "%s/agent.%ld", socket_dir,
1346 strlcpy(socket_name, agentsocket, sizeof socket_name);
1354 sock = unix_listener(socket_name, SSH_LISTEN_BACKLOG, 0);
1357 *socket_name = '\0'; /* Don't unlink any existing file */
1371 printf(format, SSH_AUTHSOCKET_ENV_NAME, socket_name,
1387 printf(format, SSH_AUTHSOCKET_ENV_NAME, socket_name,
1394 if (setenv(SSH_AUTHSOCKET_ENV_NAME, socket_name, 1) == -1 ||