4lDO2
|
eee603efa8
|
Remove the "-1 errno" e() function.
|
2024-09-27 15:35:04 +02:00 |
|
4lDO2
|
070b4cd05c
|
Switch PalPtrace to Rusty error handling.
|
2024-09-27 15:35:04 +02:00 |
|
4lDO2
|
d474163e0e
|
Switch to Rusty error handling in PalSocket.
|
2024-09-27 15:35:01 +02:00 |
|
4lDO2
|
4da5ad37d1
|
Convert PalEpoll to Rusty error handling.
|
2024-09-27 11:22:36 +02:00 |
|
4lDO2
|
1a46a24c70
|
Rustify PalSignal error handling.
|
2024-09-27 11:12:19 +02:00 |
|
4lDO2
|
8b8b00da01
|
Use unsigned return values in read()-like Pal fns.
Returning a negative number of bytes makes absolutely no sense, besides
the "-1 and errno" pattern, which is now converted to Result<_, Errno>.
|
2024-09-27 10:39:26 +02:00 |
|
4lDO2
|
986754e7b3
|
Remove all remaining errno interfaces from Pal.
|
2024-09-27 10:29:32 +02:00 |
|
4lDO2
|
313b32c815
|
Switch almost all of Pal to Rusty error handling.
|
2024-09-27 10:19:44 +02:00 |
|
4lDO2
|
4b687c25d2
|
Convert more Pal methods to Result.
|
2024-09-26 16:24:01 +02:00 |
|
4lDO2
|
6e5959b3fa
|
Convert a bunch of c_int to Result<(), Errno>.
|
2024-09-26 16:21:34 +02:00 |
|
4lDO2
|
ec216e56e2
|
Preserve umask across execv.
|
2024-09-25 20:28:50 +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
|
fed49a29af
|
Properly deallocate thread stack on pthread_exit.
|
2024-09-24 19:34:53 +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 |
|
4lDO2
|
09108634cf
|
Set uc_stack properly.
POSIX does not appear to explicitly mention that this should be the
sigaltstack, but other Linux appears to treat it as the sigaltstack.
|
2024-09-24 19:34:52 +02:00 |
|
4lDO2
|
30caf55429
|
Set siginfo_t.si_{pid,uid} from kill signals too.
|
2024-09-24 19:34:51 +02:00 |
|
4lDO2
|
d0db6a1ce0
|
Fix i686.
|
2024-09-24 19:34:51 +02:00 |
|
4lDO2
|
f6761407e5
|
Pass si_pid to all realtime signals.
|
2024-09-24 19:34:51 +02:00 |
|
4lDO2
|
6fe7c264f6
|
Pass si_code to siginfo_t struct.
|
2024-09-24 19:34:51 +02:00 |
|
4lDO2
|
abc2ec7bb5
|
Add prototype ucontext_t support.
|
2024-09-24 19:34:51 +02:00 |
|
4lDO2
|
13e7b77643
|
Implement basic support for (kernel) rt signals.
|
2024-09-24 19:34:50 +02:00 |
|
4lDO2
|
75b2dcaa45
|
WIP: implement sigqueue
|
2024-09-24 19:34:23 +02:00 |
|
Jeremy Soller
|
1e97bae11b
|
Merge branch 'kek/chroot3' into 'master'
Add capability to set the default scheme
See merge request redox-os/relibc!510
|
2024-09-23 14:36:45 +00:00 |
|
Kamil Koczurek
|
408a7b2ab6
|
Add capability to set the default scheme
|
2024-09-23 14:36:45 +00:00 |
|
Peter Limkilde Svendsen
|
0a23acd401
|
Implement iterators on pointers
|
2024-09-22 23:42:28 +00:00 |
|
4lDO2
|
7e38bb1476
|
Fix Linux compilation.
|
2024-09-21 13:42:43 +02:00 |
|
Jeremy Soller
|
4d29614ea8
|
Better stub for sigsuspend on redox
|
2024-09-19 21:01:07 -06:00 |
|
Jeremy Soller
|
1ac8c4834b
|
Format
|
2024-09-19 16:09:11 -06:00 |
|
Jeremy Soller
|
1b7d059707
|
Add getrusage
|
2024-09-19 16:08:54 -06:00 |
|
Jeremy Soller
|
8a0b2dcbd0
|
Fix pthread_cleanup macros
|
2024-09-19 15:52:42 -06:00 |
|
Jeremy Soller
|
110aeadaa6
|
Fix backslashes in bits_pthread macros
|
2024-09-19 15:45:20 -06:00 |
|
Jeremy Soller
|
73fcc88aa2
|
Add O_SYNC for redox
|
2024-09-19 15:44:46 -06:00 |
|
Jeremy Soller
|
eb33ac46f9
|
Export struct siginfo
|
2024-09-19 15:16:47 -06:00 |
|
Jeremy Soller
|
7371cbcab0
|
unistd: implement daemon function
|
2024-09-19 14:59:04 -06:00 |
|
Jeremy Soller
|
35743d7a18
|
Sync errno in File functions
|
2024-09-18 14:33:56 -06:00 |
|
4lDO2
|
0ded9780f1
|
Use multiline string in unistd config.
|
2024-09-14 00:49:08 +02:00 |
|
4lDO2
|
a9f05d3c3c
|
Add trailing NUL byte check on Redox.
|
2024-09-12 16:10:25 +02:00 |
|
Jeremy Soller
|
4935b98180
|
Make ino_t be c_ulonglong
|
2024-09-11 16:14:03 -06:00 |
|
Jeremy Soller
|
0b03a68150
|
Fix unistd header generation
|
2024-09-11 15:59:31 -06:00 |
|
4lDO2
|
c0e7af5289
|
Backwards-compatibly rewrite getdents to use special syscall.
|
2024-09-11 23:32:19 +02:00 |
|
4lDO2
|
198caa3bc5
|
Rustify Sys::open and some fs:: error handling.
|
2024-09-11 23:22:32 +02:00 |
|
4lDO2
|
b9653e689b
|
Implement From<Errno> for io::Error.
|
2024-09-11 23:22:32 +02:00 |
|
4lDO2
|
4bd0d2a1ef
|
Move pthread::Errno to separate module.
|
2024-09-11 23:22:29 +02:00 |
|
Jeremy Soller
|
e73b891e77
|
Merge branch 'unsafe-blocks-in-sync' into 'master'
use unsafe blocks in `sync/`
See merge request redox-os/relibc!505
|
2024-09-11 21:21:36 +00:00 |
|
Jeremy Soller
|
d6ef87ad3c
|
Merge branch 'feat/ignore_neg_fd_poll' into 'master'
feat: ignore negative fd and clear its revents in poll(2)
See merge request redox-os/relibc!484
|
2024-09-11 21:17:31 +00:00 |
|