[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181214044308.GA15793@guoren-Inspiron-7460>
Date: Fri, 14 Dec 2018 12:43:08 +0800
From: Guo Ren <guoren@...nel.org>
To: "Dmitry V. Levin" <ldv@...linux.org>
Cc: Oleg Nesterov <oleg@...hat.com>, Andy Lutomirski <luto@...nel.org>,
Elvira Khabirova <lineprinter@...linux.org>,
Eugene Syromyatnikov <esyr@...hat.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v6 07/27] elf-em.h: add EM_CSKY
Reviewed-by: Guo Ren <guoren@...nel.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 <guoren@...nel.org>
> Cc: Oleg Nesterov <oleg@...hat.com>
> Cc: Andy Lutomirski <luto@...nel.org>
> Cc: Elvira Khabirova <lineprinter@...linux.org>
> Cc: Eugene Syromyatnikov <esyr@...hat.com>
> Signed-off-by: Dmitry V. Levin <ldv@...linux.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
Powered by blists - more mailing lists