Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3418805imu; Wed, 7 Nov 2018 10:01:59 -0800 (PST) X-Google-Smtp-Source: AJdET5e3suhOJ2BJXa0zWqd2knE/WpUucTwYDhfyaezb5wJnF/Qej0ICcqdujC96y5LDHURcxpi5 X-Received: by 2002:a63:e915:: with SMTP id i21mr952051pgh.409.1541613719526; Wed, 07 Nov 2018 10:01:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541613719; cv=none; d=google.com; s=arc-20160816; b=yM9nYS05iyiNh3Kn0adDqorwYG4KeK4HXlAdA7tktlv46quw3qMn8kkSqkju8KlAc9 vL8Dm3uDklbh4uGItjX67cSJlfWvcq2TEU+vspVdTfcbB54hNHpH52Cwf/Rq+IgoZ4uS Q1Gwzr6C5ePZU6aVBMyQGcfKfv6IAJ62tp8snAOtT8GXTh7yx2u0L7WMUKugrug6xf96 cTJFPPMHmpzq+/org8bhJhOLQ3ZiiJe13BYwqkUBYsiHzGLVplUVlQeSzMzVWIriFXvp /BqGlR4124W1ATGczuxzzlMy0nORYGaUan510pKjcFad4EH07uy/ok/3MsUwADorL/pA +k2A== 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=BziXApQ2/QjW0ve169M7g+BhoqaqHgx3FreQyqpCrUk=; b=kLgjHpJ5v7x6sxPokSFo06eMTywtYSbv/BsgdbGjFnTk5XQkhc+FYlA7K7Edg7wz5a H4Nk/q9JkEEbuFW+E4Z/eSRYTH3GpvQBADCCRU2lKOJFo4rEhDgzaja3qFl1WRWXy1ZM byAPb0+A6RDvbneyqzs+gLZ+wgaC3asM7Ne4Jtw1DU/t5sCdO2/rNPYcxntrOeRA5iqB dGzwlHbbpAn+e3kRW9gONSmviYTK99QzfLOWE+YECgu0XY+l9wfPs9iab4+o3Ac40rsR Kgdp7guVZHKelvpfPKNsM4Y3GIftvw8pNXhazZW0t/vuUrmmX5hyQYufHbm+CF/FQzgP VOng== 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 r7-v6si1279694ple.339.2018.11.07.10.01.43; Wed, 07 Nov 2018 10:01:59 -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 S1731132AbeKHBVu (ORCPT + 99 others); Wed, 7 Nov 2018 20:21:50 -0500 Received: from vmicros1.altlinux.org ([194.107.17.57]:41382 "EHLO vmicros1.altlinux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727645AbeKHBVt (ORCPT ); Wed, 7 Nov 2018 20:21:49 -0500 Received: from mua.local.altlinux.org (mua.local.altlinux.org [192.168.1.14]) by vmicros1.altlinux.org (Postfix) with ESMTP id 8EEBA72CA56; Wed, 7 Nov 2018 18:50:52 +0300 (MSK) Received: by mua.local.altlinux.org (Postfix, from userid 508) id 804057CC774; Wed, 7 Nov 2018 18:50:52 +0300 (MSK) Date: Wed, 7 Nov 2018 18:50:52 +0300 From: "Dmitry V. Levin" To: Andy Lutomirski Cc: Elvira Khabirova , Oleg Nesterov , Steven Rostedt , Ingo Molnar , Andy Lutomirski , Eugene Syromyatnikov , linux-kernel@vger.kernel.org, strace-devel@lists.strace.io Subject: Re: [RFC PATCH] ptrace: add PTRACE_GET_SYSCALL_INFO request Message-ID: <20181107155052.GA27736@altlinux.org> Mail-Followup-To: Andy Lutomirski , Elvira Khabirova , Oleg Nesterov , Steven Rostedt , Ingo Molnar , Andy Lutomirski , Eugene Syromyatnikov , linux-kernel@vger.kernel.org, strace-devel@lists.strace.io References: <20181107042751.3b519062@akathisia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181107042751.3b519062@akathisia> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 07, 2018 at 04:27:51AM +0100, Elvira Khabirova wrote: [...] > The structure was chosen according to [2], except for two changes. > First: instead of an arch field with a value of AUDIT_ARCH_*, a boolean > is_compat value is returned, because a) not all arches have an AUDIT_ARCH_* > defined for them, To be more specific, here is the list of arch subtrees in v4.20-rc1 that invoke tracehook_report_syscall_entry() but do not provide syscall_get_arch(): arch/arc arch/c6x arch/h8300 arch/hexagon arch/m68k arch/nds32 arch/nios2 arch/riscv arch/um arch/xtensa Among these trees only m68k has its AUDIT_ARCH_M68K constant defined. -- ldv