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
2.02k stars 378 forks source link

seccomp mode How do I modify the return value? #329

Open w296488320 opened 2 years ago

w296488320 commented 2 years ago

I want to try to modify the return result of a method by seccomp with ptrace.I don t know if the proot supports it

If you use (ptrace- > PTRACE_SYSCALL) this should be fine, but the efficiency is too low

Do you have any good ideas?