Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp14032imu; Mon, 19 Nov 2018 16:50:44 -0800 (PST) X-Google-Smtp-Source: AFSGD/UsLrbYtSnW9DK49tn5e+BrKfhqRmUe28xY+P/dPOhmsVPxQ0DGZZmsYaAIb/JBhXPfEh9b X-Received: by 2002:a17:902:8f97:: with SMTP id z23mr15293562plo.283.1542675044370; Mon, 19 Nov 2018 16:50:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542675044; cv=none; d=google.com; s=arc-20160816; b=tN2iWcw9g2eeFBrnkdvLrmlPaSsDfRF2QlvPYQrBmlxkhSelROetAiNQRNk2vj8RrI pv61cvlkJUrarItvs6GAzaRYgyjPoD6xBQgROhxxYyMRxJ+EuSIZ4UthHb6KUrpTNKw5 CMC535Wu4Qi6bWajuUV+pLQZDa5O53AjXLUBC/v9xp2EXRVg7CdgbS6rJirijVrKe0uZ J3lr7d1VY7KS4FUHmpLs9HH0auHvo+5SXsM7224+uYTcxaP+nAnfVUitGo3DTO33uMU1 8tVzGEOT4Eu5Xsp7kMy+CxOiiX4X6tnQvyCp35BEaOL79k/3/lbtt8pXqYTZm/vpY1tG bz3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:message-id:subject:cc:to:from:date; bh=R57pvuUgEV7GxEGfUNp+B81uvTzXcdYzsL3Bce+ID6U=; b=YlsW9wLubTdPd3rAsdoHWPnQaD0MlrNWxN0Mp4H/6UhGuheph8IyaYzw8qpQtEVZuX vD/XKs0Blr9QRXx40DYzjIAAkTt9wcg4acA2vd0NVedU850X6Y/bgrVHuMeLPxETwkTV REE8J+TXxVg0k/pGM7kr/3IpG3F2mpNNe4cOGrtMyLHaxvs1FAjaqh5lMUBzsS8fYVpL RYW5Cfq9hJwcFq3OAKRFvxNF8SK5ISBOCdSPw+5i3SoY7pz3ycaKzHyaBSAbV9lWImdj bfKhOwdvW2xu6RMFgMWWWNdx3JaE7VF6cTq5FOFB8RSMr0955TTEmArxt3kDd5tirNv3 PUHQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d4-v6si42250602pla.203.2018.11.19.16.50.07; Mon, 19 Nov 2018 16:50:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732315AbeKTKl2 (ORCPT + 99 others); Tue, 20 Nov 2018 05:41:28 -0500 Received: from vmicros1.altlinux.org ([194.107.17.57]:54316 "EHLO vmicros1.altlinux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731643AbeKTKl1 (ORCPT ); Tue, 20 Nov 2018 05:41:27 -0500 Received: from mua.local.altlinux.org (mua.local.altlinux.org [192.168.1.14]) by vmicros1.altlinux.org (Postfix) with ESMTP id 305C672CA5E; Tue, 20 Nov 2018 03:15:12 +0300 (MSK) Received: by mua.local.altlinux.org (Postfix, from userid 508) id 23B8B7CD1FF; Tue, 20 Nov 2018 03:15:11 +0300 (MSK) Date: Tue, 20 Nov 2018 03:15:11 +0300 From: "Dmitry V. Levin" To: Andy Lutomirski , Max Filippov , Chris Zankel Cc: Elvira Khabirova , linux-xtensa@linux-xtensa.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 05/15] elf-em.h: add EM_XTENSA Message-ID: <20181120001511.GE11387@altlinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181120001128.GA11300@altlinux.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The uapi/linux/audit.h header is going to use EM_XTENSA in order to define AUDIT_ARCH_XTENSA 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_XTENSA has been taken from http://www.sco.com/developers/gabi/2012-12-31/ch4.eheader.html Signed-off-by: Dmitry V. Levin Reviewed-by: Max Filippov --- v2: added Reviewed-by to v1 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 ba2e64cdbb6f..7b02cf339d8f 100644 --- a/include/uapi/linux/elf-em.h +++ b/include/uapi/linux/elf-em.h @@ -35,6 +35,7 @@ #define EM_MN10300 89 /* Panasonic/MEI MN10300, AM33 */ #define EM_OPENRISC 92 /* OpenRISC 32-bit embedded processor */ #define EM_ARCOMPACT 93 /* ARCompact processor */ +#define EM_XTENSA 94 /* Tensilica Xtensa Architecture */ #define EM_BLACKFIN 106 /* ADI Blackfin Processor */ #define EM_UNICORE 110 /* UniCore-32 */ #define EM_ALTERA_NIOS2 113 /* Altera Nios II soft-core processor */ -- ldv