Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								612eafea2c 
								
							 
						 
						
							
							
								
								LibCore: Add syscall wrappers for tcgetattr() and tcsetattr()  
							
							
							
						 
						
							2021-11-30 23:34:40 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								90aa1abfed 
								
							 
						 
						
							
							
								
								LibCore: Add ioctl() syscall wrapper  
							
							
							
						 
						
							2021-11-30 23:34:40 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								83056efc1a 
								
							 
						 
						
							
							
								
								LibCore: Add syscall wrapper for dup()  
							
							
							
						 
						
							2021-11-28 23:14:19 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								982ac34437 
								
							 
						 
						
							
							
								
								LibCore: Add syscall wrappers for sendfd() and recvfd()  
							
							
							
						 
						
							2021-11-28 23:14:18 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brian Gianforcaro 
								
							 
						 
						
							
							
							
							
								
							
							
								44ffe3e5bb 
								
							 
						 
						
							
							
								
								LibCore: Allow System::pledge execpromises argument to be omitted  
							
							... 
							
							
							
							It appears that we don't have almost no cases of a callers passing
exec promises when they call `pledge()`. To simplify the code a bit we
add a default parameter that will pass nullptr for us to `pledge()`. 
							
						 
						
							2021-11-28 08:04:57 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brian Gianforcaro 
								
							 
						 
						
							
							
							
							
								
							
							
								fcc00c9a27 
								
							 
						 
						
							
							
								
								LibCore+cat: Switch Core::System::read/write to take a Span of bytes  
							
							... 
							
							
							
							In the spirit of the Core::System name space having "modern" facades
for classically C functions / Kernel interfaces, it seems appropriate
that we should take Span's of data instead of raw pointer + length
arguments. 
							
						 
						
							2021-11-28 08:04:57 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								951d8a06d8 
								
							 
						 
						
							
							
								
								LibCore: Add syscall wrapper for gethostname()  
							
							
							
						 
						
							2021-11-27 11:14:16 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								748c8b4879 
								
							 
						 
						
							
							
								
								LibCore: Add syscall wrapper for ptsname()  
							
							
							
						 
						
							2021-11-24 23:24:53 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								a152b1f215 
								
							 
						 
						
							
							
								
								LibCore: Add syscall wrapper for dup2()  
							
							
							
						 
						
							2021-11-24 23:07:31 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								71bc9bee0a 
								
							 
						 
						
							
							
								
								LibCore: Add syscall wrapper for pipe2()  
							
							
							
						 
						
							2021-11-24 23:07:31 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								8b7b726680 
								
							 
						 
						
							
							
								
								LibCore: Add kill() syscall wrapper  
							
							
							
						 
						
							2021-11-24 00:25:22 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								16356ca478 
								
							 
						 
						
							
							
								
								LibCore: Add syscall wrappers for read() and write()  
							
							
							
						 
						
							2021-11-23 15:44:59 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								3db9979e40 
								
							 
						 
						
							
							
								
								LibCore: Add syscall wrapper for stat()  
							
							
							
						 
						
							2021-11-23 12:23:54 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								4a213869f2 
								
							 
						 
						
							
							
								
								LibCore: Add syscall wrapper for ftruncate()  
							
							
							
						 
						
							2021-11-23 12:23:54 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								4bf08e4d52 
								
							 
						 
						
							
							
								
								LibCore: Add syscall wrapper for close()  
							
							
							
						 
						
							2021-11-23 12:23:54 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								50416c286d 
								
							 
						 
						
							
							
								
								LibCore: Add syscall wrapper for open()  
							
							
							
						 
						
							2021-11-23 11:59:50 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								45842a5208 
								
							 
						 
						
							
							
								
								LibCore: Add syscall wrapper for munmap()  
							
							
							
						 
						
							2021-11-23 11:51:11 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								53e9b9758e 
								
							 
						 
						
							
							
								
								LibCore: Add syscall wrapper for mmap()  
							
							... 
							
							
							
							For convenience on SerenityOS, this also takes a custom alignment
request, and a memory region name. These are non-POSIX extensions. 
							
						 
						
							2021-11-23 11:48:40 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								c37a02341b 
								
							 
						 
						
							
							
								
								LibCore: Add Core::System wrappers for fstat() and fcntl()  
							
							
							
						 
						
							2021-11-23 11:33:36 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								21a5fb0fa2 
								
							 
						 
						
							
							
								
								LibCore+LibSystem: Move syscall wrappers from LibSystem to LibCore  
							
							... 
							
							
							
							With this change, System::foo() becomes Core::System::foo().
Since LibCore builds on other systems than SerenityOS, we now have to
make sure that wrappers work with just a standard C library underneath. 
							
						 
						
							2021-11-23 11:33:36 +01:00