Reviewed-by: Guo Ren <guo...@kernel.org>
On Thu, Dec 13, 2018 at 08:22:00PM +0300, Dmitry V. Levin wrote: > 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 > > Cc: Guo Ren <guo...@kernel.org> > Cc: Oleg Nesterov <o...@redhat.com> > Cc: Andy Lutomirski <l...@kernel.org> > Cc: Elvira Khabirova <lineprin...@altlinux.org> > Cc: Eugene Syromyatnikov <e...@redhat.com> > Signed-off-by: Dmitry V. Levin <l...@altlinux.org> > --- > > Notes: > v6: unchanged > > include/uapi/linux/elf-em.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/uapi/linux/elf-em.h b/include/uapi/linux/elf-em.h > index 42b7546352a6..ee0b26ab92b0 100644 > --- a/include/uapi/linux/elf-em.h > +++ b/include/uapi/linux/elf-em.h > @@ -45,6 +45,7 @@ > #define EM_ARCV2 195 /* ARCv2 Cores */ > #define EM_RISCV 243 /* RISC-V */ > #define EM_BPF 247 /* Linux BPF - in-kernel virtual > machine */ > +#define EM_CSKY 252 /* C-SKY processor family */ > #define EM_FRV 0x5441 /* Fujitsu FR-V */ > > /* > -- > ldv