summary refs log tree commit diff stats
path: root/results/classifier/zero-shot-user-mode/instruction/1726394
diff options
context:
space:
mode:
Diffstat (limited to 'results/classifier/zero-shot-user-mode/instruction/1726394')
-rw-r--r--results/classifier/zero-shot-user-mode/instruction/172639411
1 files changed, 11 insertions, 0 deletions
diff --git a/results/classifier/zero-shot-user-mode/instruction/1726394 b/results/classifier/zero-shot-user-mode/instruction/1726394
new file mode 100644
index 00000000..f6e19da6
--- /dev/null
+++ b/results/classifier/zero-shot-user-mode/instruction/1726394
@@ -0,0 +1,11 @@
+instruction: 0.503
+syscall: 0.388
+runtime: 0.109
+
+
+
+Passes through prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, address)
+
+qemu-user passes through prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, address) unmodified, but the third argument is an address to a BPF filter, causing an EFAULT. Now, the filter is architecture-specifc, so you can't just rewrite the addresses, so the safest bet is to just return an error here.
+
+I guess you should just return EINVAL, but not sure. I'd really like something that can be identified, so seccomp errors can be ignored when it's not supported.
\ No newline at end of file