移动fstat (#330)

* 移动fstat
This commit is contained in:
houmkh
2023-08-14 12:18:46 +08:00
committed by GitHub
parent 90a0a49048
commit 67b4818887
4 changed files with 158 additions and 170 deletions

View File

@ -7,11 +7,10 @@ use num_traits::{FromPrimitive, ToPrimitive};
use crate::{
arch::{cpu::cpu_reset, MMArch},
filesystem::syscall::PosixKstat,
filesystem::vfs::{
fcntl::FcntlCommand,
file::FileMode,
syscall::{SEEK_CUR, SEEK_END, SEEK_MAX, SEEK_SET},
syscall::{PosixKstat, SEEK_CUR, SEEK_END, SEEK_MAX, SEEK_SET},
MAX_PATHLEN,
},
include::bindings::bindings::{pid_t, PAGE_2M_SIZE, PAGE_4K_SIZE},