proot-me / proot

chroot, mount --bind, and binfmt_misc without privilege/setup for Linux
https://proot-me.github.io
GNU General Public License v2.0
1.97k stars 372 forks source link

Error out when trying to set PTRACE_O_TRACESECCOMP under ptrace emulation. #311

Closed jzakrzew closed 2 years ago

jzakrzew commented 2 years ago

proot currently does not even try to handle seccomp traps when running ptrace emulation. Returning an error is better than misleading the ptracer into expecting seccomp events.

In conjunction with PR #308, this (sort of) fixes test-230f47ch.

jzakrzew commented 2 years ago

This also seems to fix issue #310