| Message ID | 7dec380a50e3db536bdec61a33b8f3b2e2e7ec65.1786626275.git.rrobaina@redhat.com |
|---|---|
| State | New |
| Headers | show
Return-Path: <SRS0=kqOp=GG=vger.kernel.org=sparclinux+bounces-7230-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=a8MbVzOd; 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=kqop=gg=vger.kernel.org=sparclinux+bounces-7230-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 4hLWyd1GKSz1xtl for <incoming@patchwork.ozlabs.org>; Fri, 14 Aug 2026 03:08:09 +1000 (AEST) Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by gandalf.ozlabs.org (Postfix) with ESMTP id 4hLWyc6kzdz4w9h for <incoming@patchwork.ozlabs.org>; Fri, 14 Aug 2026 03:08:08 +1000 (AEST) Received: by gandalf.ozlabs.org (Postfix) id 4hLWyc6gZtz4wJK; Fri, 14 Aug 2026 03:08:08 +1000 (AEST) Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: gandalf.ozlabs.org; arc=pass smtp.remote-ip=172.234.253.10 arc.chain=subspace.kernel.org ARC-Seal: i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1786640888; cv=pass; b=J4Y4ETHJqsDOkcy8wDJFhFNbIlz0qjnRw+lqahNZlC9uCeRuMjGtjoE/2rlKVejRgC8tzIind0cI8j55FEniP9KXS0oXs4qCKPodBqXBKYr5N2xOUVMaDKqMe+grUB+BFzwQ7YOBrOeQ9KbjoOXsEp2w0f7GKEP+tVWmYiYlUoW8mw8fQF+c4UghIf8+GXuZZoc68bfbWJQeUttkulStM+O7zUvIyy5F9sNoMk6HN4Y15Yw47DrAKDzETg017OsyYgiSFdWbIa2vLTksejrCDWbYezW/v04iAhAgskEIBM5nmp95bShsojwgrB7R6zfbHw0mm0vsTDCP8JasVQp5WQ== ARC-Message-Signature: i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1786640888; c=relaxed/relaxed; bh=GgHNIRpaiGrsleuWQ8qibHY2uklIV42xG6wSQPY4e1M=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=gxfaWa96Lysn4vnsIobMJBXSTwWl1+VBUQpVtP2G1AKirfq5DmLHB3oMr5ezi9pscU+Cxp4mACZRtWkSKRIrB1/HISyvQhJmS522jwuvhc2TEs7Tl2HRpdQMx7doq3XUtu2zeF5IIkxhD8DO4T8mRFqPB4Lg9hdPIirwJDBpWnDYYjiJvAjILCNfUVEQ45l1vqGuhaQ7PcUMwjTVrrzwQGrnuuKUK5XyQIX4wlHjszzB7dhI89XAQAx1ed+eE4hjOVWxBpyhJHAs5lxJfSgM25sGiUexo0tORcgAlGsQqELYqnuhAnKNoMdBjPqYmo1LWNc6EWiRXC6GJltiQlmdvA== 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=a8MbVzOd; dkim-atps=neutral; spf=pass (client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=sparclinux+bounces-7230-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=a8MbVzOd; dkim-atps=neutral Authentication-Results: gandalf.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=sparclinux+bounces-7230-patchwork-incoming=ozlabs.org@vger.kernel.org; receiver=ozlabs.org) Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) (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 4hLWyY3xvLz4w9h for <patchwork-incoming@ozlabs.org>; Fri, 14 Aug 2026 03:08:05 +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 D1BE33014D89 for <patchwork-incoming@ozlabs.org>; Thu, 13 Aug 2026 17:04:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A4C104968FE; Thu, 13 Aug 2026 17:04:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="a8MbVzOd" 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 399F8495539 for <sparclinux@vger.kernel.org>; Thu, 13 Aug 2026 17:04:17 +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=1786640658; cv=none; b=cie2XK0q+m1HgriQfqRt5TdGvMH6iu2hcem8xCgX3YQ+oFje/uNX1w//NVanqP/jgWYDK/HN5p5m3sIuWz7dRvyuR3i3UNUZWTh1ok6okbdglTsinMzRMDkYBiBSzayg08V87x9tb6B4LmRqrJCr52ElHDC+A/Bv7projhi5QMA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786640658; c=relaxed/simple; bh=9XBV5I17RwFW6E8XHjBQf72B0dwOKDgYR3HERS1dxTU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=o5ZMGrxU1AUfMqfSsUZwKOfe98Agap3HdImFKJL927YL6BMnh/wTxZjnkp7IA6zmKzAgbq3weq7/kKNdjnABR9eJH65qGZMEE5bmbPzt1WxYbFkzxesT51awTLPeQlIBiXm1F1wMLqI6I2HOsJ/rjOaVQIN/rgjIjje86/gu4zc= 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=a8MbVzOd; 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=1786640656; 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=GgHNIRpaiGrsleuWQ8qibHY2uklIV42xG6wSQPY4e1M=; b=a8MbVzOddJtMbQDzuoggedxCNquTA39z409pWel284svj07pjCOfjoCn2JQf1s9vEN16Oi GAQEgTxkG4M5dTwsIux/NygW5P84O6b4A1+2ZS92u0Fej7cnBD5eREwhlmiaEbJVdSuVb4 LUZcHWnfxaqkNEWFEVht1K84S+xBZnQ= 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-350-v7F3cTZiOfi696D6EVHhdQ-1; Thu, 13 Aug 2026 13:04:13 -0400 X-MC-Unique: v7F3cTZiOfi696D6EVHhdQ-1 X-Mimecast-MFC-AGG-ID: v7F3cTZiOfi696D6EVHhdQ_1786640647 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-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 5FFB5180066A; Thu, 13 Aug 2026 17:04:06 +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 07750195608A; Thu, 13 Aug 2026 17:03:51 +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 02/13] alpha: pass all six syscall args to audit_syscall_entry() Date: Thu, 13 Aug 2026 14:02:52 -0300 Message-ID: <7dec380a50e3db536bdec61a33b8f3b2e2e7ec65.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=-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/alpha/kernel/ptrace.c b/arch/alpha/kernel/ptrace.c index 0687760ea466..d90e2194b528 100644 --- a/arch/alpha/kernel/ptrace.c +++ b/arch/alpha/kernel/ptrace.c @@ -396,7 +396,8 @@ asmlinkage unsigned long syscall_trace_enter(void) #ifdef CONFIG_AUDITSYSCALL audit_syscall_entry(syscall_get_nr(current, regs), - regs->r16, regs->r17, regs->r18, regs->r19); + regs->r16, regs->r17, regs->r18, regs->r19, + regs->r20, regs->r21); #endif return syscall_get_nr(current, regs); }
Update the audit_syscall_entry() call to forward the 5th and 6th syscall arguments (r20, r21) now that the audit core logs all six. Signed-off-by: Ricardo Robaina <rrobaina@redhat.com> --- arch/alpha/kernel/ptrace.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)