Commit Graph

154 Commits

Author SHA1 Message Date
4lDO2 f6761407e5 Pass si_pid to all realtime signals. 2024-09-24 19:34:51 +02:00
bjorn3 49c708f537 Remove all uses of the legacy scheme syntax" 2024-08-04 13:49:10 +02:00
4lDO2 c286dd6d33 Use new-thread proc API 2024-07-18 23:59:47 +02:00
4lDO2 f37bb3cb16 Fix sigaction test on Linux, and rustfmt. 2024-07-09 15:00:55 +02:00
4lDO2 0ea2b5d45f Fix compilation on Linux. 2024-07-09 15:00:55 +02:00
4lDO2 42c24dd755 Successfully run more userspace. 2024-07-09 15:00:53 +02:00
4lDO2 4e93f68324 Implement hack to ensure TCB exists in bootstrap. 2024-07-09 15:00:53 +02:00
4lDO2 58d1153536 Split part of TCB into generic-rt 2024-07-09 15:00:53 +02:00
4lDO2 edfe46c60b Write x86-64 signal trampoline asm stub. 2024-07-09 15:00:52 +02:00
4lDO2 5177ca3926 Remove memoffset dependency. 2024-07-09 15:00:52 +02:00
4lDO2 53ed7aae59 Move rlct_clone, sigprocmask, sigaction, to rt. 2024-07-09 15:00:52 +02:00
4lDO2 4c11b607de Implement pread and pwrite using the syscalls. 2024-06-14 14:10:47 +02:00
4lDO2 6e86e64fdf Move pthread into TCB. 2024-06-08 11:36:22 +02:00
4lDO2 326c8a6231 Split shared ld_so code and actual ld_so stubs. 2024-06-08 11:36:06 +02:00
Jeremy Soller 73952b69ed Update to new nightly 2024-05-11 14:00:59 -06:00
Peter Limkilde Svendsen a7137512fa Use standard casing and mangling for internal errno 2024-03-01 00:25:42 +00:00
Peter Limkilde Svendsen 9093f6bc47 Use Cell representation for errno 2024-02-29 14:07:40 +00:00
Darley Barreto ce1e31d567 Replace C dlmalloc 2023-12-12 15:04:17 +00:00
4lDO2 75d1c67ca2 Switch to a lightweight CStr wrapper 2023-11-04 18:29:38 +00:00
Ivan Tan 4cb564bc99 aarch64: align sp in _start 2023-07-07 18:58:42 +08:00
Noa df6f4678e8 Fix warnings 2023-05-30 13:46:17 -05:00
4lDO2 cdd0f67b23 Rustfmt. 2023-05-17 15:28:10 +02:00
Jeremy Soller f5651b22ea Do not overwrite static TCB 2023-02-13 08:31:59 -07:00
Jeremy Soller ee0193aa7e Add missing import 2022-11-11 17:06:50 -07:00
Jeremy Soller 16abc91341 cargo fmt and cargo fix 2022-11-11 13:27:18 -07:00
Jeremy Soller d1a86c850e Hack to use the correct TLS size for the first TLS module 2022-11-11 10:08:00 -07:00
Jeremy Soller b13e96ffb8 Ensure there is a stub Tcb for dynamically linked binaries 2022-11-11 09:42:47 -07:00
Jeremy Soller 976ca7893f Use current Tcb if it is set even if no linker objects are loaded 2022-09-11 14:07:05 -06:00
Jeremy Soller 367be58666 Set linker_ptr when using static TLS 2022-09-11 11:11:49 -06:00
Jeremy Soller 0250ea022f pte clone for aarch64 2022-08-26 20:16:58 -06:00
Jeremy Soller c59b94d102 Hacks to support aarch64 static TLS 2022-08-25 19:03:49 -06:00
Jeremy Soller b0d3e5b154 Correct instruction to read aarch64 thread pointer 2022-08-25 18:58:45 -06:00
Jeremy Soller 58ceae44e7 ld_so init for aarch64 2022-08-24 20:41:32 -06:00
Jeremy Soller 6591cf699d Set aarch64 tcb 2022-08-24 19:24:26 -06:00
Jeremy Soller c547f9677f Use GS for i686 thread pointer 2022-08-20 21:11:18 -06:00
Jeremy Soller c96b3114ab More fixes for x86 2022-08-20 20:56:42 -06:00
Jeremy Soller 8b629a562b Syntax error 2022-08-20 20:52:19 -06:00
Jeremy Soller a1d0b8fc35 More x86 fixes 2022-08-20 20:51:01 -06:00
4lDO2 5e74d173ab Fix ld.so access function on Redox. 2022-08-13 19:16:48 +02:00
4lDO2 54b3f873f8 Move cwd from kernel to relibc. 2022-08-13 19:16:45 +02:00
4lDO2 4e5ccbffd1 Allow constructors to access env vars. 2022-07-26 21:34:48 +02:00
4lDO2 1476cdeb8f Split fexec_impl into crate, used by escalated. 2022-07-26 21:34:46 +02:00
4lDO2 a7c817d81a WIP: Support setuid/setgid 2022-07-26 21:33:01 +02:00
4lDO2 2186cd1fbd Implement fexec in userspace. 2022-07-26 21:32:56 +02:00
Jeremy Soller 0bd81aa3d4 Update llvm_asm to asm for aarch64 2022-07-26 11:46:50 -06:00
Jeremy Soller 559387cc64 Initial support for x86 32-bit 2022-07-22 16:24:45 -06:00
4lDO2 ebd597f748 Update dependencies for rust 2022-03-18. 2022-03-24 17:12:02 +01:00
Jeremy Soller 8a2ff1ec4a Only try to set FS on x86_64 2022-02-13 15:05:07 -07:00
Jeremy Soller 824184a66c Make sure strong symbols are preferred by ld_so 2021-12-15 12:05:21 -07:00
Jeremy Soller ecd934951d R_X86_64_TPOFF64 does not require symbol, allow it to be unset 2021-12-14 14:53:16 -07:00