* Move setuidCleanup() to libutil.
This commit is contained in:
		
							parent
							
								
									f76fdb6d42
								
							
						
					
					
						commit
						a82d80ddeb
					
				
					 5 changed files with 23 additions and 27 deletions
				
			
		|  | @ -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. */ | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue