| 71 | } |
| 72 | |
| 73 | static bool |
| 74 | has_peereid() |
| 75 | { |
| 76 | #if HAVE_GETPEEREID |
| 77 | return true; |
| 78 | #elif HAVE_GETPEERUCRED |
| 79 | return true; |
| 80 | #elif TS_HAS_SO_PEERCRED |
| 81 | return true; |
| 82 | #else |
| 83 | return false; |
| 84 | #endif |
| 85 | } |
| 86 | |
| 87 | static int |
| 88 | get_peereid(int fd, uid_t *euid, gid_t *egid) |
no outgoing calls
no test coverage detected