Commit Graph

3252 Commits

Author SHA1 Message Date
auronandace df380e5dd0 split out non-POSIX preadv and pwritev to a bits header 2026-06-23 10:48:23 +01:00
Mathew John Roberts 777c1103d6 Merge branch 'sysselect-func-doc' into 'master'
add descriptions to sys_select functions

See merge request redox-os/relibc!1486
2026-06-23 06:40:19 +01:00
Mathew John Roberts 3b1be86ed6 Merge branch 'sig-const-doc' into 'master'
add descriptions to remaining signals constants and structs

See merge request redox-os/relibc!1485
2026-06-23 06:40:05 +01:00
Wildan M b5e764d967 Fix posix_spawn launching sh script 2026-06-23 12:22:31 +07:00
Wildan M c234ace91d Use ArrayString for Cwd 2026-06-22 22:13:24 +07:00
auronandace 1cff1ab1d5 add descriptions to sys_select functions 2026-06-22 14:57:46 +01:00
auronandace 24f93c0b08 add descriptions to remaining signals constants and structs 2026-06-22 13:55:28 +01:00
Mathew John Roberts 4e4ed8b8c7 Merge branch 'dis-spawn-test' into 'master'
Disable spawn test temporarily

See merge request redox-os/relibc!1484
2026-06-21 19:37:51 +01:00
Wildan M c47b492717 Disable spawn test temporarily 2026-06-21 14:54:58 +07:00
Wildan M 73a8c843a8 Fix relative program path handling in posix_spawn 2026-06-21 14:12:05 +07:00
Wildan M 5779743a9a Remove posix_spawn string allocation 2026-06-20 12:31:32 +07:00
Wildan M 56d5fe6bce Fix posix_spawn various issues 2026-06-20 07:05:28 +07:00
Wildan M fdcc92cd3b Add arrayvec and split PATH env logic 2026-06-20 06:38:50 +07:00
auronandace bceef31d06 add descriptions to fcntl.h functions 2026-06-19 13:46:39 +01:00
auronandace 3d996626d2 cargo fmt 2026-06-19 12:07:32 +01:00
auronandace e0225f1b15 unify and document most of the signal constants 2026-06-19 12:03:38 +01:00
Mathew John Roberts 99675e2b80 Merge branch 'spawn-doc' into 'master'
add descriptions to the spawn header functions

See merge request redox-os/relibc!1473
2026-06-18 17:05:02 +01:00
auronandace ae4a71dc1e add descriptions of sys_wait constants, macros and functions 2026-06-18 14:19:16 +01:00
Mathew John Roberts f638679a51 Merge branch 'use-symloopmax' into 'master'
use SYMLOOP_MAX in resolve_sym_links in redox path

See merge request redox-os/relibc!1477
2026-06-18 13:18:47 +01:00
Mathew John Roberts 09ae605623 Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Wildan Mubarok <willnode@wellosoft.net>
2026-06-18 13:02:25 +01:00
Mathew John Roberts 1426003c61 Merge branch 'pthread-barrier-doc' into 'master'
add descriptions to the pthread barrier functions

See merge request redox-os/relibc!1476
2026-06-18 12:27:34 +01:00
auronandace d0760c2b90 fix amount 2026-06-18 12:25:40 +01:00
auronandace c84f1f41fb use SYMLOOP_MAX in resolve_sym_links in redox path 2026-06-18 12:06:56 +01:00
auronandace 3759fd8867 add descriptions to the pthread barrier functions 2026-06-18 11:20:51 +01:00
auronandace ceb500364c add documentation for some signal constants and structs 2026-06-18 09:10:31 +01:00
auronandace 35425db05e add descriptions to the spawn header functions 2026-06-17 13:07:08 +01:00
auronandace 7315ad5155 split out uint32_t for socklen_t for sys_socket header 2026-06-17 09:18:37 +01:00
auronandace 40f22b62ab set style to Type instead of Tag 2026-06-17 08:08:34 +01:00
auronandace e69aba445e spawn header cleanup 2026-06-17 07:43:35 +01:00
Mathew John Roberts a5d07b6a84 Merge branch 'split-intptrt' into 'master'
split out intptr_t from stdint.h for sys/shm.h

Closes #289

See merge request redox-os/relibc!1470
2026-06-17 06:21:46 +01:00
Mathew John Roberts da55b3be0e Merge branch 'spawn' into 'master'
Add support for `posix_spawn` and `posix_spawnp` (Redox OS)

Closes #192

See merge request redox-os/relibc!1333
2026-06-17 06:18:59 +01:00
auronandace f2310befc3 split out intptr_t from stdint.h for sys/shm.h 2026-06-16 20:00:20 +01:00
auronandace 47b5f56d0b move stdarg header from C to cbindgen and create valist bits header 2026-06-16 11:35:40 +01:00
Mathew John Roberts 038bae3cd6 Merge branch 'libgen-doc' into 'master'
add descriptions to libgen functions

See merge request redox-os/relibc!1468
2026-06-16 10:49:03 +01:00
auronandace eee0634175 add descriptions to libgen functions 2026-06-16 09:45:43 +01:00
auronandace f5c0c1a9c9 split out ucred to a bits header 2026-06-16 08:04:26 +01:00
Mathew John Roberts 65e0136466 Merge branch 'inttypes' into 'master'
Fix inttypes macros for i586

See merge request redox-os/relibc!1466
2026-06-16 06:33:49 +01:00
Wildan M 812870bf6e Fix inttypes macros for i586 2026-06-16 07:22:54 +07:00
Mathew John Roberts 39cbed50d7 Merge branch 'inttypes-doc' into 'master'
add descriptions to inttypes header and related functions

See merge request redox-os/relibc!1465
2026-06-15 15:49:30 +01:00
Mathew John Roberts f2d8dac37c Merge branch 'sys-un-utsname-doc' into 'master'
add descriptions to sys_un and sys_utsname

See merge request redox-os/relibc!1464
2026-06-15 15:30:25 +01:00
auronandace c953dff5dd cargo fmt 2026-06-15 15:13:37 +01:00
auronandace 68758f3f90 add descriptions to inttypes header and related functions 2026-06-15 15:09:18 +01:00
Mathew John Roberts 527a268a7a Merge branch 'implicit-clone' into 'master'
add implicit_clone clippy lint and tackle a few others

See merge request redox-os/relibc!1463
2026-06-15 13:50:03 +01:00
auronandace 3e06b6d5d0 add descriptions to sys_un and sys_utsname 2026-06-15 13:32:06 +01:00
R Aadarsh 789be35518 Add comments to cbindgen.toml 2026-06-15 17:08:11 +05:30
R Aadarsh 1ff7d7bba0 * Fix pgroup inheritance
* Remove unnecessary nesting

* Make the child process explicitly inherit parent's u/g id
2026-06-15 17:08:11 +05:30
R Aadarsh 58fefac9f5 Enable sched params change 2026-06-15 17:08:11 +05:30
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 6d14437f34 Implement u/g id change based on executable's s(u/g)id mode bit 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