diff options
-rw-r--r-- | ripple/minitrace/src/main.rs | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/ripple/minitrace/src/main.rs b/ripple/minitrace/src/main.rs index e5bb1f0..ae1de7c 100644 --- a/ripple/minitrace/src/main.rs +++ b/ripple/minitrace/src/main.rs @@ -269,11 +269,14 @@ fn check_syscall(process: &Process, entry: SyscallEntry) -> bool { 100 => {} // arch_prctl - 158 => match entry.args[0] { - // ARCH_SET_FS - 0x1002 => {} - _ => return false, - }, + 158 => { + let [command, _addr, ..] = entry.args; + match command { + // ARCH_SET_FS + 0x1002 => {} + _ => return false, + } + } // exit_group 231 => {} |