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.
This commit is contained in:
2026-07-10 16:54:37 +03:00
parent 48fc2f1c90
commit 1c9bb1524e
+3 -1
View File
@@ -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<syscall::Exception>, token: &mut CleanLockToken) -> ! {
let mut close_files;