diff --git a/config/check_getpeereid.c b/config/check_getpeereid.c new file mode 100644 index 0000000..ac17e22 --- /dev/null +++ b/config/check_getpeereid.c @@ -0,0 +1,13 @@ +#include +#include + +int main() +{ + if (0) { + int socket = 0; + uid_t euid = 0; + gid_t egid = 0; + getpeereid(socket, &euid, &egid); + } + return 0; +}