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

Function posix_socket_inode_equal

src/daemon/ipc.c:1724–1727  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1722}
1723
1724static bool posix_socket_inode_equal(const posix_socket_identity_t *left,
1725 const posix_socket_identity_t *right) {
1726 return left && right && left->device == right->device && left->inode == right->inode;
1727}
1728
1729static bool posix_socket_status_secure_links(const struct stat *status, nlink_t links) {
1730 return status && S_ISSOCK(status->st_mode) && status->st_uid == geteuid() &&

Calls

no outgoing calls

Tested by

no test coverage detected