Bendeguz Pisch
89d7ed0120
Allow NULL as longindex parameter on getopt_long
2025-12-17 18:34:28 +01:00
auronandace
0392c0b736
fix strlcat and strlcpy bytes amount
2025-12-17 14:56:59 +00: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
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
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
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
bjorn3
c4ffcedbd0
Port remaining drm ioctls to the new infrastructure
2025-12-15 23:34:44 +01: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
auronandace
6c62e7e401
fix strlcpy and strlcat
2025-12-15 07:58:44 +00:00
bjorn3
93f9401cf0
Use drm-sys for DRM types and consts
2025-12-14 22:32:43 +01: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
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
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
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
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
Wildan Mubarok
d6eaa0dbf9
Fix missing symbols for ARM dynamic linking
2025-12-10 06:16:16 -07:00
Jeremy Soller
7fcab3a43a
Merge branch 'master' into 'master'
...
fix(ci): make it green
See merge request redox-os/relibc!786
2025-12-08 16:50:39 -07:00
Anhad Singh
eb4ce618e2
fix(header/time): define TIME_UTC
...
Workaround for a bug inside `cbindgen`. For some reason it does not like
us exporting constants that depend on other constants that are *not*
defined as a part of the same module.
2025-12-09 01:13:22 +11:00
auronandace
1ed1096e60
add clippy annotation to netdb thanks to safety note
2025-12-08 08:41:00 +00:00
auronandace
651768ad54
only import the needed types in netdb and poll
2025-12-08 08:34:38 +00:00
auronandace
e45c7de6f6
update and add spec links for netdb and poll
2025-12-08 08:30:17 +00:00
auronandace
27bd869119
mark timespec_get and timespec_getres as unsafe and annotate no mangle
2025-12-07 21:07:49 +00:00
Jeremy Soller
fe5273890a
Merge branch 'cleanup_exec2' into 'master'
...
Hard code the default scheme to file
See merge request redox-os/relibc!783
2025-12-07 12:37:08 -07:00
bjorn3
4dae665cbf
Hard code the default scheme to file
...
Init no longer changes the default scheme to initfs at any point in
time. And for sandboxing you would be switching scheme namespace, not
default scheme.
It should be possible to mix and match relibc version from before and
after this change without breaking exec, though I haven't tested it.
2025-12-07 19:51:45 +01:00
Jeremy Soller
9ace82b9e1
Merge branch 'printf-negative-precision-fix' into 'master'
...
printf: use None if precision given in the next argument is negative
See merge request redox-os/relibc!779
2025-12-07 11:29:01 -07:00
auronandace
bb7ad19792
only import the needed types for sys_utsname and sys_select
2025-12-07 17:04:59 +00:00
auronandace
64d688dc4e
update and add spec links to sys_utsname and sys_select
2025-12-07 17:01:51 +00:00
Connor-GH
1b86d87475
printf: use None if precision given in the next argument is negative
2025-12-07 10:16:33 -06:00
Wildan M
8e4e43dcc4
Fix Dl_info alias not exported
2025-12-05 16:14:29 +07:00
Josh Megnauth
4538fdb0c9
Implement timespec_get and timespec_getres
...
`timespec_get` and `timespec_getres` are both C23 functions. They're
similar to the POSIX functions `clock_gettime` and `clock_getres`, but
both sets of functions define extra, exclusive features. I didn't
implement the extra features yet, partially because Redox doesn't seem
to support them yet either.
2025-12-04 20:38:35 +00:00
auronandace
1ce298eaa9
only import needed types in locale and sched
2025-12-04 09:11:57 +00:00
auronandace
f0850889d2
update and add spec links to locale and sched
2025-12-04 09:08:14 +00:00
auronandace
1e27ad561f
only import needed types in sys_socket and sys_stat
2025-12-03 14:16:19 +00:00
auronandace
cae30932b3
update and add spec links in sys_socket and sys_stat
2025-12-03 14:06:55 +00:00
auronandace
5e6c9b8868
make Dl_info_t the type and Dl_info the alias
2025-12-02 20:26:28 +00:00
auronandace
a702cb9555
only imported needed types in dlfcn
2025-12-02 20:24:05 +00:00
auronandace
68b4693564
only import needed types in sys_wait
2025-12-02 19:37:16 +00:00
auronandace
ec9fd09335
update header spec link, add spec links to functions
2025-12-02 19:34:32 +00:00
auronandace
ccc1d0b6fe
remove commented out wait3 and rusage
2025-12-02 19:30:19 +00:00
auronandace
02b302253b
only import the needed types in sys_un and sys_uio
2025-12-02 15:41:01 +00:00