specify that getuid() returns the real uid (closes #10503)

Patch by εσχατοκυριος.
1 file changed