mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:12:45 +00:00 
			
		
		
		
	KeyboardSettings: Remove some unnecessary pledge promises
This program doesn't need to create or write files directly.
This commit is contained in:
		
							parent
							
								
									8abc4fa8c2
								
							
						
					
					
						commit
						acd4cc97fc
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -17,11 +17,11 @@ | |||
| 
 | ||||
| ErrorOr<int> serenity_main(Main::Arguments arguments) | ||||
| { | ||||
|     TRY(Core::System::pledge("stdio rpath cpath wpath recvfd sendfd unix proc exec")); | ||||
|     TRY(Core::System::pledge("stdio rpath recvfd sendfd unix proc exec")); | ||||
|     auto app = TRY(GUI::Application::try_create(arguments)); | ||||
|     Config::pledge_domains("KeyboardSettings"); | ||||
| 
 | ||||
|     TRY(Core::System::pledge("stdio rpath cpath wpath recvfd sendfd proc exec")); | ||||
|     TRY(Core::System::pledge("stdio rpath recvfd sendfd proc exec")); | ||||
|     TRY(Core::System::unveil("/res", "r")); | ||||
|     TRY(Core::System::unveil("/bin/keymap", "x")); | ||||
|     TRY(Core::System::unveil("/proc/keymap", "r")); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling