* Move setuidCleanup() to libutil.
This commit is contained in:
		
							parent
							
								
									f76fdb6d42
								
							
						
					
					
						commit
						a82d80ddeb
					
				
					 5 changed files with 23 additions and 27 deletions
				
			
		|  | @ -12,11 +12,12 @@ | |||
| 
 | ||||
| #include "util.hh" | ||||
| 
 | ||||
| #include "../libmain/setuid-common.hh" | ||||
| 
 | ||||
| using namespace nix; | ||||
| 
 | ||||
| 
 | ||||
| extern char * * environ; | ||||
| 
 | ||||
| 
 | ||||
| /* Recursively change the ownership of `path' to user `uidTo' and
 | ||||
|    group `gidTo'.  `path' must currently be owned by user `uidFrom', | ||||
|    or, if `uidFrom' is -1, by group `gidFrom'. */ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue