From 67233c9102f63f5bb3c770649a4020f3c112e6e7 Mon Sep 17 00:00:00 2001 From: Vasilito Date: Sat, 18 Apr 2026 00:48:58 +0100 Subject: [PATCH] Add relibc syscall priority patch and clean up IOMMU recipe Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- ...-syscall-0.7.4-procschemeattrs-ens-to-prio.patch | 13 +++++++++++++ local/recipes/system/iommu/recipe.toml | 3 --- 2 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 local/patches/relibc/P3-syscall-0.7.4-procschemeattrs-ens-to-prio.patch diff --git a/local/patches/relibc/P3-syscall-0.7.4-procschemeattrs-ens-to-prio.patch b/local/patches/relibc/P3-syscall-0.7.4-procschemeattrs-ens-to-prio.patch new file mode 100644 index 00000000..c2ef4521 --- /dev/null +++ b/local/patches/relibc/P3-syscall-0.7.4-procschemeattrs-ens-to-prio.patch @@ -0,0 +1,13 @@ +diff --git a/redox-rt/src/proc.rs b/redox-rt/src/proc.rs +index 05e42757..f2eba231 100644 +--- a/redox-rt/src/proc.rs ++++ b/redox-rt/src/proc.rs +@@ -1119,7 +1119,7 @@ pub fn new_child_process(args: &ForkArgs<'_>) -> Result { + pid: 0, + euid: 0, + egid: 0, +- ens: 1, ++ prio: 1, + debug_name: { + let mut buf = [0; 32]; + let src = b"[init]"; diff --git a/local/recipes/system/iommu/recipe.toml b/local/recipes/system/iommu/recipe.toml index 31378216..45e050e7 100644 --- a/local/recipes/system/iommu/recipe.toml +++ b/local/recipes/system/iommu/recipe.toml @@ -9,6 +9,3 @@ template = "cargo" dependencies = [ "redox-driver-sys", ] - -[package.files] -"/usr/lib/drivers/iommu" = "iommu"