Jeremy Soller
45749ad101
Merge branch 'posix-dent-export' into 'master'
...
eliminate function export struct workaround for posix_dent
See merge request redox-os/relibc!1287
2026-05-09 06:21:35 -06:00
Jeremy Soller
1c7faca624
Merge branch 'regex-systypes' into 'master'
...
replace sys_types include in regex header with bits
See merge request redox-os/relibc!1286
2026-05-09 06:20:31 -06:00
Jeremy Soller
c9ab8f8676
Merge branch 'monetary-systypes' into 'master'
...
replace sys_types include in monetary header with bits
See merge request redox-os/relibc!1285
2026-05-09 06:20:10 -06:00
Jeremy Soller
2c2bab1955
Merge branch 'split-offt' into 'master'
...
split out off_t from sys_types_internal
See merge request redox-os/relibc!1284
2026-05-09 06:18:51 -06:00
auronandace
1b7a84633e
eliminate function export struct workaround for posix_dent
2026-05-09 12:09:33 +01:00
auronandace
aa52ed1bcc
replace sys_types include in regex header with bits
2026-05-09 08:30:02 +01:00
auronandace
8e9b2837cc
replace sys_types include in monetary header with bits
2026-05-09 07:45:22 +01:00
auronandace
8e1881c3cc
split out off_t from sys_types_internal
2026-05-09 07:11:29 +01:00
Wildan M
e9c3960c65
Implement nice and write test
2026-05-09 01:23:37 +07:00
auronandace
dc28f2faef
split out sizt_t from stddef header
2026-05-08 14:59:27 +01:00
Jeremy Soller
4596d71bf5
Merge branch 'eliminate-flock-workaround' into 'master'
...
eliminate function export workaround for flock struct
See merge request redox-os/relibc!1281
2026-05-08 06:58:00 -06:00
Jeremy Soller
90fc985806
Merge branch 'eliminate-timeval-function' into 'master'
...
eliminate cbindgen export function workaround for timeval struct
See merge request redox-os/relibc!1279
2026-05-08 06:29:41 -06:00
Jeremy Soller
a4b536fdcb
Merge branch 'netinet-in-systypes' into 'master'
...
remove sys_types from netinet_in
See merge request redox-os/relibc!1278
2026-05-08 06:29:24 -06:00
Jeremy Soller
45f9484fd2
Merge branch 'split-ssizet' into 'master'
...
split out ssize_t from sys_types
See merge request redox-os/relibc!1277
2026-05-08 06:27:21 -06:00
auronandace
71427e3594
eliminate function export workaround for flock struct
2026-05-08 13:21:20 +01:00
auronandace
5c131dc037
eliminate cbindgen export function workaround for timeval struct
2026-05-08 12:30:55 +01:00
auronandace
4ef52218f1
remove sys_types from netinet_in
2026-05-08 11:47:56 +01:00
auronandace
4cb1ab3a2e
acutally include ssize_t in sys_types_internal
2026-05-08 09:58:13 +01:00
auronandace
ed488b71dc
split out ssize_t from sys_types
2026-05-08 09:49:06 +01:00
auronandace
c75c13da91
disamiguate include guards for arpa_inet and sys_time
2026-05-08 07:54:05 +01:00
Speedy_Lex
2d4ab41de5
Cargo fmt
2026-05-07 00:05:13 +02:00
Speedy_Lex
eff610eac6
Fix many clippy lints
2026-05-07 00:05:07 +02:00
Jeremy Soller
fc8947006b
Merge branch 'verify-syswait-includes' into 'master'
...
verify sys_wait header includes
See merge request redox-os/relibc!1275
2026-05-06 06:18:15 -06:00
Jeremy Soller
4be86efdfa
Merge branch 'fnmatch-doc' into 'master'
...
add documentation for fnmatch
See merge request redox-os/relibc!1274
2026-05-06 06:16:33 -06:00
Jeremy Soller
519fea47cc
Merge branch 'iovec-cleanup' into 'master'
...
eliminate export function for struct iovec
See merge request redox-os/relibc!1272
2026-05-06 06:15:48 -06:00
auronandace
d1ff2d0a0a
verify sys_wait header includes
2026-05-06 12:26:40 +01:00
auronandace
b09b1fb0c7
add documentation for fnmatch
2026-05-06 11:42:12 +01:00
auronandace
e1d26137b4
eliminate export function for struct iovec
2026-05-06 08:57:33 +01:00
auronandace
b8a767fced
eliminate export function struct workaround for timespec
2026-05-06 08:17:26 +01:00
Connor-GH
e2486379b1
Remove redundant code and impl them in terms of *at functions
...
The following functions were replaced with their *at variants or
similar:
- lstat -> lstat -> fstatat
- stat -> stat -> fstatat
- fstat -> fstatat
- fchmod -> fchmodat
- fchown -> fchownat
- lchown -> fchownat
- mkfifo -> mkfifoat
- open -> openat
- renameat -> renameat2
- rmdir -> unlinkat
- unlink -> unlinkat
- symlink-> symlinkat
The `open_flags` logic for fstatat was redundant, as this is already
handled (and better so) in `openat2`.
Additionally, the fstatat test succeeds in os-test, and no longer
returns EINVAL. This is because `O_SYMLINK` is no longer
unconditionally passed like it was before. This is a problem because
redoxfs returns EINVAL if a node isn't a symlink but set `O_SYMLINK`.
2026-05-05 15:30:46 -05:00
Jeremy Soller
5312b86ee5
Merge branch 'fix-semaphore' into 'master'
...
include fcntl in semaphore header to fix includes
See merge request redox-os/relibc!1267
2026-05-05 11:49:13 -06:00
Connor-GH
03103893ef
add utimensat
...
This addition removes duplicated code and also passes an os-test.
The `AT_EMPTY_PATH` duplicated code will be taken care of in the future.
2026-05-05 10:42:32 -05:00
auronandace
aae576b4a0
include fcntl in semaphore header to fix includes
2026-05-05 16:00:24 +01:00
Wildan M
90cb143523
Unify alarm implementation
2026-05-05 09:35:50 +07:00
Jeremy Soller
4137ac1d8a
Merge branch 'qsort_r' into 'master'
...
Implement qsort_r
See merge request redox-os/relibc!1264
2026-05-05 06:42:28 -06:00
Wildan M
5c253e3cc8
Implement qsort_r
2026-05-05 02:54:17 +07:00
Wildan M
7aba041004
Implement utimensat
2026-05-05 02:02:43 +07:00
Connor-GH
1016fdf01e
fix test regression caused by !1250
...
MR https://gitlab.redox-os.org/redox-os/relibc/-/merge_requests/1250 was
done in order to try and patch out an `EINVAL` error, and it was
successful in doing so. Unfortunately, fixing one failure caused
another.
I will continue to do what I can to make relibc's FS layer and redoxFS
smaller, as they have way too much duplicated code.
2026-05-04 14:20:02 -05:00
Jeremy Soller
36d2efa334
Merge branch 'more-redox-pal-cleanups' into 'master'
...
platform/redox: migrate more functions to use their *at variants
See merge request redox-os/relibc!1261
2026-05-04 11:48:45 -06:00
Connor-GH
cf65eedbaf
platform/redox: migrate more functions to use their *at variants
...
Additionally, this adds the `SYMLOOP_MAX` constant in `limits.h` to
replace the `MAX_LEVEL` magic number used during symlink resolution.
`fstat` was kept because it is more difficult than the others to do a
drop-in replacement in terms of `fstatat` for since a naive approach
would cause mutual recursion.
2026-05-04 11:44:53 -05:00
auronandace
f6f4d8f71d
export struct via function
2026-05-04 15:22:19 +01:00
auronandace
2dd36566de
split out timeval to reduce namespace pollution
2026-05-04 15:05:30 +01:00
Jeremy Soller
4bff41fe78
Merge branch 'epoll-event-needless-update' into 'master'
...
address needless_update clippy lint for epoll_event
See merge request redox-os/relibc!1259
2026-05-04 07:32:44 -06:00
Jeremy Soller
a93268f247
Merge branch 'split-susecondst' into 'master'
...
split out suseconds_t for namespace pollution reduction preparation
See merge request redox-os/relibc!1258
2026-05-04 07:07:24 -06:00
auronandace
400448b011
address needless_update clippy lint for epoll_event
2026-05-04 14:05:41 +01:00
auronandace
1cd9d8769d
split out suseconds_t for namespace pollution reduction preparation
2026-05-04 13:38:33 +01:00
auronandace
1edd7a63d7
verify time header includes
2026-05-04 09:05:32 +01:00
auronandace
8cec0c2280
import socklen_t from sys_socket instead of bits
2026-05-03 16:54:46 +01:00
auronandace
5ad5058324
fix typo
2026-05-03 14:43:34 +01:00
auronandace
05b8ffbcb7
import timespec from time rather than bits
2026-05-03 14:33:39 +01:00