mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-19 04:56:30 +00:00
@ -408,6 +408,12 @@ impl Syscall {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
SYS_RMDIR => {
|
||||
let pathname = args[0] as *const u8;
|
||||
Self::rmdir(pathname)
|
||||
}
|
||||
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
SYS_UNLINK => {
|
||||
let pathname = args[0] as *const u8;
|
||||
|
@ -65,6 +65,8 @@
|
||||
|
||||
#define SYS_MKDIR 83
|
||||
|
||||
#define SYS_RMDIR 84
|
||||
|
||||
#define SYS_GETTIMEOFDAY 96
|
||||
|
||||
#define SYS_ARCH_PRCTL 158
|
||||
|
Reference in New Issue
Block a user