| Message ID | fc2810a850a8bf343b7ad7ae9caf3da57e1f41ec.1786626275.git.rrobaina@redhat.com |
|---|---|
| State | New |
| Headers | show
Return-Path: <SRS0=a8RX=GG=vger.kernel.org=sparclinux+bounces-7241-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=Jdnwu0SZ; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=ozlabs.org (client-ip=150.107.74.76; helo=mail.ozlabs.org; envelope-from=srs0=a8rx=gg=vger.kernel.org=sparclinux+bounces-7241-patchwork-incoming=ozlabs.org@ozlabs.org; receiver=patchwork.ozlabs.org) Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4hLX8C1FtBz1xwH for <incoming@patchwork.ozlabs.org>; Fri, 14 Aug 2026 03:16:26 +1000 (AEST) Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by gandalf.ozlabs.org (Postfix) with ESMTP id 4hLX8B5X2Xz4w0H for <incoming@patchwork.ozlabs.org>; Fri, 14 Aug 2026 03:16:26 +1000 (AEST) Received: by gandalf.ozlabs.org (Postfix) id 4hLX8B5SMVz4w1Z; Fri, 14 Aug 2026 03:16:26 +1000 (AEST) Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: gandalf.ozlabs.org; arc=pass smtp.remote-ip="2600:3c0a:e001:db::12fc:5321" arc.chain=subspace.kernel.org ARC-Seal: i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1786641386; cv=pass; b=OwwNHU818oL+M6GS4MJlRje8va6v50j2rtkSt0zL35NBxjWzyPMX7Vp5u+0Cvw2Jq6MPrCYp/opwiM2vxZKujXFZSj+oIWFOGCCKAfsCs0nDp/GfNRDlMrXgtskmKVUkYU+EatZZ/ZvT5+zuZ0gADJ5D9oYglF56WqDE3kobKMS8c6cv6nhr0lKam8SbjEMeahJxffm53UAYMpPEdNN4vYKY37ZAYZuFDQf32lKmASNwvBK0v5zfMaDI0gZfTxKO1+dEYGH3TrTlEFVJWI0oWgQAnTME8N2+9dRZDbsjISr2XF/Pb7JqjvohFUo0dJSsEH/yV7pbJ2+1X7tM4ffcUg== ARC-Message-Signature: i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1786641386; c=relaxed/relaxed; bh=jpaakGs2Tf7xeoHHoL80KxzX2+hb3XlzydpXYC2fGY4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ocytXm/ivNJp3UV2aldaw+xdp5A85gNkSAPP3b7r5I9c/SPOKYXNUnLH39U1f16y82dmHamerBCEwPeKFBZM/UTQf05E8vpCF2ycEdEoUdknnhw9X3V58euVPB/1UnkNl9HtbBUbjsr5FheQOOi9917zUIECUWu/6Wh/8UwlsYMhvRBDWDRDjfPjcuJnGGInYiPcjqq4aqHDfrFEc5gWPRNDBYgZRxOetyqdnu+SO8iPFCfN2ogTSIMnOAQJbVeLM0tXfyLTG6u+4E1s3gifLtYg3CkBLjWcQ24KHUuLvNUZgmooaRZT2zxTglzI3Oy+iVer1cXy4IMjGEgg7TX7FQ== 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=Jdnwu0SZ; dkim-atps=neutral; spf=pass (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org; envelope-from=sparclinux+bounces-7241-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=Jdnwu0SZ; dkim-atps=neutral Authentication-Results: gandalf.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org; envelope-from=sparclinux+bounces-7241-patchwork-incoming=ozlabs.org@vger.kernel.org; receiver=ozlabs.org) Received: from sea.lore.kernel.org (sea.lore.kernel.org [IPv6:2600:3c0a:e001:db::12fc:5321]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by gandalf.ozlabs.org (Postfix) with ESMTPS id 4hLX870t9sz4w0H for <patchwork-incoming@ozlabs.org>; Fri, 14 Aug 2026 03:16:23 +1000 (AEST) Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sea.lore.kernel.org (Postfix) with ESMTP id 2176B303641E for <patchwork-incoming@ozlabs.org>; Thu, 13 Aug 2026 17:07:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9D3CF499F1F; Thu, 13 Aug 2026 17:07:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Jdnwu0SZ" 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 5AD6648CD5B for <sparclinux@vger.kernel.org>; Thu, 13 Aug 2026 17:07:22 +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=1786640844; cv=none; b=ZOYZrcqpQsD3+BNj5Y03SGlHxe6Jv8N55MJmAJRUG/3fOLzqnePfVCC2C9tk5ESRBt1EZqDkZr0xitmCJrON80/vApp4lH/Xnvn9szMz074/pOqsAIQCjBbrMUa33AX3Vc4hEl/hI695EUyT8a9MsXl5MP926c4XByg/+Ha8LyM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786640844; c=relaxed/simple; bh=w0jbd1lgYBWjloNI+GXG0PPjt/OCDX0+pwpLokZvL6I=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hqBT7tg2j0VP+9MlQDK5ax0VpxtpliPPqGXf5a/RVl/42bgvN3V4bNJ9V/cwqsuXwgETik3Jp63lDu//EO6SzdOUAKWOmpdt1o/ifuH9SQnfZJffuyqEdE3AOmjWW5ztGJ4fMWsNiua9YT46P94Ohr0BUKrKYE40mBDbg9ksGuY= 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=Jdnwu0SZ; 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=1786640841; 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=jpaakGs2Tf7xeoHHoL80KxzX2+hb3XlzydpXYC2fGY4=; b=Jdnwu0SZDNt1sqVnI84vSj4mqVHF/0nH7n8R6V0x+KLaWvpLlsvlDBch8AqeNR9tAarzky pk8Fg2evAOroAU5SKmX8Mp9TG/Tsh6duEK3WB5ISN6gnmzvwikEhfu9xds5THqxqxlzJlS r9kbHY585Wzk9/b35heWmOB+sSW4Xhg= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-689-wBrpiqygOMm-ilyseSAiJg-1; Thu, 13 Aug 2026 13:06:10 -0400 X-MC-Unique: wBrpiqygOMm-ilyseSAiJg-1 X-Mimecast-MFC-AGG-ID: wBrpiqygOMm-ilyseSAiJg_1786640766 Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (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-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id EA6521955F3F; Thu, 13 Aug 2026 17:06:05 +0000 (UTC) Received: from wsxc.redhat.com (unknown [10.96.134.24]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 375D4195608A; Thu, 13 Aug 2026 17:05:53 +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 11/13] sparc64: pass all six syscall args to audit_syscall_entry() Date: Thu, 13 Aug 2026 14:03:01 -0300 Message-ID: <fc2810a850a8bf343b7ad7ae9caf3da57e1f41ec.1786626275.git.rrobaina@redhat.com> In-Reply-To: <cover.1786626275.git.rrobaina@redhat.com> References: <cover.1786626275.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.0 on 10.30.177.12 X-Spam-Status: No, score=2.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DMARC_PASS,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=disabled version=4.0.1 X-Spam-Level: ** 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/sparc/kernel/ptrace_64.c b/arch/sparc/kernel/ptrace_64.c index 9fc67fa9336f..d0ad3200d789 100644 --- a/arch/sparc/kernel/ptrace_64.c +++ b/arch/sparc/kernel/ptrace_64.c @@ -1100,7 +1100,8 @@ asmlinkage int syscall_trace_enter(struct pt_regs *regs) audit_syscall_entry(regs->u_regs[UREG_G1], regs->u_regs[UREG_I0], regs->u_regs[UREG_I1], regs->u_regs[UREG_I2], - regs->u_regs[UREG_I3]); + regs->u_regs[UREG_I3], regs->u_regs[UREG_I4], + regs->u_regs[UREG_I5]); return ret; }
Update the audit_syscall_entry() call to forward the 5th and 6th syscall arguments (UREG_I4, UREG_I5) now that the audit core logs all six. Signed-off-by: Ricardo Robaina <rrobaina@redhat.com> --- arch/sparc/kernel/ptrace_64.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)