blob: f6e19da637f378d32900d88b096c19a332c80360 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
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.
|