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

Function local_socket_connect

src/daemon/ipc.c:654–657  ·  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

652/* Keep the only raw connect call at a sockaddr_un-typed boundary so the
653 * security audit can count and review the complete local IPC surface. */
654static int local_socket_connect(int fd, const struct sockaddr_un *address,
655 socklen_t address_length) {
656 return connect(fd, (const struct sockaddr *)address, address_length);
657}
658
659static bool unix_address_set(struct sockaddr_un *address, const char *path, socklen_t *length_out) {
660 if (!address || !path || !length_out) {

Callers 2

cbm_daemon_ipc_connectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected