summary refs log tree commit diff
path: root/ripple
diff options
context:
space:
mode:
Diffstat (limited to 'ripple')
-rw-r--r--ripple/minitrace/src/main.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/ripple/minitrace/src/main.rs b/ripple/minitrace/src/main.rs
index fd91dfc..be8ba6a 100644
--- a/ripple/minitrace/src/main.rs
+++ b/ripple/minitrace/src/main.rs
@@ -239,7 +239,11 @@ fn check_syscall(process: &Process, entry: SyscallEntry) -> bool {
 		17 => {}
 
 		// access
-		21 => {}
+		21 => {
+			let [pathname, _mode, ..] = entry.args;
+			let pathname = process.read_mem_cstr(pathname).unwrap();
+			println!("access({:?}, ..)", pathname);
+		}
 
 		// getcwd
 		79 => {}