Red Bear OS
ca7a7edbfb
relibc: add sys/ioccom.h with Linux IOC bitfield constants
...
Mesa 26.1.4's DRM UAPI headers include <sys/ioccom.h> as the BSD
include path for ioctl command encoding. The basic _IO / _IOR / _IOW /
_IOWR macros are already in <sys/ioctl.h> (musl-style via cbindgen),
but sys/ioccom.h adds the bitfield widths / masks / shifts / decoders
and the IOC_IN / IOC_OUT / IOC_INOUT / IOCSIZE_* macros that DRM and
other Linux UAPI consumers require.
This header includes <sys/ioctl.h> for the base macros and adds the
Linux-style constants as a thin shim. All new symbols are guarded
with #ifndef so including both headers is safe and idempotent.
This makes the Mesa-side 04-sys-ioccom-stub-header.patch redundant;
that patch can be removed from local/patches/mesa/ and the Mesa
recipe's patches list.
2026-07-27 20:18:01 +09:00
vasilito
d8ced461fa
Add __fseterr and __freadahead to stdio ext (P3-stdio-fseterr patch)
2026-07-12 16:05:57 +03:00
Jeremy Soller
85625f86dd
Define _GNU_SOURCE or _BSD_SOURCE the way musl does
2026-07-06 17:19:03 -06:00
auronandace
3be84f4b26
move stddef header from C to cbindgen
2026-06-24 11:52:15 +01:00
auronandace
7315ad5155
split out uint32_t for socklen_t for sys_socket header
2026-06-17 09:18:37 +01:00
auronandace
f2310befc3
split out intptr_t from stdint.h for sys/shm.h
2026-06-16 20:00:20 +01:00
auronandace
47b5f56d0b
move stdarg header from C to cbindgen and create valist bits header
2026-06-16 11:35:40 +01:00
Connor-GH
6da03f457c
tests/stdlib/ptsname: fix test for Linux due to pty changes
2026-06-04 08:17:17 -05:00
auronandace
d28a131ec5
split out wchar_t from stddef header
2026-06-04 11:17:36 +01:00
auronandace
4f5d535ebc
split out NULL from stddef header
2026-06-02 16:56:12 +01:00
auronandace
5795eac276
change wchar_t type to int
2026-06-02 12:13:17 +01:00
auronandace
a7b7e8dd27
move sysexits header from C to Rust
2026-05-19 15:20:49 +01:00
Wildan M
f731a20e02
Move sigsetjmp and siglongjmp to setjmp.h
2026-05-18 19:03:11 +07:00
auronandace
3d16b8a1b8
move wchar_t to stddef header
2026-05-12 11:09:23 +01:00
auronandace
dc28f2faef
split out sizt_t from stddef header
2026-05-08 14:59:27 +01:00
Wildan M
043ec22076
FIx sigjmp_buf and add tests
2026-05-02 16:59:48 +07:00
auronandace
798d929254
remove unused C header
2026-04-29 08:09:37 +01:00
auronandace
e7f311c2c4
move internal types from C to rust
2026-04-23 11:18:14 +01:00
auronandace
f7ab0e579f
move inttypes bits to cbindgen
2026-04-22 08:08:24 +01:00
auronandace
abd64422c8
move float bits from C to cbindgen
2026-04-20 08:34:51 +01:00
Wildan M
f59dfab490
Move sig_atomic_t from stdint
2026-04-18 02:31:35 +07:00
Wildan M
9ef2789287
Fix linux suseconds_t to fix alarm test
2026-04-16 00:11:44 +07:00
auronandace
1a6659ada1
move cpio header from C to Rust
2026-04-14 10:21:26 +01:00
Jeremy Soller
539d04009a
Merge branch 'syssocket-bits' into 'master'
...
move sys_socket bits from C to cbindgen
See merge request redox-os/relibc!1185
2026-04-13 06:47:59 -06:00
auronandace
e8429cdc5e
move sys_socket bits from C to cbindgen
2026-04-13 10:18:40 +01:00
auronandace
1eed88923a
verify signal header includes
2026-04-13 08:52:53 +01:00
auronandace
17ff347332
move assert bits from C to cbindgen
2026-04-12 08:37:54 +01:00
auronandace
121ee8edb0
remove ucred from sys_socket bits
2026-04-09 09:59:24 +01:00
Jeremy Soller
19b0b44eb9
Merge branch 'elf-bits' into 'master'
...
move elf bits to cbindgen
See merge request redox-os/relibc!1157
2026-04-03 07:01:10 -06:00
auronandace
700cf642e5
move elf bits to cbindgen
2026-04-03 09:15:08 +01:00
auronandace
a0dd75a011
move unistd bits to cbindgen
2026-04-03 08:58:37 +01:00
Jeremy Soller
0630fa12f2
Merge branch 'stdio-bits' into 'master'
...
move stdio bits to cbindgen
See merge request redox-os/relibc!1145
2026-04-01 08:40:50 -06:00
auronandace
1764004b80
move stdio bits to cbindgen
2026-03-31 08:53:10 +01:00
auronandace
afd9cad0c3
move stdlib bits to cbindgen
2026-03-31 08:31:26 +01:00
auronandace
3b69b617a2
move wchar bits to cbindgen
2026-03-29 15:49:01 +01:00
Jeremy Soller
18e47cdf5a
Merge branch 'malloc-bits' into 'master'
...
move malloc bits to cbindgen
See merge request redox-os/relibc!1138
2026-03-29 07:10:14 -06:00
Jeremy Soller
078bfe81f1
Merge branch 'dirent-bits' into 'master'
...
move dirent bits to cbindgen
See merge request redox-os/relibc!1137
2026-03-29 07:09:58 -06:00
auronandace
d84c8bf8f3
move malloc bits to cbindgen
2026-03-29 08:40:37 +01:00
auronandace
42d555b043
move dirent bits to cbindgen
2026-03-29 08:10:13 +01:00
auronandace
80db4127fd
move errno bits from C to cbindgen
2026-03-29 07:44:55 +01:00
auronandace
306cd8b68f
move netdb bits to cbindgen
2026-03-28 17:44:18 +00:00
auronandace
254e81ef74
move sys_wait bits from C to cbindgen
2026-03-28 15:12:54 +00:00
auronandace
dbc6507c79
move sys_time bits from C to cbindgen
2026-03-28 14:57:11 +00:00
auronandace
516729bd83
move netinet_in bits to cbindgen
2026-03-28 08:15:24 +00:00
auronandace
71560ce9ca
move ctype bits from C to cbindgen
2026-03-27 08:07:18 +00:00
auronandace
bc5ee99856
move sys stat bits from C file to cbindgen
2026-03-26 13:58:09 +00:00
Jeremy Soller
8dec9f36ff
Merge branch 'sys-mman-bits' into 'master'
...
move sys mman bits to cbindgen
See merge request redox-os/relibc!1119
2026-03-26 06:30:51 -06:00
auronandace
db8021d4c8
move sys mman bits to cbindgen
2026-03-26 11:33:11 +00:00
auronandace
bdceda8665
move sys ioctl bits to cbindgen
2026-03-26 11:09:52 +00:00
auronandace
23996c4fd7
move sys select bits to cbindgen
2026-03-25 14:28:00 +00:00