Files
RedBear-OS/local/patches/relibc/P3-eventfd-mod.patch
T
vasilito 1cc3b104de Add relibc eventfd MOD patch for init waitpid compatibility
Eventfd now sets correct file mode bits so init's waitpid loop
can poll on eventfd descriptors without spurious EPERM.
2026-04-23 20:29:11 +01:00

23 lines
545 B
Diff

diff -ruN a/src/header/mod.rs b/src/header/mod.rs
--- a/src/header/mod.rs
+++ b/src/header/mod.rs
@@ -89,6 +89,7 @@
// TODO: stropts.h (deprecated)
pub mod sys_auxv;
pub mod sys_epoll;
+pub mod sys_eventfd;
pub mod sys_file;
pub mod sys_ioctl;
// TODO: sys/ipc.h
@@ -114,8 +115,10 @@
pub mod arch_aarch64_user;
pub mod arch_riscv64_user;
pub mod arch_x64_user;
+pub mod sys_signalfd;
#[cfg(not(target_arch = "x86"))] // TODO: x86
pub mod sys_procfs;
pub mod sys_random;
+pub mod sys_timerfd;
pub mod sys_syslog;
pub mod sys_types;