Commit graph

25 commits

Author SHA1 Message Date
mintsuki 42d358427f qword: Added readdir sysdep, changed lseek ABI 2019-01-05 21:02:46 +01:00
mintsuki 40ba7eb663 Added dup2 qword sysdep 2019-01-05 18:31:22 +01:00
mintsuki f1618f85cc Added qword chdir sysdep 2019-01-04 18:11:41 +01:00
mintsuki 3d7b2c4d6e Added proper errno support 2019-01-03 18:55:48 +01:00
mintsuki a0984d8153 Added getppid sysdep 2019-01-03 17:52:26 +01:00
mintsuki a16747dbdf Add qword waitpid sysdep and fix sysdep errno bug 2019-01-03 06:28:57 +01:00
mintsuki d9ced72226 Added more qword sysdeps 2019-01-01 15:19:34 +01:00
Alexander van der Grinten c8e1ebf1d0 meson: Move include dirs to main meson.build 2018-12-28 00:25:24 +01:00
mintsuki dd46d3c392 Added execve sysdep 2018-12-26 20:12:33 +01:00
Alexander van der Grinten d9d6ac5bea internal: Report sysdeps errors in return value
Before this patch, sysdeps functions reported their errors in errno.
Now, the error is reported in the return value and updating errno is
done by the wrapper function that calls into sysdeps.

This approach has the advantage that mlibc can call sysdeps without
having to worry about clobbering errno. Previously, annoying
errno save/restore boilerplate would have been necessary.

Fixes #3.
2018-12-24 19:49:48 +01:00
mintsuki e70ccf03d9 Added qword fork sysdep 2018-12-22 18:00:32 +01:00
Alexander van der Grinten 31bad7c79b ldso: Conditionally mmap() DSO segments 2018-12-21 18:00:27 +01:00
mintsuki da90a9550f Added more qword sysdeps 2018-12-20 15:09:45 +01:00
Alexander van der Grinten 12004849b7 sysdeps/qword: Add initialization code 2018-12-15 21:47:52 +01:00
Alexander van der Grinten ebb18e18a4 options/glibc: Move ioctl() here
This patch also provides sys_ioctl() on qword.
2018-12-08 11:24:50 +01:00
mintsuki c7f66bd5c1 Add some qword syscall definitions 2018-11-24 19:52:56 +01:00
Alexander van der Grinten c38875821c build: Fix abi-bits install dir for qword 2018-11-21 20:39:58 +01:00
Alexander van der Grinten 02df8cc38e sysdeps/qword: Add stubs for posix option 2018-11-21 20:10:39 +01:00
Alexander van der Grinten 0f06d7f786 build: Build crt0.o on managarm and qword 2018-11-21 18:45:09 +01:00
Alexander van der Grinten 07cbe7215f sysdeps/qword: Add __mlibc_entry function 2018-11-21 18:24:07 +01:00
Alexander van der Grinten d2da3ca4bc build: Properly install all public headers 2018-11-21 06:34:45 +01:00
Alexander van der Grinten 5dc4ad18c7 sysdeps/qword: Fix ldso build problem 2018-11-21 06:10:39 +01:00
Alexander van der Grinten b9df3ad3c8 options/lsb: Move auxv constants to abi-bits/ 2018-11-18 19:05:45 +01:00
Alexander van der Grinten 16cb745066 Move ABI-specific header file fragments to abi/ 2018-11-18 18:36:11 +01:00
Alexander van der Grinten e1dbe62621 sysdeps/qword: Add sysdeps for qword 2018-11-17 16:05:57 +01:00