aarch64, arm, sparc: add comments on fault injection support in kernel
* 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.
This commit is contained in:
parent
f3b5837608
commit
7b3b12b793
@ -1,6 +1,10 @@
|
||||
#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)
|
||||
|
@ -1,6 +1,10 @@
|
||||
#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)
|
||||
|
@ -1,3 +1,8 @@
|
||||
/*
|
||||
* 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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user