fix: consolidate kernel patch chain

Absorb redundant kernel patches into v2 carriers, remove debug and
suspend patches no longer needed. Wire v2 patches in recipe.toml.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-05-11 10:08:20 +01:00
parent ae7b5f989f
commit 39807ca816
13 changed files with 2085 additions and 2769 deletions
+10 -5
View File
@@ -34,10 +34,16 @@ index 7398145a..f4f57c23 100644
}
diff --git a/src/scheme/event.rs b/src/scheme/event.rs
index 36efe5b2..62e46c99 100644
index 36efe5b2..f2dc6276 100644
--- a/src/scheme/event.rs
+++ b/src/scheme/event.rs
@@ -25,12 +25,26 @@ impl KernelScheme for EventScheme {
@@ -1,4 +1,5 @@
use alloc::sync::Arc;
+use core::sync::atomic::Ordering;
use syscall::{EventFlags, O_NONBLOCK};
use crate::{
@@ -25,12 +26,25 @@ impl KernelScheme for EventScheme {
fn kopenat(
&self,
id: usize,
@@ -49,9 +55,8 @@ index 36efe5b2..62e46c99 100644
token: &mut CleanLockToken,
) -> Result<OpenResult> {
+ let path = match &user_buf {
+ StrOrBytes::Str(s) | StrOrBytes::Bytes(s) => {
+ core::str::from_utf8(s).unwrap_or("")
+ }
+ StrOrBytes::Str(s) => s,
+ StrOrBytes::Bytes(b) => core::str::from_utf8(b).unwrap_or(""),
+ };
+ if path.starts_with("eventfd/") {
+ let rest = &path[8..]; // after "eventfd/"