Commit Graph

2316 Commits

Author SHA1 Message Date
Jeremy Soller 38e1aeddb8 Merge branch 'syssocket-netdb-cleanup' into 'master'
sys_socket and netdb header cleanup

See merge request redox-os/relibc!938
2026-02-02 06:39:53 -07:00
auronandace 46edf9ba65 sys_socket and netdb header cleanup 2026-02-02 09:43:33 +00:00
auronandace 4927301713 fcntl and sys_syslog header cleanup 2026-02-02 08:53:28 +00:00
auronandace e492dd29ba define PTHREAD_STACK_MIN 2026-02-01 14:59:48 +00:00
Jeremy Soller 84de07395c Merge branch 'linux-time-fix' into 'master'
remove duplicate constant

Closes #247

See merge request redox-os/relibc!935
2026-02-01 07:00:54 -07:00
Ron Williams c7a262ac9d include realtime signals in sigismember range 2026-02-01 06:59:22 -07:00
auronandace e69d399654 remove duplicate constant 2026-02-01 08:37:48 +00:00
Ron Williams 810d5a7330 Remove SI_QUEUE and SI_USER from signal mod.rs 2026-01-31 22:58:49 +00:00
4lDO2 7f27471746 return awaited signal number in sigtimedwait 2026-01-31 18:50:14 +01:00
Jeremy Soller 2798dd118c Merge branch 'include-test' into 'master'
Add include test

See merge request redox-os/relibc!931
2026-01-30 11:58:15 -07:00
Wildan M 185265397d Add include test 2026-01-30 23:46:10 +07:00
Jeremy Soller 485187cb76 Merge branch 'fix-types-h' into 'master'
move timeval to sys_select

See merge request redox-os/relibc!930
2026-01-30 09:45:07 -07:00
Ron Williams 69c2e6cbba fix linux types.h 2026-01-30 16:31:54 +00:00
Ron Williams 2c3201eaeb move timeval to sys_select 2026-01-30 15:53:15 +00:00
nekluu 908b132f04 fix(poll): handle overflow in ppoll timeout 2026-01-30 06:41:13 +03:00
auronandace 8d7b86ffb3 remove Copy from RcltAttr 2026-01-29 13:07:54 +00:00
auronandace 17cc166fff widen unsafe block for pthread barrier test 2026-01-28 22:10:48 +00:00
auronandace b027b77dbf widen unsafe blocks to fix tzset test 2026-01-28 20:56:29 +00:00
auronandace a9d64bd3d4 sys_ptrace and ifaddrs header cleanup 2026-01-28 18:24:32 +00:00
auronandace 714a1b6766 sys_epoll and dl-tls header cleanup 2026-01-28 11:21:43 +00:00
Jeremy Soller dff1e17baa Merge branch 'master' into 'master'
misc(pthread/mutex): cleanup

See merge request redox-os/relibc!918
2026-01-27 09:18:29 -07:00
Anhad Singh 2f8f12e3c7 misc(pthread/mutex): cleanup
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-01-28 01:05:11 +11:00
Jeremy Soller 30097af0cd Merge branch 'wchar-cpp' into 'master'
Fixes to enable wide character in C++

See merge request redox-os/relibc!916
2026-01-27 06:04:01 -07:00
Jeremy Soller 199d635c84 Merge branch 'master' into 'master'
fix(pthread/mutex): broken `pthread_mutexattr_*`

See merge request redox-os/relibc!917
2026-01-27 04:11:49 -07:00
Anhad Singh d82240f228 fix(pthread/mutex): broken pthread_mutexattr_*
Regression of https://gitlab.redox-os.org/redox-os/relibc/-/merge_requests/890

* The unsafe block needs to be moved *outside* to make sure the `attr`
  is mutated.
* `RlctMutexAttr` was `Copy` which is not required.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-01-27 19:31:14 +11:00
Wildan M 1acf1d83cc Temporarily enable wcsftime and wcsxfrm 2026-01-27 15:27:45 +07:00
Wildan M 59bd6a62db Fix changing log level 2026-01-25 05:56:27 +07:00
Wildan M f15322453b Convert all println to log or todo 2026-01-25 05:27:38 +07:00
Wildan M 9711dcca51 Implement logger and todo macros 2026-01-25 04:55:18 +07:00
Wildan M 7b9402783d Add log crate, use it to all trace cmd 2026-01-24 22:39:05 +07:00
Connor-GH e5997cf828 unistd/mod.rs: implement posix_close
This is a valid implementation according to POSIX,
as long as we do not support `POSIX_CLOSE_RESTART`.
2026-01-23 15:52:54 -06:00
Connor-GH 6356142c79 stdio.h: add std{in,out,err} macros; regex.h: add REG_MINIMAL macro 2026-01-23 09:41:19 -06:00
Jeremy Soller 538fed80a0 Merge branch 'getaddrinfo-hang' into 'master'
Fix getaddrinfo hang due to infinite loop

See merge request redox-os/relibc!909
2026-01-23 00:25:10 -07:00
Anhad Singh f3d16d3fbd fix(pthread/tls): nit
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-01-23 14:29:35 +11:00
Anhad Singh 0f4a82b5e8 fix(pthread/tls): destructors
Also added tests for it.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-01-23 14:24:43 +11:00
Connor-GH 0baee310eb langinfo.h: add macros and a function for POSIX 2024
Additionally, the `CRNCYSTR` string was in the wrong place in
the string table. This has been fixed.

This completes all requirements for Sortie's os-test for the "include"
section of langinfo.
2026-01-22 18:11:32 -06:00
Jeremy Soller c2d759bfd1 Merge branch 'multiple_sigs' into 'master'
misc signal fixes

See merge request redox-os/relibc!873
2026-01-22 07:35:04 -07:00
Jacob Lorentzon eeba32b3a2 misc signal fixes 2026-01-22 07:35:04 -07:00
Connor-GH 7beaba6bce ctype/mod.rs: add locale_t type definition 2026-01-22 08:26:56 -06:00
Connor-GH 71d192fa4c ctype.h: add *_l family of functions
This commit adds all of the locale-based versions of the ctype
functions, like `isalpha_l`. This allows 14 more tests to pass for
os-test.
2026-01-22 07:39:24 -06:00
Wildan M 6a455159ae Fix getaddrinfo hang due to infinite loop 2026-01-22 16:48:13 +07:00
Connor-GH cfd291f698 ctype.h: add locale_t type 2026-01-21 19:20:10 -06:00
Connor-GH 89c0ff6570 psignal/psiginfo: complete TODOs and remove allocations
These implementations already passed the os-test test suite (and still
do after these changes), but I saw that they had some TODOs and some
overcomplicated code. If we want to be a fast libc, removing use of
`format!` where we can is likely a good first step because it
allocates memory.
2026-01-21 17:41:33 -06:00
Jeremy Soller ac7b3c2b74 Merge branch 'shadow-sysprocfs-cleanup' into 'master'
shadow and sys_procfs header cleanup

See merge request redox-os/relibc!901
2026-01-21 06:15:39 -07:00
auronandace f45bc46bfc shadow and sys_procfs header cleanup 2026-01-21 11:26:08 +00:00
auronandace cea71ae627 sgtty and sys_ioctl header cleanup 2026-01-21 10:50:36 +00:00
Jeremy Soller 3a8f64aa14 Merge branch 'namespace-improvement' into 'master'
Introduce namespace fd and related features

See merge request redox-os/relibc!797
2026-01-20 20:43:06 -07:00
Ibuki Omatsu 1bcb6dff78 Introduce namespace fd and related features 2026-01-20 20:43:05 -07:00
Jeremy Soller 4a50c8f313 Merge branch 'p12' into 'master'
fix(libc): use `ld.so`'s allocator

See merge request redox-os/relibc!882
2026-01-20 20:35:12 -07:00
sourceturner defd2ce7c3 Deny deny-unsafe_op_in_unsafe_fn on the crate level 2026-01-21 00:41:57 +01:00