Commit Graph

781 Commits

Author SHA1 Message Date
Peter Limkilde Svendsen abb1c62ff7 Add docs for PalSocket 2026-04-08 23:24:50 +02:00
Mathew John Roberts d6261d3868 Merge branch 'pal-docs' into 'master'
Document Pal methods

See merge request redox-os/relibc!1165
2026-04-08 19:48:47 +01:00
Mathew John Roberts 0b802afc7f Merge branch 'platform-rw-docs' into 'master'
Document platform readers and writers

See merge request redox-os/relibc!1164
2026-04-08 19:46:58 +01:00
Peter Limkilde Svendsen 2d2aa5592b Document Pal methods 2026-04-06 20:12:04 +02:00
Peter Limkilde Svendsen bbb9426e6a Document platform readers and writers 2026-04-06 01:02:42 +02:00
Peter Limkilde Svendsen 8757c0facf Formatting 2026-04-05 16:44:09 +02:00
Wildan M f348d880e7 Fix compilation 2026-04-05 20:03:40 +07:00
Jeremy Soller 933a53bfc0 Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Mathew John Roberts <auronandace@duck.com>
2026-04-05 07:51:20 -06:00
Benton60 2b63e37410 fix behavior to always nullify the address regardless of what is passed in. 2026-04-05 01:26:45 -04:00
Benton60 7c733fc3b3 adding support for disconnecting via AF_UNSPEC 2026-04-04 18:27:01 -04:00
Peter Limkilde Svendsen 1f3cfcafb2 Platform types docs 2026-04-02 08:47:07 -06:00
Jeremy Soller 0b880eb17d Merge branch 'split-iovec' into 'master'
split out iovec from sys_uio header

See merge request redox-os/relibc!1147
2026-04-01 08:41:26 -06:00
auronandace 5d22f7096b split out iovec from sys_uio header 2026-03-31 11:03:41 +01:00
Zero caa5ef8afb chore(signal): Move alarm function and adding the todo 2026-03-31 00:19:35 +02: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
Zero e0c9b0ed03 feat(signal): Implement alarm() and timer_settime logic
Adds the implementation for the `alarm()` function and its underlying
`alarm_timespec` helper. This involves managing a process-global POSIX timer
to deliver SIGALRM signals.
2026-03-31 00:09:07 +02:00
Wildan M 464c840697 Fix linux compilation 2026-03-29 14:39:43 +07:00
Wildan M b2de3d6e2e Implement exec cache from ld_so cache 2026-03-29 13:11:36 +07:00
auronandace 93a8b4b7c6 cargo fmt 2026-03-28 08:21:13 +00:00
Benton60 5de398c6a9 reserve extra space for scheme path to fix os-test/sys_socket/recvfrom 2026-03-27 09:49:47 -04:00
auronandace 44bb9d8d63 cargo fmt 2026-03-25 13:38:12 +00:00
Benton60 0addd84414 update recvfrom to route calls through recvmsg 2026-03-23 23:37:15 -04:00
Wildan M 0db44c3f72 Fix fchmodat with AT_EMPTY_PATH 2026-03-17 03:12:34 +07:00
auronandace 904604020b eliminate more range loops 2026-03-16 08:26:05 +00:00
Connor-GH a60b7cefc1 uname: update to reflect version info given from scheme
We recently updated the kernel to give the "version" info in the
uname scheme. Now, we also put this info in the `utsname` struct for the
`uname` function.
2026-03-15 15:49:10 -05:00
Ibuki.O ac88c8f670 refactor: Migrate fstat*/fchmod/getdents/ftruncate/futimens to stdfscall 2026-03-14 13:35:39 +09:00
auronandace 3ea60eeb72 timespec clone followup for redox 2026-03-11 14:51:06 +00:00
auronandace ae91f48fae remove duplicate socklen_t definition 2026-03-11 12:42:53 +00:00
auronandace bd4fb1f660 fix a rust lint and a clippy lint 2026-03-10 12:11:03 +00:00
Wildan M fb07b5f982 Implement getgroups 2026-03-07 11:02:50 +07:00
Wildan M b93e24b1d6 Implement long double in printf 2026-03-04 22:03:31 +07:00
auronandace 1421463dac assorted cleanups and add some lints 2026-03-02 10:01:05 +00:00
Ibuki Omatsu 3385c66c6c refactor: Reimplement the *at functions using openat and CWD fd 2026-03-01 07:08:31 -07:00
Ibuki Omatsu cab0021461 refactor: Move protocols into libredox 2026-02-28 08:04:47 -07:00
auronandace 2d3ee10aef platform and pthread cleanup 2026-02-27 21:38:16 +00:00
auronandace 1195ea9b9f tar sys_uio and sys_un header cleanup 2026-02-27 21:10:56 +00:00
Anhad Singh c469792043 feat(exec/shebang): handle multiple whitespaces
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-02-28 00:14:28 +11:00
Anhad Singh 79c3674c10 feat(redox/exec): replace argv[0] with script
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-02-28 00:14:21 +11:00
Ibuki Omatsu bd9c6f1440 refactor: Make processes have cwd as a capability 2026-02-26 06:09:27 -07:00
Jeremy Soller 1ff26de318 Merge branch 'flock' into 'master'
feat(redox): flocking

See merge request redox-os/relibc!1037
2026-02-25 08:20:46 -07:00
Jeremy Soller e8fb4604fb Merge branch 'fix-mprotect' into 'master'
fix: return EINVAL for invalid `prot` of `mprotect`

Closes #259

See merge request redox-os/relibc!976
2026-02-24 08:10:46 -07:00
Anhad Singh d1c031f1b5 feat(redox): F_{OFD}_{GETLK,SETLK}
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-02-25 01:43:45 +11:00
Anhad Singh 73ef851d59 feat(redox): F_OFD_SETLK
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-02-24 22:36:19 +11:00
Wildan M 8810e143ec Fix blkcnt_t type 2026-02-24 07:47:35 +07:00
Anhad Singh aa317238f1 feat(redox/fcntl): F_SETLK
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-02-23 23:55:11 +11:00
auronandace dc4542e81c allocator and linux signal cleanup in platform 2026-02-22 08:43:20 +00:00
auronandace 874e11b147 grp and inttypes cleanup 2026-02-19 15:51:33 +00:00
Jeremy Soller 28ffabebf6 Merge branch 'remove-redox-platform-clone' into 'master'
remove unneeded file

See merge request redox-os/relibc!1018
2026-02-19 06:36:59 -07:00
auronandace c8d9b4deca remove unused import 2026-02-19 12:51:12 +00:00
auronandace 2d647590a7 remove reference to clone 2026-02-19 12:20:54 +00:00