Commit graph

240 commits

Author SHA1 Message Date
Alexander van der Grinten 73c0a47a6c sysdeps/managarm: Use VM_MAP POSIX request in ld.so 2020-03-15 12:58:23 +01:00
Alexander van der Grinten b2ac045fac sysdeps/managarm: Pass mmap() hint to POSIX 2020-03-15 12:58:23 +01:00
Thomas Woertman 1cc87bf50b sysdeps/Sigma: Add linux option and transition to new IPC system 2020-03-08 00:06:15 +01:00
Kacper Słomiński b593640479 sysdeps/managarm: replace (L)STAT and FSTAT with FSTATAT 2020-02-25 22:16:51 +01:00
Kacper Słomiński ad9cc4a6ff sysdeps/managarm: handle EBADF and EINVAL errors in dup and dup2 2020-02-23 20:12:11 +01:00
Kacper Słomiński 0d801ae176 sysdeps/managarm: fix array out of bounds access 2020-02-23 19:43:38 +01:00
Thomas Woertman 8f475792b1 sysdeps/sigma: Use SysdepsAllocator and add kbus auxval 2020-02-21 21:31:21 +01:00
Geert Custers b8f932c2cb sysdeps/lemon: add errno.h, signal.h and stat.h abi-bits 2020-02-20 17:48:13 +01:00
Geert Custers c99a9d711d sysdeps: add sys_sigaction() on linux and move signal.h to abi-bits 2020-02-20 17:48:13 +01:00
Geert Custers 13cb8ea65f sysdeps: add sys_stat() and sys_clock_get() on linux, move stat.h to abi-bits 2020-02-20 17:48:12 +01:00
Geert Custers 4c5ee60f67 sysdeps/linux: temporary band-aid for lack of mode argument in sys_open 2020-02-20 17:48:12 +01:00
Geert Custers c0a1c4e411 ansi/errno: move errno.h to abi-bits 2020-02-20 15:07:56 +01:00
Geert Custers 974aff8530 sysdeps/linux: add sys_isatty() 2020-02-20 15:07:47 +01:00
Alexander van der Grinten ddfc749d9d
Merge pull request #25 from fido2020/master
Added Lemon compatibility and 'static' build option
2020-02-17 08:21:16 +01:00
fido2020 77c6a7d124 Forgot to uncomment a line 2020-02-17 18:14:03 +11:00
fido2020 532d1fd1a7 Further cleaned up Lemon sysdeps, static library no longer linking against dynamic linker 2020-02-17 18:05:39 +11:00
Thomas Woertman 3d4efd2ccf sysdeps/Sigma: Move VFS tid to auxvector 2020-02-16 21:54:55 +01:00
Alexander van der Grinten 0b05f686ee internal: Update after frigg slab_pool changes 2020-02-16 21:15:31 +01:00
fido2020 74c303724d Cleaned up sysdeps 2020-02-15 21:29:20 +11:00
fido2020 c4917449d2 Moved Lemon sysdeps to LibLemon 2020-02-14 13:19:33 +11:00
fido2020 67284d6874 Added Lemon compatibility 2020-02-13 22:19:28 +11:00
Alexander van der Grinten f244971fca sysdeps/managarm: Update .proto locations 2020-02-12 20:23:13 +01:00
Arsen 7795b1e743 sysdeps/managarm: migrate sys_msg_recv/send to fs 2020-02-02 18:36:56 +01:00
Alexander van der Grinten 656b1e5ebb sysdeps/managarm: Update helAllocateMemory API 2020-02-02 12:45:13 +01:00
Thomas Woertman dd6a93a8ed Sigma sysdeps: Reorder libsigma 2020-01-29 18:48:35 +01:00
Thomas Woertman 219ac8ebb9 Sigma sysdeps: Fully refactor IPC messages 2020-01-11 13:02:21 +01:00
mintsuki a3d7c2dc27 qword: Implement fstatat and unlinkat syscalls 2020-01-05 17:22:03 +01:00
mintsuki b377e3bdca qword: Move mount to own header 2019-12-29 09:33:35 +01:00
mintsuki 8a10c316a3 qword: Add mount syscall 2019-12-29 09:16:25 +01:00
Thomas Woertman 20724cbdc8 Sigma sysdeps: Use updated IPC API 2019-12-26 15:33:58 +01:00
Thomas Woertman b740943059 Sigma sysdeps: Get rid of valloc and switch to mmap 2019-12-22 20:28:22 +01:00
Alexander van der Grinten dfdd0cf2e2
Merge pull request #22 from Matt8898/flock
sysdeps/managarm: Implement flock
2019-12-21 00:08:22 +01:00
Matteo Semenzato d79e3ce5d7 sysdeps/managarm: Implement flock 2019-12-20 13:59:53 +01:00
Alexander van der Grinten 09c19b4655 sysdeps/managarm: Implement sys_vm_protect() 2019-12-14 21:34:58 +01:00
Alexander van der Grinten 23ed47f36b sysdeps/managarm: Use pb2frigg instead of legacy frigg_pb 2019-12-11 20:09:44 +01:00
Alexander van der Grinten 4eccfbc3ca sysdeps/managarm: Disable signals via thread page
This should improve performance by reducing the number
of context switches due to the SIG_MASK supercall.
2019-12-01 13:27:49 +01:00
Thomas Woertman 26a8759c57 Sigma sysdeps: change internal mmap function signature 2019-11-30 20:14:38 +01:00
Kacper Słomiński 326efaadb1 sysdeps/managarm: add support for DRM_IOCTL_MODE_DESTROY_DUMB 2019-11-24 16:20:55 +01:00
Thomas Woertman 22a1f84bf6
sysdeps/sigma: Implement non-fixed mmap 2019-11-17 17:24:58 +01:00
Thomas Woertman 48e8583bfd
sysdeps/sigma: implement sys_close and sys_sleep 2019-10-18 23:23:27 +02:00
Thomas Woertman d140195995
sysdeps/sigma: Implement basic filesystem functions 2019-10-18 17:06:03 +02:00
Thomas Woertman 59e21debdd
Sigma sysdeps: Stub fuxex functions and implement sys_vm_map 2019-08-31 16:37:59 +02:00
mintsuki 1307277b33 qword: Implement sys_sleep 2019-08-27 16:41:11 +02:00
Alexander van der Grinten 3ab5825ba2 sysdeps/managarm: Handle ENOENT from INOTIFY_ADD 2019-08-26 06:57:08 +02:00
mintsuki 5d4f6ab3c9 unistd: Implement setuid 2019-08-24 11:41:51 +02:00
mintsuki da73a4cfc4 qword: Add sys_getpgrp sysdep 2019-08-24 02:37:50 +02:00
thom_tl a617362984 Create Sigma sysdeps (#17)
* Move abi.h from abis/{qword/,managarm/} to abis/mlibc/
* Add the possibility to link against external libraries (e.g., to provide syscall wrappers)
* Create Sigma sysdeps
2019-08-20 16:47:05 +02:00
mintsuki 6331ff272c qword: Removed perfmon syscall, added getmemstats syscall 2019-08-20 07:11:42 +02:00
Kacper Słomiński fedde8d0db sysdeps/managarm: return error on invalid handle instead of panicking 2019-08-14 20:43:58 +02:00
Alexander van der Grinten a78a0fc678 sysdeps/linux: Provide Scrt1.o
Necessary for #15.
2019-08-14 18:49:55 +02:00