Commit Graph

124 Commits

Author SHA1 Message Date
sourceturner 885118ccac add missing #[deprecated] annotations
add #[deprecated] annotation to functions that are marked
as 'legacy' or 'obsolecent' (according to their comments)
2026-04-20 21:37:52 +00:00
Wildan M f59dfab490 Move sig_atomic_t from stdint 2026-04-18 02:31:35 +07:00
Wildan M 3b5acbdb40 Fix type for jump 2026-04-15 11:16:31 +07:00
Wildan M ff43be1be0 Use native types for signal.h 2026-04-15 10:05:35 +07:00
Wildan M a3d2429dec Fix signal.h include headers 2026-04-14 06:22:26 +07:00
auronandace 1eed88923a verify signal header includes 2026-04-13 08:52:53 +01:00
auronandace 49f96a96e6 rename bits_time to bits_timespec for consistency 2026-04-09 10:50:04 +01:00
bjorn3 f8626fd9d0 Move setjmp and sigsetjmp together
This fixes compilation of relibc on arm64. On arm64 the reference from
sigsetjmp to setjmp has a limited range.
2026-03-29 16:18:21 +02:00
auronandace 01ea72ecc7 silence transmute warning lints 2026-03-17 08:11:42 +00:00
auronandace d76417587c pty and signal header cleanup 2026-02-28 14:36:46 +00:00
auronandace 4073242e8b signal header cleanup 2026-02-24 16:35:06 +00:00
auronandace 47b23ae546 apply precedence clippy lint 2026-02-20 11:27:43 +00:00
auronandace 4b3d1aa5ca change sa_flags in sigaction to int to match spec 2026-02-19 09:46:56 +00:00
auronandace bc25b5a7ed add export renames to cbindgen files 2026-02-12 13:33:54 +00:00
auronandace 1191d8e1b4 extract timespec to a bits header 2026-02-12 13:07:24 +00:00
auronandace 11f28342f9 unused_imports redox follow-up 2026-02-10 16:29:37 +00:00
auronandace 7d1582a555 add unused_imports lint 2026-02-10 15:55:32 +00:00
auronandace 50cd1ce1b0 add unpredictable_function_pointer_comparisons lint 2026-02-07 19:38:07 +00:00
4lDO2 0b8bae2092 Fix RLCT_SIGNAL_MASK off-by-one. 2026-02-05 12:09:40 +01:00
auronandace 506df9a175 signal and wchar header cleanup 2026-02-03 11:11:41 +00:00
Ron Williams c7a262ac9d include realtime signals in sigismember range 2026-02-01 06:59:22 -07: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
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
sourceturner defd2ce7c3 Deny deny-unsafe_op_in_unsafe_fn on the crate level 2026-01-21 00:41:57 +01:00
sourceturner b3add24654 Use unsafe blocks in signal.h implementation 2026-01-16 21:49:01 +00:00
auronandace bf1462c763 only import the needed types 2025-12-19 10:19:56 +00:00
auronandace 34a16aca5d update and add spec links 2025-12-19 10:13:35 +00:00
Wildan M 8e4e43dcc4 Fix Dl_info alias not exported 2025-12-05 16:14:29 +07:00
Wildan Mubarok 2efcd20fbc Implement POSIX timer functions 2025-10-15 08:10:06 -06:00
Jeremy Soller 82084440ad Support nightly-2025-10-03 2025-10-03 21:51:10 -06:00
Jeremy Soller 0a13e2574f Fix sigsetjmp definition on riscv64 2025-09-07 20:04:10 -06:00
Ron Williams 770dc71816 Fix CI, Add signal.h constants 2025-07-11 20:28:45 -06:00
Jeremy Soller be49c1936a Make x86_64 mcontext not opaque 2025-05-13 10:05:32 -06:00
4lDO2 e6c06a7cf7 Fix signals for spawned threads, and async signal waiting. 2025-04-19 19:27:03 +02:00
4lDO2 26c92af7ba Fix SigSet length. 2025-04-19 19:27:01 +02:00
bjorn3 ea4c41686c Rustfmt 2025-04-12 22:15:05 +02:00
Jeremy Soller ed575e9259 Implement sigsetjmp on all archs 2025-04-11 20:18:27 -06:00
Bendeguz Pisch 35a3efd936 Implement sigsetjmp and siglongjmp for X64 2025-01-04 00:29:19 +00:00
Josh Megnauth 5348273ccc Emit C attributes via cbindgen 2024-11-17 16:15:07 +00:00
Andrey Turkin a4122753e6 Initial RISC-V64 support 2024-10-11 06:44:54 +03:00
4lDO2 07af4e49f7 Add sigaltstack test. 2024-09-28 16:51:17 +02:00
4lDO2 1a46a24c70 Rustify PalSignal error handling. 2024-09-27 11:12:19 +02:00
4lDO2 7fa5b679cc Move umask to a regular global variable.
The umask value is per-process, so because all POSIX open-like functions
now occur via relibc, this is valid.
2024-09-25 19:39:41 +02:00
4lDO2 af6435e12d Implement psignal and psiginfo. 2024-09-24 19:34:53 +02:00
4lDO2 2b7a1ea94b Fix sigsuspend and add it to the sigqueue test. 2024-09-24 19:34:53 +02:00
4lDO2 9701e9c544 Add sigtimedwait to test, and various fixes. 2024-09-24 19:34:53 +02:00
4lDO2 5c78356290 Implement sigtimedwait on Redox. 2024-09-24 19:34:52 +02:00
4lDO2 8e5ddbd654 Implement sigsuspend. 2024-09-24 19:34:52 +02:00
4lDO2 e860a19e8f WIP: Update i686 signal asm. 2024-09-24 19:34:52 +02:00