Fix setuid(2) not also setting the effective UID
setuid(2) did not set the effective UID in addition to the real one. This was noticed when a program falsely claimed to be running as root. Looking at the source and creating a simple test program revealed the bug.
Edited by Jonas Termansen