MCPcopy Create free account
hub / github.com/apache/trafficserver / has_peereid

Function has_peereid

src/mgmt/rpc/server/IPCSocketServer.cc:73–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73static bool
74has_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
87static int
88get_peereid(int fd, uid_t *euid, gid_t *egid)

Callers 2

bindMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected