Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp260499imu; Thu, 8 Nov 2018 19:13:52 -0800 (PST) X-Google-Smtp-Source: AJdET5fbnoqjm1zPYfQbmtgRAgVXQexGy5dmSXvE8iYOXKdf02A2cIwWFKDtYT4l+1YLcco+3YCV X-Received: by 2002:a62:2c16:: with SMTP id s22-v6mr7195472pfs.6.1541733232746; Thu, 08 Nov 2018 19:13:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541733232; cv=none; d=google.com; s=arc-20160816; b=wxxhGjsG9ASiOGDQaACwqYFipAkGRSbTHW0JEYMYGhNZWPDBJXXTK5tjdMp9ZFxeXR 8JuELtdcRcobOu1KbpljaFBMGIPFnc0IHmpmZg6ySBhYR4+nGmdL2SVPJqh+B0j0A2Fa QDLnGyPLehqdO8WUl9oVvpsEmei7veztwKu0McY8G0IXbHZJHFzm6hLbXuiAHxUH6Mrc gijoZr1WGRtRX6lN0TxTfjm9C6s9tao8Bqo7/mmxEoCW2mn+0EBBg0V4W+BP+GbB05Jm UyvB+VtGpSUG3DYDAv3Urwa014t38Az6rJ+fV38bl8PJgoYTqOWtLEzxx/AdXGEAfqwp wFJg== 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:references:mail-followup-to:message-id:subject:cc:to :from:date; bh=/oMXNNYJHNdtN4Uh6LLWWg6n0/+C/ts9xKj64GefCDE=; b=V6jyDR0N6A2rzox2CY+sigbWvepgjLNxzxH5XgmV6i1nBUxYUpB+hDMMoZQLqb2GAR DjyrBS7C7VMcTUtqKrORAy8vr/Ya6YB/tO7GhL2RYjBzc0bt1dVb8R7VEx1ucCjRamb6 xnxjecY7AFI4EJoF5UJOdGpR9owb9fNBmoogXyhHWrUcrl+og3hm3EJRmJJS8cZlMkz1 SVj0DoSrfT23i6DOfLFKjbV6vdaXDZ2Jpg4WJnVD5aswjk0ncg8WVWJBHp4Si5aWYIzk /BcnxXR5x4O0VYpHzTPNrWbRL9cU09Ck9ZMXd3HTpzvncqRa6vShDppAQZRLIV6HLH2J GJbQ== 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 w6-v6si5087735pgw.316.2018.11.08.19.13.37; Thu, 08 Nov 2018 19:13:52 -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 S1727508AbeKIMvo (ORCPT + 99 others); Fri, 9 Nov 2018 07:51:44 -0500 Received: from vmicros1.altlinux.org ([194.107.17.57]:44144 "EHLO vmicros1.altlinux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727362AbeKIMvn (ORCPT ); Fri, 9 Nov 2018 07:51:43 -0500 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 Cc: 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 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 -- ldv