[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:
https://github.com/strace/strace/pull/205#issuecomment-1007630242
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...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20220107/8854d257/attachment.htm>


More information about the Strace-devel mailing list