Searched refs:socket_name (Results 1 – 3 of 3) sorted by relevance
/systemd-251/src/reply-password/ |
D | reply-password.c | 18 static int send_on_socket(int fd, const char *socket_name, const void *packet, size_t size) { in send_on_socket() argument 23 assert(socket_name); in send_on_socket() 26 salen = sockaddr_un_set_path(&sa.un, socket_name); in send_on_socket() 28 …_error_errno(salen, "Specified socket path for AF_UNIX socket invalid, refusing: %s", socket_name); in send_on_socket()
|
/systemd-251/src/tty-ask-password-agent/ |
D | tty-ask-password-agent.c | 56 static int send_passwords(const char *socket_name, char **passwords) { in send_passwords() argument 66 assert(socket_name); in send_passwords() 68 r = sockaddr_un_set_path(&sa.un, socket_name); in send_passwords() 174 _cleanup_free_ char *socket_name = NULL, *message = NULL; in process_one_password_file() local 180 … { "Ask", "Socket", config_parse_string, CONFIG_PARSE_STRING_SAFE, &socket_name }, in process_one_password_file() 203 if (!socket_name) in process_one_password_file() 236 if (access(socket_name, W_OK) < 0) { in process_one_password_file() 263 r = send_passwords(socket_name, passwords); in process_one_password_file()
|
/systemd-251/src/shared/ |
D | ask-password-api.c | 719 _cleanup_free_ char *socket_name = NULL; in ask_password_agent() local 776 socket_fd = create_socket(&socket_name); in ask_password_agent() 791 socket_name, in ask_password_agent() 952 if (socket_name) in ask_password_agent() 953 (void) unlink(socket_name); in ask_password_agent()
|