Commit Graph

50 Commits

Author SHA1 Message Date
Wildan M c0cdc017d3 Adapt with new redox-path 2026-07-05 19:27:57 +07:00
Ibuki Omatsu fba233467a refactor: Move fd allocation logic into userspace 2026-07-01 08:08:23 -06:00
Ibuki Omatsu c2bcf91339 feat: Implement relpathat 2026-05-27 16:36:44 +02:00
auronandace e1d26137b4 eliminate export function for struct iovec 2026-05-06 08:57:33 +01:00
Connor-GH cf65eedbaf platform/redox: migrate more functions to use their *at variants
Additionally, this adds the `SYMLOOP_MAX` constant in `limits.h` to
replace the `MAX_LEVEL` magic number used during symlink resolution.

`fstat` was kept because it is more difficult than the others to do a
drop-in replacement in terms of `fstatat` for since a naive approach
would cause mutual recursion.
2026-05-04 11:44:53 -05:00
auronandace 05b8ffbcb7 import timespec from time rather than bits 2026-05-03 14:33:39 +01:00
Wildan M 7b0354ca3d Use type casts for timespec conversion 2026-05-03 03:09:52 +07:00
auronandace 49f96a96e6 rename bits_time to bits_timespec for consistency 2026-04-09 10:50:04 +01:00
auronandace 5d22f7096b split out iovec from sys_uio header 2026-03-31 11:03:41 +01:00
Ibuki.O ac88c8f670 refactor: Migrate fstat*/fchmod/getdents/ftruncate/futimens to stdfscall 2026-03-14 13:35:39 +09: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 6ed46304c0 add annotation to redox function as exception 2026-02-14 16:57:53 +00:00
auronandace bb48f68968 redox import fixes for timespec 2026-02-12 13:16:23 +00:00
auronandace 11f28342f9 unused_imports redox follow-up 2026-02-10 16:29:37 +00:00
auronandace df37258ed2 usused_unsafe follow-up for redox 2026-02-08 15:52:55 +00:00
Ibuki Omatsu 94b0cfc682 refactor: Reimplement recvmsg and sendmsg using bulk fd passing. 2026-02-07 19:48:59 -07:00
Ibuki Omatsu 1bcb6dff78 Introduce namespace fd and related features 2026-01-20 20:43:05 -07:00
sourceturner 582e6eba69 Use unsafe blocks in some more unsafe functions
Building with redoxer showed some more places
that have to use unsafe blocks
2026-01-21 00:41:43 +01:00
Jeremy Soller 0844e6fc90 WIP: use upper fd table 2025-11-15 07:55:37 -07:00
Jeremy Soller 82084440ad Support nightly-2025-10-03 2025-10-03 21:51:10 -06:00
Jacob Lorentzon 9c5f11fbc8 Add Out<T> wrapper 2025-09-21 14:36:12 +02:00
Ibuki Omatsu b14aae168f Add getens and expose it to libredox 2025-09-09 07:35:19 -06:00
Jeremy Soller 1694cd3a4d fix redox stat st_blocks 2025-08-01 12:44:10 -06:00
Ibuki.O b86f8a36fa feat: Add redox_get_socket_token_v0 as a symbol for libredox. 2025-07-19 13:31:44 +09:00
Ibuki Omatsu d44010170f feat: Integrate UDS bind and connect operation with RedoxFS and switch get_proc_credentials to a capability-based approach. 2025-07-18 08:57:49 -06:00
Ibuki Omatsu 206239f9a2 feat: Implement Unix Domain Socket and related features. 2025-07-17 22:48:37 -06:00
bjorn3 585cd80002 Expose sys_call through libredox
This makes it significantly easier to use outside of crates that already
depend on redox-rt, making it actually useful to many schemes.
2025-06-30 20:17:26 +02:00
bjorn3 4755d1ae24 Add redox_cur_procfd_v0 method to get own proc_fd 2025-04-20 16:19:45 +02:00
4lDO2 8bd510ff59 Simplify [res][ug]id getters and setters. 2025-04-19 19:26:59 +02:00
4lDO2 747d11062b Rename KillTarget -> ProcKillTarget. 2025-04-19 19:26:58 +02:00
4lDO2 88848c25fe Add (backend todo) proc calls for kill+sigq. 2025-04-19 19:26:58 +02:00
4lDO2 48df8f5bba Add unstable interface for getting current thread fd. 2025-04-19 19:26:58 +02:00
4lDO2 9566a00ad1 WIP: waitpid and exit IPC calls. 2025-04-19 19:26:58 +02:00
4lDO2 422a32690d Replace removed syscalls with redox-rt stubs. 2025-04-19 19:26:57 +02:00
Darley Barreto d2cc45f59c Add redox_openat_v1 2025-04-05 14:50:02 -03:00
4lDO2 c639fd37ba Implement sigaltstack. 2024-07-09 15:00:57 +02:00
4lDO2 5460ffc4c9 Jump to trampoline after SYS_{READ,WRITE} EINTR. 2024-07-09 15:00:57 +02:00
4lDO2 f37bb3cb16 Fix sigaction test on Linux, and rustfmt. 2024-07-09 15:00:55 +02:00
4lDO2 a265c8b7a0 Reimplement libredox sig{procmask,action}. 2024-07-09 15:00:54 +02:00
4lDO2 53ed7aae59 Move rlct_clone, sigprocmask, sigaction, to rt. 2024-07-09 15:00:52 +02:00
4lDO2 df91c67cf0 Implement redox_mkfs_v1. 2024-03-18 17:18:42 +01:00
4lDO2 375e0c78bf Add a strerror_r-like libredox API. 2024-01-11 16:12:58 +01:00
Martin Welgemoed 02780057f0 Fixed utimes segfault when given nullptr 2023-12-07 15:39:38 +00:00
4lDO2 7f29349dbc Impl libredox fstat{,vfs}, futimens, clock_gettime. 2023-11-05 13:35:37 +01:00
4lDO2 b5a4dc65e5 Implement redox_{mmap,munmap}_v1. 2023-11-04 16:41:06 +01:00
4lDO2 ae46e37ca7 Run rustfmt 2023-10-26 15:51:04 +02:00
4lDO2 b6b1ea5488 Fix incorrect libredox libc crate usage. 2023-10-26 15:35:15 +02:00
4lDO2 920bafb130 Impl libredox getpid, kill, sigprocmask, sigaction. 2023-10-08 12:21:54 +02:00
4lDO2 a1530dd10f Implement libredox ABI 2023-10-01 19:01:44 +02:00