/* Ensure that the SGID bit is not in-effect. */ #include int main() { return getgid() != getegid(); }