blob: 63cdbf1d5f95ec810a55a636956aaee3b91c9e84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* ISC license. */
#undef _POSIX_C_SOURCE
#undef _XOPEN_SOURCE
#include <unistd.h>
int main (void)
{
uid_t uid ;
gid_t gid ;
int s = 0 ;
return getpeereid(s, &uid, &gid) ;
}
|