Files
RedBear-OS/redox-rt
vasilito 9c5c07f776 relibc: restore upstream functions the fork was missing
verify-fork-functions.sh flagged four functions present upstream but
absent here. Adapting to upstream per LOCAL-FORK-SUPREMACY-POLICY.md
Rule 2 (the fork must be complete) and Rule 3 (adapt, never pin back).

- redox_sys_call_multiple_v0 (src/platform/redox/libredox.rs). libredox
  0.1.19 added 'call with multiple fds' and declares this symbol extern,
  so relibc must export it or the multi-fd path fails to link. The fds
  slice feeds 'impl Call for &[usize]', which the syscall fork already
  provides. Upstream's no-payload arm calls a payload-less sys_call();
  this fork keeps sys_call's payload parameter, so that arm passes an
  empty payload rather than changing a signature every caller depends on.

- this_proc_call_ro / this_proc_call_wo (redox-rt/src/sys.rs). Upstream
  split this_proc_call into a payload-less form plus these two. Added
  alongside the fork's existing signature; both delegate to the fork's
  sys_call_ro/sys_call_wo, whose signatures already match upstream.

- epoll_event::new (src/header/sys_epoll/mod.rs). Constructor that hides
  whether the target layout carries the redox-only _pad field.

cargo check --target x86_64-unknown-redox passes.
2026-08-03 13:26:01 +03:00
..
2026-03-23 08:32:25 +00:00