HCoop
/
hcoop
/
zz_old
/
debian
/
djbdns.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
release
[hcoop/zz_old/debian/djbdns.git]
/
chkshsgr.c
1
#include
"exit.h"
2
3
int
main
()
4
{
5
short
x
[
4
];
6
7
x
[
0
] =
x
[
1
] =
0
;
8
if
(
getgroups
(
1
,
x
) ==
0
)
if
(
setgroups
(
1
,
x
) == -
1
)
_exit
(
1
);
9
_exit
(
0
);
10
}