The uapi/linux/audit.h header is going to use EM_CSKY in order to define AUDIT_ARCH_CSKY which is needed to implement syscall_get_arch() which in turn is required to extend the generic ptrace API with PTRACE_GET_SYSCALL_INFO request. The value for EM_CSKY has been taken from arch/csky/include/asm/elf.h and confirmed by binutils:include/elf/common.h
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -43,6 +43,7 @@ · 42 unmodified lines | |||
| 43 | #define EM_TILEGX 191 /* Tilera TILE-Gx */ | 43 | #define EM_TILEGX 191 /* Tilera TILE-Gx */ |
| 44 | #define EM_RISCV 243 /* RISC-V */ | 44 | #define EM_RISCV 243 /* RISC-V */ |
| 45 | #define EM_BPF 247 /* Linux BPF - in-kernel virtual machine */ | 45 | #define EM_BPF 247 /* Linux BPF - in-kernel virtual machine */ |
| 46 | #define EM_CSKY 252 /* C-SKY */ | ||
| 46 | #define EM_FRV 0x5441 /* Fujitsu FR-V */ | 47 | #define EM_FRV 0x5441 /* Fujitsu FR-V */ |
| 47 | 48 | ||
| 48 | /* | 49 | /* |