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

Function posix_socket_inode_equal

src/daemon/ipc.c:1670–1673  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1668}
1669
1670static bool posix_socket_inode_equal(const posix_socket_identity_t *left,
1671 const posix_socket_identity_t *right) {
1672 return left && right && left->device == right->device && left->inode == right->inode;
1673}
1674
1675static bool posix_socket_status_secure_links(const struct stat *status, nlink_t links) {
1676 return status && S_ISSOCK(status->st_mode) && status->st_uid == geteuid() &&

Calls

no outgoing calls

Tested by

no test coverage detected