Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp410446imu; Thu, 8 Nov 2018 23:00:03 -0800 (PST) X-Google-Smtp-Source: AJdET5fhoYQc4uKM3IPJ9SrsHCfFVvQDyfzNGmpWHOPpxJ3k55WjZZxWeyhi2qwWdyCDV1yuRLIy X-Received: by 2002:a17:902:4623:: with SMTP id o32-v6mr7643178pld.187.1541746802978; Thu, 08 Nov 2018 23:00:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541746802; cv=none; d=google.com; s=arc-20160816; b=DbiMU1dcCUUeSIMN/FS6nkNSl/rIk/Uu3dP3r4nEXCNUPwv50QENS/pxyMI3L3XmCC YWaTBCKSn0sa5+17o+RPUSIxH/40hcI4ev8gUqZfv1DIZSXeo+tFYXvVm6thOXqjFbEa VlU8p0zMUEp1KP/IKEbDdnlVTz8GFsSbQ8mzJZ4INXLpxk38V6XYGvVuSb3TCBM1HLeC gSaOj9+udcQgcAo+aaGTWkj9WRc64e74vHke26zEJ4Bl/vITfeSFsZUw0RAspqZIP231 34BiAmFXKAdIu59pYeFRHnf/6nWRhxTx00zujkTeBZo46bA85Ua17srIvdbbJZhpG5BK RkXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Rt7dvlXRtuXdezXvwwdHrCrHcLtulW0mACAMUGxzCQE=; b=Luo/A4Xmy/H4IEFF41yt+5c///jVlk+pGXF/k95QAblrcW/cJsfPDs2udvYPdhMqTz fVplZdNTwxuTXj0gyP71UNREfzAAdl0KYO21ybFcxUPiJ13nWaVzkL8VLhngk5LFtLQ3 X9fdkwOegm2TCgWJ2e+INyOHb97UVhPWlg7tZXbzZnTN1W9tLm/TNvg4GFSkwSbK0Moc gq6/EVJXz1Z4wV7Afx/97bEU4KJDGq7kST/KTIqpvLFAAa17rDgUt/qGSf534RnuIEZa tKoLOYGRR/SuzcM/FHtkuXvTVEeHta5UhZNax8vymzHbLX2FVDUBHwTXQbn/4OdTDVS7 1SJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="cj/Q2/uz"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r11si6089583pgg.327.2018.11.08.22.59.47; Thu, 08 Nov 2018 23:00:02 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b="cj/Q2/uz"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727984AbeKIQig (ORCPT + 99 others); Fri, 9 Nov 2018 11:38:36 -0500 Received: from mail-ot1-f67.google.com ([209.85.210.67]:40539 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727734AbeKIQig (ORCPT ); Fri, 9 Nov 2018 11:38:36 -0500 Received: by mail-ot1-f67.google.com with SMTP id s5so755876oth.7 for ; Thu, 08 Nov 2018 22:59:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=Rt7dvlXRtuXdezXvwwdHrCrHcLtulW0mACAMUGxzCQE=; b=cj/Q2/uzb+1I2cqayV2i0EqPfq/nKB/b2/15tW2fon8xYVmVs5owm8Thf6hVn1V+ui +j4PxDcj+aEVnUfUDabuqzPZVti0vZUVXmFLBQR3PPWd4cpA1/rnWe5tzD5G4rhePnTU 59/qgSg8bcrscrxIMb9UcmzOtasJEa3q/X9TFKyGu8QSFzvmK0ieRy3WILsumh1psVwq KrkOpSU6Prz+lCDDwUfRcQ8lNsj164AYeNzlz462MxUa9bKxQY9bEXk1/Ao1HdSVhmUs zC+3AYAD5iETMa24309sKBHrEpiN49+PlAHpbW3ozVkwUq/RkBLklEZr09wrCs4faHC1 cuDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=Rt7dvlXRtuXdezXvwwdHrCrHcLtulW0mACAMUGxzCQE=; b=uEz1WZRTYoVHQDqhlXqRDWp/0lZk38KN7832cxAtzjyNqGrJDBLD4kNAF+4CItUOv2 73fOD2gkKzZW0OvrKJnuNFeoBaiU06qW3fPRRxJ3Es08ni6baw9TD6J/fGhxmORbXqCO memVOXZ9W+oymeiFax8ytptsPSHCC8eXt1U5HoEbcAAYjIyVQTMH0JGx98f0L8LSif7c F/6wr+HDkYqC+LA1iiz16Z8LbgSVbm9uUWmUOpmf1QqpN5i6zaKMXoOtxy2qwV06Kwrj UQ8qEgMkt8p9k5Qcuqm4fg1tD7ysO9J1Fwqje/fxbzvFK3tjBwFaSRMAWmVb1J3WRf/U gMGw== X-Gm-Message-State: AGRZ1gLh+EfJjUP33I4MpBpsr2aLMFVbdPnpLZppZ5ac970cJ7fsc4xw XiXTybBaxmf9KtPh/NZD1s1CXaWdTuv94wpO9Fg= X-Received: by 2002:a9d:dc3:: with SMTP id 61mr4575956ots.345.1541746764030; Thu, 08 Nov 2018 22:59:24 -0800 (PST) MIME-Version: 1.0 References: <20181109031303.GA20906@altlinux.org> <20181109031712.GL21511@altlinux.org> In-Reply-To: <20181109031712.GL21511@altlinux.org> From: David Abdurachmanov Date: Fri, 9 Nov 2018 07:59:13 +0100 Message-ID: Subject: Re: [PATCH 12/13] riscv: define syscall_get_arch() To: luto@kernel.org, Palmer Dabbelt , aou@eecs.berkeley.edu, Paul Moore , eparis@redhat.com, lineprinter@altlinux.org, linux-riscv@lists.infradead.org, linux-audit@redhat.com, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 9, 2018 at 4:17 AM Dmitry V. Levin wrote: > > 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. > I have posted audit support patch for RISC-V in October. Pending review. It defines both AUDIT_ARCH_RISCV32 and AUDIT_ARCH_RISCV64. See thread: http://lists.infradead.org/pipermail/linux-riscv/2018-October/001933.html david