Add getdents syscall, and switch schemes to it.

This commit is contained in:
4lDO2
2024-09-08 22:21:55 +02:00
parent 548fd63264
commit 339271b4d7
15 changed files with 224 additions and 177 deletions
+1 -1
View File
@@ -219,7 +219,7 @@ impl SyscallDebugInfo {
}
#[cfg(feature = "syscall_debug")]
pub fn debug_start([a, b, c, d, e, f]: [usize; 6]) {
let do_debug = if crate::context::current().read().name.contains("sigchld") {
let do_debug = if false && crate::context::current().read().name.contains("acpid") {
if a == SYS_CLOCK_GETTIME || a == SYS_YIELD || a == SYS_FUTEX {
false
} else if (a == SYS_WRITE || a == SYS_FSYNC) && (b == 1 || b == 2) {