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.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/ripple/minitrace/src/main.rs b/ripple/minitrace/src/main.rs
index 01f7d18..952aaf1 100644
--- a/ripple/minitrace/src/main.rs
+++ b/ripple/minitrace/src/main.rs
@@ -478,6 +478,18 @@ fn check_syscall(entry: &SyscallEntry) -> bool {
 		SyscallEntry::mprotect { addr, len, prot: _ } => {
 			return addr % 4096 == 0 && len % 4096 == 0;
 		}
+		SyscallEntry::rt_sigaction {
+			sig: _,
+			act: _,
+			oact: _,
+			sigsetsize,
+		} => {
+			if sigsetsize != 8 {
+				panic!(
+					"rt_sigaction(2) sigsetsize should be sizeof (sigset_t), actually {sigsetsize}"
+				);
+			}
+		}
 		SyscallEntry::access { ref filename, mode } => {
 			println!("access({filename:?}, {mode:?})");
 		}