Skip to content

Commit

Permalink
fix: compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
chiichen committed Dec 5, 2024
1 parent 380b4c0 commit c33ad73
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions kernel/src/process/syscall.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,16 @@ use super::{
KernelStack, Pid, ProcessManager,
};
use crate::{
arch::{interrupt::TrapFrame, CurrentIrqArch, MMArch},
exception::InterruptArch,
filesystem::{
arch::{interrupt::TrapFrame, CurrentIrqArch, MMArch}, exception::InterruptArch, filesystem::{
procfs::procfs_register_pid,
vfs::{file::FileDescriptorVec, MAX_PATHLEN},
},
mm::{
}, libs::rand::rand_bytes, mm::{
ucontext::{AddressSpace, UserStack},
verify_area, MemoryManagementArch, VirtAddr,
},
process::ProcessControlBlock,
sched::completion::Completion,
syscall::{
}, process::ProcessControlBlock, sched::completion::Completion, syscall::{
user_access::{check_and_clone_cstr, check_and_clone_cstr_array, UserBufferWriter},
Syscall,
},
}
};

//参考资料:https://code.dragonos.org.cn/xref/linux-6.1.9/include/uapi/linux/utsname.h#17
Expand Down

0 comments on commit c33ad73

Please sign in to comment.