mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:02:45 +00:00 
			
		
		
		
	Kernel: Print to the log what is the first user process & its arguments
This commit is contained in:
		
							parent
							
								
									9254ed4f08
								
							
						
					
					
						commit
						4a50c01c50
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -449,6 +449,8 @@ void init_stage2(void*) | |||
|     auto userspace_init = kernel_command_line().userspace_init(); | ||||
|     auto init_args = kernel_command_line().userspace_init_args(); | ||||
| 
 | ||||
|     dmesgln("Running first user process: {}", userspace_init); | ||||
|     dmesgln("Init (first) process args: {}", init_args); | ||||
|     auto init_or_error = Process::create_user_process(userspace_init, UserID(0), GroupID(0), move(init_args), {}, tty0); | ||||
|     if (init_or_error.is_error()) | ||||
|         PANIC("init_stage2: Error spawning init process: {}", init_or_error.error()); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Liav A
						Liav A