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

Function posix_socket_inode_equal

src/daemon/ipc.c:1718–1721  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1716}
1717
1718static bool posix_socket_inode_equal(const posix_socket_identity_t *left,
1719 const posix_socket_identity_t *right) {
1720 return left && right && left->device == right->device && left->inode == right->inode;
1721}
1722
1723static bool posix_socket_status_secure_links(const struct stat *status, nlink_t links) {
1724 return status && S_ISSOCK(status->st_mode) && status->st_uid == geteuid() &&

Calls

no outgoing calls

Tested by

no test coverage detected