Sortix doesn't have setuid/setgid binaries, but adding this function will allow ports to be put at ease.