Commit Graph

21 Commits

Author SHA1 Message Date
Wildan M c47b492717 Disable spawn test temporarily 2026-06-21 14:54:58 +07:00
R Aadarsh 484fe42c0e * Add docs
* Change safety signatures

* Change tests

* Correctly set u/g id
2026-06-15 17:08:11 +05:30
R Aadarsh ad151e0de8 * Correctly determine argv[0]
- If the function called is `posix_spawnp`, and the passed program name **does not** contain a slash, the path is used unmodified, and the path to the directory containing the program on $PATH is prepended to the program's path and assigned to `argv[0]. If the program name **does** contain a slash, the path is absolutised relative to CWD, and assigned to argv[0]

    - If the function called is `posix_spawn`, the behaviour is as described above in the case where path contains a slash

* Add initial tests
2026-06-15 17:08:11 +05:30
R Aadarsh df78820f01 Add posix_spawn_file_actions_t and posix_spawnattr_t and tests 2026-06-15 17:08:11 +05:30
Jeremy Soller 646687f138 Merge branch 'sem' into 'master'
Fix sem_trywait and sem_wait error handling

See merge request redox-os/relibc!1424
2026-06-05 20:31:58 -06:00
Wildan M 85e6e1e675 Fix sem_trywait and sem_wait error handling 2026-06-05 09:21:50 +07:00
sourceturner ef7b690626 add arpa_inet/inet_addr unit test 2026-06-04 17:33:37 +02:00
Jeremy Soller fafc4c2c00 Merge branch 'epoll-del-test' into 'master'
Add test for EPOLL_CTL_DEL

See merge request redox-os/relibc!1309
2026-06-03 19:27:58 -06:00
Wildan M 6acf560ed0 Fix pthread init and null for C++ 2026-06-04 00:38:58 +07:00
sourceturner abbae3dce6 add basic unit test for posix timers (time/timer) 2026-05-24 19:12:05 +02:00
Wildan M 0f03bff838 Implement pselect and write test 2026-05-22 03:29:57 +07:00
Wildan M bc6ea5ba99 Implement key_t, sys/ipc and sys/shm 2026-05-20 18:51:53 +07:00
Wildan M 74d34ca6e0 Add test for EPOLL_CTL_DEL 2026-05-10 18:02:57 +07:00
Wildan M 19da3a5551 Fix UB in utimes and write test 2026-05-10 08:05:05 +07:00
Wildan M e9c3960c65 Implement nice and write test 2026-05-09 01:23:37 +07:00
Wildan M 7aba041004 Implement utimensat 2026-05-05 02:02:43 +07:00
Wildan M 043ec22076 FIx sigjmp_buf and add tests 2026-05-02 16:59:48 +07:00
Mustafa öz 03d56f4887 Add fmtmsg 2026-05-01 06:00:11 +01:00
Wildan M 598d34d8a0 Fix open permission and add umask test 2026-04-30 16:08:05 +07:00
Zero aca4df91cf feat(time): Add process_pid to timer_internal_t
Add `process_pid` field to `timer_internal_t` struct.
This field is used by the `alarm()` function to specify the PID of the process
to which the `SIGALRM` signal should be delivered.
2026-03-31 00:19:35 +02:00
Wildan M d7c14e94af Wrap tests in a separate build directory 2026-03-25 03:05:47 +07:00