From 1c9bb1524ef16bbf375bd32f6a6fdbfbacb623e7 Mon Sep 17 00:00:00 2001 From: vasilito Date: Fri, 10 Jul 2026 16:54:37 +0300 Subject: [PATCH] kernel: import UserSliceRo and FileHandle in syscall/process.rs The sys_mkns and sys_setns functions added in 48fc2f1c reference UserSliceRo and FileHandle but the imports were not updated, causing the build to fail with 'cannot find type' errors. This commit adds the missing imports. --- src/syscall/process.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/syscall/process.rs b/src/syscall/process.rs index 6d8943f245..c4f98f5182 100644 --- a/src/syscall/process.rs +++ b/src/syscall/process.rs @@ -27,7 +27,9 @@ use crate::{ CurrentRmmArch, }; -use super::usercopy::UserSliceWo; +use super::usercopy::{UserSliceRo, UserSliceWo}; + +use crate::scheme::FileHandle; pub fn exit_this_context(excp: Option, token: &mut CleanLockToken) -> ! { let mut close_files;