MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / local_socket_connect

Function local_socket_connect

src/daemon/ipc.c:826–829  ·  view source on GitHub ↗

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. */

Source from the content-addressed store, hash-verified

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. */
826static 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
831static bool unix_address_set(struct sockaddr_un *address, const char *path, socklen_t *length_out) {
832 if (!address || !path || !length_out) {

Callers 2

cbm_daemon_ipc_connectFunction · 0.85

Calls 1

connectFunction · 0.50

Tested by

no test coverage detected