Commit Graph

2827 Commits

Author SHA1 Message Date
Jeremy Soller cafdcd35d1 Expose setegid and seteuid 2025-05-02 11:36:51 -06:00
Jeremy Soller a2e040ce4d Merge branch 'strto-detect-endptr' into 'master'
Fix strtol/ul endptr with detected base

See merge request redox-os/relibc!656
2025-05-02 10:36:05 -06:00
Jeremy Soller 863171105d Move htonl, htons, ntohl, ntohs to netinet/in.h to support more packages 2025-05-02 09:49:37 -06:00
Arne de Bruijn de3dd54266 Fix strtol/ul endptr with detected base
The "0" or "0x" characters with base 0 were not accounted for in the
returned endptr value.
2025-05-02 12:18:34 +02:00
Jeremy Soller 58572ceefc Define _SC_NPROCESSORS_CONF 2025-05-01 14:54:04 -06:00
Jeremy Soller c06155bd66 Merge branch 'alarm-unimplemented' into 'master'
Mark setitimer as unimplemented, obsolete

See merge request redox-os/relibc!654
2025-04-24 01:22:57 +00:00
Ron Williams c779c1d941 Mark setitimer as unimplemented, obsolete 2025-04-21 23:29:35 -07:00
4lDO2 f216665916 No-op, don't exit, as result of SIG_DFL SIGCONT. 2025-04-21 15:23:28 +02:00
Jeremy Soller 4dd8cbe15e Merge branch 'no_suid' into 'master'
Remove the code to use escalated for suid binaries

See merge request redox-os/relibc!653
2025-04-21 12:21:21 +00:00
bjorn3 f51690c3a8 Remove the code to use escalated for suid binaries 2025-04-21 11:07:01 +02:00
Jeremy Soller 4eb7e73afb Merge branch 'signals-tests-2' into 'master'
Add a WIP signals test suite

See merge request redox-os/relibc!652
2025-04-20 20:00:00 +00:00
4lDO2 8863a8967f Fix sigpause-suspend. 2025-04-20 21:17:40 +02:00
4lDO2 3947cda43a Fix sigpause-revert test. 2025-04-20 21:17:40 +02:00
4lDO2 95d2b59120 Improvements to sigpause and sigrelse tests. 2025-04-20 21:17:40 +02:00
4lDO2 799a9ef8d5 Misc improvements. 2025-04-20 21:17:40 +02:00
4lDO2 d1081b278c Fix sigset-5 and sigset-10. 2025-04-20 21:17:39 +02:00
4lDO2 cb23a518c0 Improve sigprocmask-9 test. 2025-04-20 21:17:39 +02:00
4lDO2 df228ddd79 Add remaining tests. 2025-04-20 21:17:39 +02:00
4lDO2 240a41861c Rebase, misc fixes for test suite. 2025-04-20 21:17:39 +02:00
Josh Williams 77cf9fc2a1 added tests to makefile and run_tests 2025-04-20 21:17:39 +02:00
Josh Williams 38e3320fb0 fixed sigprocmask-10 on linux 2025-04-20 21:17:39 +02:00
Josh Williams 493839baf5 fixed killpg-child on linux 2025-04-20 21:17:39 +02:00
Josh Williams a017dd1909 most recent updates to sigset-5 and 10 2025-04-20 21:17:39 +02:00
Josh Williams 70b997b249 switched to master makefile, run_tests and test_helpers 2025-04-20 21:17:39 +02:00
Josh Williams 2d3374f176 add tests to makefile and run_tests 2025-04-20 21:17:38 +02:00
Josh Williams 2bc44dba9d modify makefile and run_tests
fix compiler warnings
2025-04-20 21:17:38 +02:00
Josh Williams a2e19224a4 add signals-tests to makefile and run_tests 2025-04-20 21:17:38 +02:00
Josh Williams a7e9135bc9 clean up more tests 2025-04-20 21:17:38 +02:00
Josh Williams 6f787d20e5 clean up some tests 2025-04-20 21:17:38 +02:00
Josh Williams 9116eaa66d clean up a bunch of tests 2025-04-20 21:17:38 +02:00
Josh Williams 901b8099a2 add stdint.h to test_helpers
add tests for signals
2025-04-20 21:17:35 +02:00
4lDO2 32c5e89c82 Return ID of new session in setsid. 2025-04-20 17:10:51 +02:00
4lDO2 696ae4eca1 Add DisableSetpgid call. 2025-04-20 16:24:46 +02:00
Jacob Lorentzon a9fd150c91 Merge branch 'redox_cur_procfd_v0' into 'master'
Add redox_cur_procfd_v0 method to get own proc_fd

See merge request redox-os/relibc!651
2025-04-20 14:22:13 +00:00
bjorn3 4755d1ae24 Add redox_cur_procfd_v0 method to get own proc_fd 2025-04-20 16:19:45 +02:00
4lDO2 a30f13ee9b Fix setuid. 2025-04-20 14:00:35 +02:00
Jeremy Soller 040009ab3d Merge branch 'userspace_proc' into 'master'
Use process manager

See merge request redox-os/relibc!649
2025-04-19 18:04:40 +00:00
4lDO2 9e73f93c5c Use redox-os/syscall git dep. 2025-04-19 19:27:23 +02:00
4lDO2 8f234edf69 Fix riscv64 fork asm. 2025-04-19 19:27:04 +02:00
4lDO2 2fe8dc8f6e Add (untested) riscv64 sighandler SYS_CALL asm. 2025-04-19 19:27:03 +02:00
4lDO2 0e0246bc69 Let procmgr handle process names. 2025-04-19 19:27:03 +02:00
4lDO2 8cfc7e8fac Do not treat ppid as constant. 2025-04-19 19:27:03 +02:00
4lDO2 aa034fccc8 Compile on riscv64gc. 2025-04-19 19:27:03 +02:00
4lDO2 e6c06a7cf7 Fix signals for spawned threads, and async signal waiting. 2025-04-19 19:27:03 +02:00
4lDO2 35357b2f14 Clear pending when act becomes Ign (no multi-thread). 2025-04-19 19:27:03 +02:00
4lDO2 a1937f438c Allow read-only sigaction for SIG{KILL,STOP}. 2025-04-19 19:27:03 +02:00
4lDO2 8f2d9ef1db Ensure allowset bits for SIGSTOP and SIGKILL are always set. 2025-04-19 19:27:03 +02:00
4lDO2 5dfc76dda8 Fix signal handlers after EINTR nanosleep. 2025-04-19 19:27:03 +02:00
4lDO2 c25b4c67e1 Add kill-waitpid test. 2025-04-19 19:27:02 +02:00
4lDO2 37b60b67e0 Add and fix test for kill&waitpid. 2025-04-19 19:27:02 +02:00