Commit Graph

3250 Commits

Author SHA1 Message Date
Jeremy Soller 8c533a450d Merge branch 'arm-ci' into 'master'
Update aarch64 CI test

See merge request redox-os/relibc!811
2025-12-17 06:26:57 -07:00
Wildan M ea0fac88c1 Update aarch64 CI test 2025-12-17 09:48:48 +07:00
Jeremy Soller 3ebd43b4ce Merge branch 'drm' into 'master'
Implement DRM ioctls for Redox

See merge request redox-os/relibc!801
2025-12-16 12:56:22 -07:00
Jeremy Soller d1b2c8a232 Merge branch 'drm6' into 'drm'
Move drm ioctl (de)serialization into a new redox-ioctl crate

See merge request redox-os/relibc!810
2025-12-16 12:55:28 -07:00
bjorn3 61dc527156 Move drm ioctl (de)serialization into a new redox-ioctl crate
This will make it easier to share this code with gpu drivers in the base
repo.
2025-12-16 20:38:05 +01:00
Jeremy Soller 3e6e90afd8 Merge branch 'doc-stdio' into 'master'
Doc stdio

See merge request redox-os/relibc!809
2025-12-16 11:07:33 -07:00
auronandace 95f7a12b8b only import needed types 2025-12-16 16:46:05 +00:00
auronandace 887a53c1b2 update and add spec links 2025-12-16 16:42:08 +00:00
Jeremy Soller f2ff75606e Merge branch 'doc-wchar' into 'master'
Doc wchar

See merge request redox-os/relibc!808
2025-12-16 07:02:52 -07:00
auronandace e913e2447b fix fmt 2025-12-16 11:20:37 +00:00
auronandace 59295af7d8 mark 2 functions as unsafe 2025-12-16 11:14:02 +00:00
auronandace e041d5b552 only import needed types 2025-12-16 11:10:55 +00:00
auronandace 973b96a727 update and add spec links 2025-12-16 10:59:38 +00:00
Jeremy Soller 220b8eae52 Merge branch 'drm5' into 'drm'
Port remaining drm ioctls to the new infrastructure

See merge request redox-os/relibc!807
2025-12-15 15:58:28 -07:00
bjorn3 c4ffcedbd0 Port remaining drm ioctls to the new infrastructure 2025-12-15 23:34:44 +01:00
Jeremy Soller ff25ae3470 Merge branch 'drm4' into 'drm'
Introduce infrastructure for serializing ioctls

See merge request redox-os/relibc!806
2025-12-15 14:54:48 -07:00
bjorn3 cf90f89b42 Introduce infrastructure for serializing ioctls
And use it for a couple of drm interfaces
2025-12-15 22:26:52 +01:00
Jeremy Soller 6a362acb4f Merge branch 'fix-strlcpy-and-strlcat' into 'master'
fix strlcpy and strlcat

See merge request redox-os/relibc!804
2025-12-15 07:01:28 -07:00
auronandace c2da2a8e47 fix expected output of strcpy test 2025-12-15 08:28:25 +00:00
auronandace 6c62e7e401 fix strlcpy and strlcat 2025-12-15 07:58:44 +00:00
Jeremy Soller 8d136acfb0 Merge branch 'drm3' into 'drm'
Use drm-sys for DRM types and consts

See merge request redox-os/relibc!803
2025-12-14 14:41:08 -07:00
bjorn3 93f9401cf0 Use drm-sys for DRM types and consts 2025-12-14 22:32:43 +01:00
Jeremy Soller e7a81dac77 Merge branch 'drm2' into 'drm'
drm: Use new VERSION, GET_CAP and SET_CLIENT_CAP driver commands

See merge request redox-os/relibc!802
2025-12-14 12:53:39 -07:00
bjorn3 d70e2dc610 drm: Use new VERSION, GET_CAP and SET_CLIENT_CAP driver commands 2025-12-14 20:47:41 +01:00
bjorn3 395c686f8d Rustfmt 2025-12-14 20:46:36 +01:00
bjorn3 6bce162b92 Fix read-only and write-only ioctls
Read-only ioctls write data to userspace, while write-only ioctls read
data from userspace. This matches the read and write syscalls.
2025-12-14 20:45:26 +01:00
Jeremy Soller 105b24a21f Implement DRM ioctls for Redox 2025-12-14 08:39:00 -07:00
Jeremy Soller ec8d28b164 Merge branch 'doc-pthread' into 'master'
Doc pthread

See merge request redox-os/relibc!800
2025-12-13 14:49:59 -07:00
auronandace d2429a1164 only import the needed types 2025-12-13 21:10:51 +00:00
auronandace 59e028d96d Update and add spec links 2025-12-13 20:56:02 +00:00
Jeremy Soller ea9c546d9b Merge branch 'doc-sys-times-and-termios' into 'master'
update and add spec links and only import needed types for sys_times and termios

See merge request redox-os/relibc!799
2025-12-13 06:28:59 -07:00
auronandace eff0a795bc update and add spec links and only import needed types for sys_times and termios 2025-12-13 08:56:43 +00:00
Jeremy Soller d5d64994e7 Merge branch 'doc-regex' into 'master'
Doc regex

See merge request redox-os/relibc!798
2025-12-12 14:25:46 -07:00
auronandace db82136fe4 only import needed types in regex 2025-12-12 21:08:31 +00:00
auronandace 2b4c2f9ddf update and add spec links to regex 2025-12-12 21:06:15 +00:00
Jeremy Soller 9db10bb0a9 Merge branch 'master' into 'master'
fix(redox-rt/proc): `min_mmap_addr` being set too low

See merge request redox-os/relibc!796
2025-12-12 07:01:22 -07:00
Anhad Singh f7aa718596 fix(redox-rt/proc): min_mmap_addr being set too low
`cmp::min` -> `cmp::max` Want to make sure we set the `min_mmap_addr` to
the top of the executable.

`update_min_mmap_addr(STACK_TOP - STACK_SIZE, STACK_SIZE);` needs to be
removed since we cannot allocate above that.

Reverts to the old behaviour. In future may want to consider loading the
executeable here instead of the dynamic linker (and before the dynamic
linker) to avoid any further conflicts.

Fixes `gcc` crashing at "failed to map
/usr/libexec/gcc/x86_64-unknown-redox/13.2.0/cc1. errno: 17" (where 17
-> EEXIST).

Co-authored-by: @bjorn3
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-12-12 17:49:36 +11:00
Jeremy Soller 41c627b2e7 Merge branch 'doc-grp' into 'master'
Doc grp

See merge request redox-os/relibc!795
2025-12-11 09:25:32 -07:00
auronandace 329c7c42f8 only import needed types 2025-12-11 15:10:03 +00:00
auronandace a1b23a3dbf update and add spec links to grp 2025-12-11 15:06:57 +00:00
Jeremy Soller 0fdd15b76d Merge branch 'add-ci' into 'master'
Write unified test script and make test readable

See merge request redox-os/relibc!794
2025-12-10 11:37:25 -07:00
Wildan M a948dffb38 Restore hangs workaround 2025-12-10 23:41:12 +07:00
Wildan M 31797971bc Write unified test script and make test readable 2025-12-10 23:28:57 +07:00
Jeremy Soller e2870172d8 Merge branch 'p2' into 'master'
fix(redox-rt/proc): `from_raw` should negate `raw` for `KillProcTarget::ProcGroup`

See merge request redox-os/relibc!793
2025-12-10 06:17:26 -07:00
Jeremy Soller 89986a6b10 Merge branch 'arm-dynlink' into 'master'
Fix missing symbols for ARM dynamic linking

See merge request redox-os/relibc!763
2025-12-10 06:16:16 -07:00
Wildan Mubarok d6eaa0dbf9 Fix missing symbols for ARM dynamic linking 2025-12-10 06:16:16 -07:00
Jeremy Soller b8bae33fde Merge branch 'master' into 'master'
fix(riscv64/x86): build

See merge request redox-os/relibc!792
2025-12-09 21:52:38 -07:00
Anhad Singh 3f986068e9 fix(redox-rt/proc): from_raw should negate raw for
`KillProcTarget::ProcGroup`

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-12-10 14:46:16 +11:00
Anhad Singh aa86e9e027 fix(riscv64/x86): build
Stub `__tlsdesc_dynamic` for riscv64/x86 for now.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-12-10 13:52:37 +11:00
Jeremy Soller b5aad8faab Merge branch 'master' into 'master'
fix(ld_so): page faulting when library not found

See merge request redox-os/relibc!791
2025-12-09 19:28:06 -07:00