[strace/strace] [RFC] Add 64-bit LoongArch support (PR #205)
Dmitry V. Levin
notifications at github.com
Fri Jan 7 18:20:31 UTC 2022
The problematic piece of kernel code is
if ((nr == -1UL) && (onr != -1UL))
goto out; /* Don't set -ENOSYS for SECCOMP */
Here the ```Don't set -ENOSYS for SECCOMP``` is the culprit:
when the syscall is cancelled by ptrace/seccomp, the return value must be set properly to -ENOSYS.
Reply to this email directly or view it on GitHub:
You are receiving this because you are subscribed to this thread.
Message ID: <strace/strace/pull/205/c1007630242 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Strace-devel