title: C / Linux: setgid leaves root in list of groups
body: <p>I'm dropping root privileges with <code>setregid(real_gid, effective_gid)</code>. Both are set to 1000, but when I'm running id command there's root in group list! How do I remove that?</p>