1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 08:31:16 +02:00

* Move setuidCleanup() to libutil.

This commit is contained in:
Eelco Dolstra 2006-12-07 16:40:41 +00:00
parent f76fdb6d42
commit a82d80ddeb
5 changed files with 23 additions and 27 deletions

View file

@ -237,6 +237,10 @@ string runProgram(Path program);
Cygwin, _exit() doesn't seem to do the right thing.) */
void quickExit(int status);
/* Common initialisation for setuid programs: clear the environment,
sanitize file handles 0, 1 and 2. */
void setuidCleanup();
/* User interruption. */