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

Function posix_socket_inode_equal

src/daemon/ipc.c:2300–2303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2298}
2299
2300static bool posix_socket_inode_equal(const posix_socket_identity_t *left,
2301 const posix_socket_identity_t *right) {
2302 return left && right && left->device == right->device && left->inode == right->inode;
2303}
2304
2305static bool posix_socket_status_secure_links(const struct stat *status, nlink_t links) {
2306 return status && S_ISSOCK(status->st_mode) && status->st_uid == geteuid() &&

Calls

no outgoing calls

Tested by

no test coverage detected