Adjust pty permissions for userpriv.
Handle EPERM from os.kill(), bug #358211.
SpawnProcess: convert cgroup pids to int earlier
doins: use mktemp for private files, bug #484332
doexe/newins: mktemp for bug #484332
unprivileged/chown: fix bug #470992