Keep the only raw connect call at a sockaddr_un-typed boundary so the * security audit can count and review the complete local IPC surface. */
| 824 | /* Keep the only raw connect call at a sockaddr_un-typed boundary so the |
| 825 | * security audit can count and review the complete local IPC surface. */ |
| 826 | static int local_socket_connect(int fd, const struct sockaddr_un *address, |
| 827 | socklen_t address_length) { |
| 828 | return connect(fd, (const struct sockaddr *)address, address_length); |
| 829 | } |
| 830 | |
| 831 | static bool unix_address_set(struct sockaddr_un *address, const char *path, socklen_t *length_out) { |
| 832 | if (!address || !path || !length_out) { |
no test coverage detected