[strace/strace] [RFC] Add 64-bit LoongArch support (PR #205)

Dmitry V. Levin notifications at github.com
Fri Jan 7 17:30:17 UTC 2022

> > In other words, all tests based on syscall tampering are failing there.
> > Assuming that src/linux/loongarch64/set_scno.c and src/linux/loongarch64/set_error.c are correct, the kernel seems to be missing syscall tampering support.
> Okay... this is the same result I've been seeing all the time (and exactly why I haven't pushed the `xlat` changes recently).
> It indeed seems ptrace functionality is missing, judging from [the latest kernel source](https://github.com/loongson/linux/blob/78d3641f1f61866cc5ec7460af65d2530c17a202/arch/loongarch/kernel/ptrace.c). Syscall tracing machinery cannot be seen. Maybe @chenhuacai could implement this in next revision of loongarch-next series?

There is _some_ support for changing the syscall nr in [do_syscall](https://github.com/loongson/linux/blob/loongarch-next/arch/loongarch/kernel/syscall.c#L40), but, apparently, it doesn't work as expected.

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/c1007593700 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20220107/7733d24b/attachment.htm>

More information about the Strace-devel mailing list