* linux/aarch64/set_scno.c: Note the kernel commit that introduced
NT_ARM_SYSTEM_CALL support.
* linux/arm/set_scno.c: Note the kernel commit that introduced
PTRACE_SET_SYSCALL support.
* linux/sparc/set_scno.c: Note the kernel commit that introduced
reloading from the syscall number register.
#ifndef NT_ARM_SYSTEM_CALL
# define NT_ARM_SYSTEM_CALL 0x404
#endif
+/*
+ * NT_ARM_SYSTEM_CALL regset is supported by linux kernel
+ * starting with commit v3.19-rc1~59^2~16.
+ */
static int
arch_set_scno(struct tcb *tcp, long scno)
#ifndef PTRACE_SET_SYSCALL
# define PTRACE_SET_SYSCALL 23
#endif
+/*
+ * PTRACE_SET_SYSCALL is supported by linux kernel
+ * starting with commit v2.6.16-rc1~107^2
+ */
static int
arch_set_scno(struct tcb *tcp, long scno)
+/*
+ * Reloading the syscall number from %g1 register is supported
+ * by linux kernel starting with commit v4.5-rc7~35^2~3.
+ */
+
static int
arch_set_scno(struct tcb *tcp, long scno)
{