| Message ID | 185aac22d5afd79ef50f170332a1a808ff0a5b0d.1788351089.git.rrobaina@redhat.com |
|---|---|
| State | New |
| Headers | show
Return-Path: <SRS0=62pT=G2=vger.kernel.org=sparclinux+bounces-7429-patchwork-incoming=ozlabs.org@ozlabs.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=cSJbnX5N; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=ozlabs.org (client-ip=2404:9400:2221:ea00::3; helo=mail.ozlabs.org; envelope-from=srs0=62pt=g2=vger.kernel.org=sparclinux+bounces-7429-patchwork-incoming=ozlabs.org@ozlabs.org; receiver=patchwork.ozlabs.org) Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1 raw public key) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4hZmGB57rMz1xwZ for <incoming@patchwork.ozlabs.org>; Thu, 03 Sep 2026 01:04:02 +1000 (AEST) Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by gandalf.ozlabs.org (Postfix) with ESMTP id 4hZmGB456Lz4wFP for <incoming@patchwork.ozlabs.org>; Thu, 03 Sep 2026 01:04:02 +1000 (AEST) Received: by gandalf.ozlabs.org (Postfix) id 4hZmGB41Mfz4wGB; Thu, 03 Sep 2026 01:04:02 +1000 (AEST) Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: gandalf.ozlabs.org; arc=pass smtp.remote-ip="2600:3c04:e001:36c::12fc:5321" arc.chain=subspace.kernel.org ARC-Seal: i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1788361442; cv=pass; b=tzcIla2ClbL2y1QpaHE5VX8QGVe8I5CW6QEKFm5UE5yoFYB73Y9ONv2VFaSD4RD52D/RDfuYWiTIxhOxWInjZxGK8tqS3X5ZN2tdSO8HOg+uyCaalpSMzHrsiXsgiRqH+5fdrs4hSLAZG30nEUvg+MHEEbcftxeR2829YI2LC/+9zP9gT4cWPyYz8MIDAnK+XFqrM3yq2dKbgi0ZcPWFfRMhWLd6We60AWi928Af0sTYF9fdcm8wQdgQhJ9BnDEdVJSNMFnZsZOLNcY+gyNWVFGTfJsA0NgqscAPLt41ZaRldKV2nNXeGqhBNvylvlcmRvNYf98a7VI94tADJwyhgw== ARC-Message-Signature: i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1788361442; c=relaxed/relaxed; bh=ItBk91wHSYNF8sJoVrRHTmXutoGVHgHWsPITNC9iFGU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=a5LBZ9+ZtF//NOIk1pks3wkDT/cb5UcYHzFwwMH92KcngGDNEFNfLWtTDT8WFkVg1LxGDI7cT37HeL1tCrf2oFxtjR0Mi/eFS+0fVmZqRERjbyVHfdcKRhFd5r5cyGV6TagR1pZ4vS3JL3Q9WJ9cP4sBnNNxlHPs2zBbRXvB5USWIs6Sr+R/Ujh5QvKazDYU5mwYDdkjJWmmezjQw3KyCzmVxVWI3zGa1AqJHbryoHgGsgzFSyc8L91PyU+hvSqP3pPHJrGvMs1leCBqQY1DwX5Y6SZcNiu4FiIiRXkSls0xWtc68+XrAwQbUJfYaswLEB+YSWwg8vOZl62HOgLS0g== ARC-Authentication-Results: i=2; gandalf.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=cSJbnX5N; dkim-atps=neutral; spf=pass (client-ip=2600:3c04:e001:36c::12fc:5321; helo=tor.lore.kernel.org; envelope-from=sparclinux+bounces-7429-patchwork-incoming=ozlabs.org@vger.kernel.org; receiver=ozlabs.org) smtp.mailfrom=vger.kernel.org Authentication-Results: gandalf.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: gandalf.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=cSJbnX5N; dkim-atps=neutral Authentication-Results: gandalf.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2600:3c04:e001:36c::12fc:5321; helo=tor.lore.kernel.org; envelope-from=sparclinux+bounces-7429-patchwork-incoming=ozlabs.org@vger.kernel.org; receiver=ozlabs.org) Received: from tor.lore.kernel.org (tor.lore.kernel.org [IPv6:2600:3c04:e001:36c::12fc:5321]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by gandalf.ozlabs.org (Postfix) with ESMTPS id 4hZmG70RLKz4wFP for <patchwork-incoming@ozlabs.org>; Thu, 03 Sep 2026 01:03:59 +1000 (AEST) Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by tor.lore.kernel.org (Postfix) with ESMTP id C4B41A0DA8 for <patchwork-incoming@ozlabs.org>; Wed, 2 Sep 2026 14:46:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6F3C24A3F1A; Wed, 2 Sep 2026 14:45:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="cSJbnX5N" X-Original-To: sparclinux@vger.kernel.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EE97A340416 for <sparclinux@vger.kernel.org>; Wed, 2 Sep 2026 14:45:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788360349; cv=none; b=FKiw1NpeB/GeXZj2+z+jQrQobNWZ8h9vyqt8FI6txTwdnqKMKIcrk2TXSXIzHQDNQnlBHaYwLMsTAaPNiXu/CeKwQV7tMu3f6ecjQ9494ctKUWmkdk8cCVxDgq3MligrwKrEnW9kVFL+v/LD7XD2Gsmg1fVmcE+GBxIeYNU8230= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788360349; c=relaxed/simple; bh=8/GCA5LAxIagEVqfPnhqTs8UinXTcTM+5JmGK586QT4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=bNj/1+nzv2bWfZlCcUc7CmQkAJ4o1cJi4JaHksH6Q42xgRPA2rptgk22FwE9+H3lrQ2ixKDP66HfRNNH7mc+4Y227s6DvwJ2umWM2zgZzLFlgDwL3pfKyvpAB2t9it2LNvkuiAQ9rbGn3rrg0laE6PPy7MgeA0bd2fzrZxBECZg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=cSJbnX5N; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1788360346; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ItBk91wHSYNF8sJoVrRHTmXutoGVHgHWsPITNC9iFGU=; b=cSJbnX5NuBpVXlTHsqicPmzyOQlYW6mkcNxiVJmCmlO9lygNRGeiXnkl+0SJ0kmsuRlWdf tFKxQG3HjHcJ9dq4l67Kr3s2Hx49t4qDrIvKEv91jZPfCxIwAxOVGloiYGBk0FWQ8L7K3c u78+S3kur1X+A28B/VJk7RjJtJX3oqo= Received: from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-358-u0gr6a0fMcKlIaVx4XlB8Q-1; Wed, 02 Sep 2026 10:45:45 -0400 X-MC-Unique: u0gr6a0fMcKlIaVx4XlB8Q-1 X-Mimecast-MFC-AGG-ID: u0gr6a0fMcKlIaVx4XlB8Q_1788360334 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 1DB4F18512F5; Wed, 2 Sep 2026 14:45:33 +0000 (UTC) Received: from wsxc.redhat.com (unknown [10.96.134.11]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 1B99D1800641; Wed, 2 Sep 2026 14:45:19 +0000 (UTC) From: Ricardo Robaina <rrobaina@redhat.com> To: audit@vger.kernel.org, linux-kernel@vger.kernel.org, linux-alpha@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, linux-mips@vger.kernel.org, linux-openrisc@vger.kernel.org, linux-parisc@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-um@lists.infradead.org, bpf@vger.kernel.org Cc: paul@paul-moore.com, eparis@redhat.com, sgrubb@redhat.com, oleg@redhat.com, richard.henderson@linaro.org, mattst88@gmail.com, linmag7@gmail.com, linux@armlinux.org.uk, catalin.marinas@arm.com, will@kernel.org, guoren@kernel.org, monstr@monstr.eu, tsbogend@alpha.franken.de, jonas@southpole.se, stefan.kristiansson@saunalahti.fi, shorne@gmail.com, James.Bottomley@HansenPartnership.com, deller@gmx.de, ysato@users.sourceforge.jp, dalias@libc.org, glaubitz@physik.fu-berlin.de, davem@davemloft.net, andreas@gaisler.com, richard@nod.at, anton.ivanov@cambridgegreys.com, johannes@sipsolutions.net, chris@zankel.net, jcmvbkbc@gmail.com, tglx@kernel.org, peterz@infradead.org, luto@kernel.org, Ricardo Robaina <rrobaina@redhat.com> Subject: [PATCH v2 06/13] microblaze: pass pt_regs to audit_syscall_entry() Date: Wed, 2 Sep 2026 11:43:39 -0300 Message-ID: <185aac22d5afd79ef50f170332a1a808ff0a5b0d.1788351089.git.rrobaina@redhat.com> In-Reply-To: <cover.1788351089.git.rrobaina@redhat.com> References: <cover.1788351089.git.rrobaina@redhat.com> Precedence: bulk X-Mailing-List: sparclinux@vger.kernel.org List-Id: <sparclinux.vger.kernel.org> List-Subscribe: <mailto:sparclinux+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:sparclinux+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DMARC_PASS,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=disabled version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on gandalf.ozlabs.org |
| Series |
audit: log all six syscall arguments in the SYSCALL record
|
expand
|
diff --git a/arch/microblaze/kernel/ptrace.c b/arch/microblaze/kernel/ptrace.c index 236264e932d6..5fe9e3a150f4 100644 --- a/arch/microblaze/kernel/ptrace.c +++ b/arch/microblaze/kernel/ptrace.c @@ -147,7 +147,7 @@ asmlinkage unsigned long do_syscall_trace_enter(struct pt_regs *regs) */ ret = -1L; - audit_syscall_entry(regs->r12, regs->r5, regs->r6, regs->r7, regs->r8); + audit_syscall_entry(regs->r12, regs); return ret ?: regs->r12; }
audit_syscall_entry() now takes a pointer to pt_regs and extracts the syscall arguments itself via syscall_get_arguments(). Drop the individual argument registers from the call and pass regs instead. Signed-off-by: Ricardo Robaina <rrobaina@redhat.com> --- arch/microblaze/kernel/ptrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)