Lines Matching defs:socket_name
128 char socket_name[MAXPATHLEN];
1073 if (socket_name[0])
1074 unlink(socket_name);
1243 snprintf(socket_name, sizeof socket_name, "%s/agent.%ld", socket_dir,
1248 strlcpy(socket_name, agentsocket, sizeof socket_name);
1258 *socket_name = '\0'; /* Don't unlink any existing file */
1263 strlcpy(sunaddr.sun_path, socket_name, sizeof(sunaddr.sun_path));
1267 *socket_name = '\0'; /* Don't unlink any existing file */
1284 printf(format, SSH_AUTHSOCKET_ENV_NAME, socket_name,
1299 printf(format, SSH_AUTHSOCKET_ENV_NAME, socket_name,
1306 if (setenv(SSH_AUTHSOCKET_ENV_NAME, socket_name, 1) == -1 ||