* Move killUser() to libutil so that the setuid helper can use it.
This commit is contained in:
		
							parent
							
								
									79875c5e42
								
							
						
					
					
						commit
						6a8e60913a
					
				
					 3 changed files with 82 additions and 51 deletions
				
			
		|  | @ -224,6 +224,11 @@ public: | |||
| }; | ||||
| 
 | ||||
| 
 | ||||
| /* Kill all processes running under the specified uid by sending them
 | ||||
|    a SIGKILL. */ | ||||
| void killUser(uid_t uid); | ||||
| 
 | ||||
| 
 | ||||
| /* Run a program and return its stdout in a string (i.e., like the
 | ||||
|    shell backtick operator). */ | ||||
| string runProgram(Path program); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue