From patchwork Fri Nov 9 03:13:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dmitry V. Levin" X-Patchwork-Id: 995288 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=altlinux.org Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="qI5ql3BC"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="WopEE9w8"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42rlbR6B63z9sB7 for ; Fri, 9 Nov 2018 14:13:23 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=iER6cFq8HCcPpsUZG8o4yIjzEb56UU1sL99rWnssZqI=; b=qI5ql3BCE9u7LE M8lHliI0F5hsSTA+PHgXwTwGOGO8o2vRLuJBa0HFWoFm50jqeKJMKTjSbjhssSyGafdUYfy62hey0 WfGZ1aOVyYYJSuEi6gGYPe9Fyeuz/tOgBXVxxDBgS3hMnWG7X/+UA6AqZM0xQS4NVNkATVOvGvxnW FO8yTROQwBY1S6/d62MytjpI4JJW4cNXZSXBjEE4s/GgAfgdJHeAFNiQ5WWNF07A0ceWWm9PXYS4m 1FTupF0bjPUlWpIZ4yNQnPojM0BIxnxL+wsaYVBrJroLz9hkELw43sakNZbfdCJr+j9NbQH5v9hwl ozWhhc8qkcYOhgy73DUg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gKxEX-0000j1-Iu; Fri, 09 Nov 2018 03:13:21 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gKxEV-0000ia-AZ; Fri, 09 Nov 2018 03:13:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=/oMXNNYJHNdtN4Uh6LLWWg6n0/+C/ts9xKj64GefCDE=; b=WopEE9w8Gev1RXdLLAgDXav2M Js788pNY933U9Mwjc0S9/yB9Hsskjph/6tQHq35R+d5yuwrV9UoUXp+3TCwDY743K54Ij55tKZdOK 3AuvMaAf/dYDVANWUFIhyuTputMo0EYZK8kOFsSkh+PK2/e872o6SQCdsF8ngkJuLNN/WLspN1ieP EFXSOdbHs/SehvMzxRbp+Ho9tR8fdY9e6ASgdnH3yonMLEBS+4EPa5aYsRz7O4acPACDOAOJO15Ym pUO0gn8TWgxFBlqHbklZfyLjxpvLZ1Li+Hb+QI3DHTAdeVrPYeq6I6gQCY/344c/MtRqUjelUkRxA Dyn8TLuCQ==; Received: from vmicros1.altlinux.org ([194.107.17.57]) by casper.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gKxES-0006UL-4g; Fri, 09 Nov 2018 03:13:17 +0000 Received: from mua.local.altlinux.org (mua.local.altlinux.org [192.168.1.14]) by vmicros1.altlinux.org (Postfix) with ESMTP id 42E2D72CBF9; Fri, 9 Nov 2018 06:13:04 +0300 (MSK) Received: by mua.local.altlinux.org (Postfix, from userid 508) id 3359F7CD1FF; Fri, 9 Nov 2018 06:13:04 +0300 (MSK) Date: Fri, 9 Nov 2018 06:13:04 +0300 From: "Dmitry V. Levin" To: Andy Lutomirski Subject: [PATCH 00/13] Prepare for PTRACE_GET_SYSCALL_INFO Message-ID: <20181109031303.GA20906@altlinux.org> Mail-Followup-To: Andy Lutomirski , Elvira Khabirova , Albert Ou , Aurelien Jacquiot , Chris Zankel , Eric Paris , Geert Uytterhoeven , Greentime Hu , Ley Foon Tan , Mark Salter , Max Filippov , Palmer Dabbelt , Paul Moore , Richard Kuo , Vincent Chen , Vineet Gupta , Yoshinori Sato , linux-audit@redhat.com, linux-c6x-dev@linux-c6x.org, linux-hexagon@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-riscv@lists.infradead.org, linux-snps-arc@lists.infradead.org, linux-xtensa@linux-xtensa.org, nios2-dev@lists.rocketboards.org, uclinux-h8-devel@lists.sourceforge.jp, linux-kernel@vger.kernel.org References: <20181107042751.3b519062@akathisia> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181109_031316_294042_3DA362FC X-CRM114-Status: UNSURE ( 7.93 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.1 on casper.infradead.org summary: Content analysis details: (-0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Palmer Dabbelt , Max Filippov , linux-riscv@lists.infradead.org, Vincent Chen , Paul Moore , Yoshinori Sato , linux-hexagon@vger.kernel.org, Elvira Khabirova , Geert Uytterhoeven , Mark Salter , linux-snps-arc@lists.infradead.org, uclinux-h8-devel@lists.sourceforge.jp, linux-xtensa@linux-xtensa.org, Albert Ou , Aurelien Jacquiot , linux-m68k@lists.linux-m68k.org, Greentime Hu , nios2-dev@lists.rocketboards.org, linux-c6x-dev@linux-c6x.org, Chris Zankel , Vineet Gupta , linux-kernel@vger.kernel.org, Eric Paris , Richard Kuo , linux-audit@redhat.com, Ley Foon Tan Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org syscall_get_arch() is required to be implemented on all architectures that use tracehook_report_syscall_entry() in order to extend the generic ptrace API with PTRACE_GET_SYSCALL_INFO request. Dmitry V. Levin (13): Move EM_HEXAGON to uapi/linux/elf-em.h elf-em.h: add EM_ARC elf-em.h: add EM_NDS32 elf-em.h: add EM_XTENSA m68k: define syscall_get_arch() arc: define syscall_get_arch() c6x: define syscall_get_arch() h8300: define syscall_get_arch() hexagon: define syscall_get_arch() nds32: define syscall_get_arch() nios2: define syscall_get_arch() riscv: define syscall_get_arch() xtensa: define syscall_get_arch() arch/arc/include/asm/syscall.h | 6 ++++++ arch/c6x/include/asm/syscall.h | 6 ++++++ arch/h8300/include/asm/syscall.h | 5 +++++ arch/hexagon/include/asm/elf.h | 6 +----- arch/hexagon/include/asm/syscall.h | 8 ++++++++ arch/m68k/include/asm/syscall.h | 12 ++++++++++++ arch/nds32/include/asm/syscall.h | 7 +++++++ arch/nios2/include/asm/syscall.h | 6 ++++++ arch/riscv/include/asm/syscall.h | 6 ++++++ arch/xtensa/include/asm/syscall.h | 7 +++++++ include/uapi/linux/audit.h | 8 ++++++++ include/uapi/linux/elf-em.h | 5 +++++ 12 files changed, 77 insertions(+), 5 deletions(-) create mode 100644 arch/m68k/include/asm/syscall.h