From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796442860; b=QkSMNkPZfT1DFXE9rS3MSsJj0SNEvl6D9RjowjhicRIkyR7HTX8BBy9uJwR+/RwgHamG Zxmh7mVMG5tUoEcrv7Hvw3Ke/JvNCbBenzhffWxNUkQQzcMQzbsTylKDKGiOu8FG71t/W dITKDggPv81p4VZULOqjACToxTKczuzNo1I6sni5uvFUoeqJyPV8n5WcB+GOL2iPGny6y Jidu3x3DSlVRWt112CL3r/dYY4BS5LtHs6CAzsyHZKun68FuYreYL/C0oubopLYJHsqbG YhCcH6U1adlTfO7fs4MoCS7IB56XPbsVCraEMzoMLetiJ6Op7t2c9S8d9iZBSNgu8Qw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796442860; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=3XwwMJ7YpO7n8cIgKvjEkSNkrfG/gpEaWMLzpr2s6Iw=; b=aGsillN8xCnKJI7lxjmdqHJlC4skqMXSBT4V98hFyTzRqAm6FvJUfE/jGXN+KXgdIWYJ M8oOBHDSVHZJK6vBVNbEiLIvC+4eyLx/3YKdNv3mqRYx/Ed/0d/fwlpB4ARK8wqkRcoik Wm4FhBuJWGpfyaewLoABA7OjFhcqLyUn88ppqIhrEPka4w4kv+8PD3aMOIXYDR6ltz8js VM4l9gSQS7eJgtbvxZxYC+OJIoN70yCxlMDtkAdP7Ea63c1PjRQmat7VzxfSFxBuEcqgv hVGwjrbJI6fHgQzLEAzgpUyOHSX17TCDc2pjbz20ZZQt5DZEW02ByOeVUdYnWFHcP4w== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=IJaptpsA; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3693F606A330; Sat, 5 Dec 2026 03:54:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=IJaptpsA Received: by smtp.kernel.org (Postfix) with ESMTPSA id 90C8E1F00936; Sat, 5 Dec 2026 03:54:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796442859; bh=3XwwMJ7YpO7n8cIgKvjEkSNkrfG/gpEaWMLzpr2s6Iw=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=IJaptpsAmpNsaKN21fZ1LeKUBVGC/nBOntY8YGdlvAblPzFOUzaM4UFG3tR1wLkVC 9/5l9qHM5iG4i4JXQcsA7V+NmfYRl0kcwBqT8nHyYm5/uTWQbkHOrPDpfhj5PYRHBX QEOF3e/SREIqlFzD4YA3RvvcBKX3S+OboiuBZ+0OkDhTEuYPzzQ9d5Qjzo8nJ/qhce +iCIMFmm2VioC1SmPCM8/zRDf8H9xw0mN5VJTo7POJjobj7SpN9G1mFLcIbmfIo7SX JXMj+4aJs1i/jgQT+9pq0MW89oukiDlYHV6SPpUZV9kkcaazi8O/OvfB6JTcq0lIcW Oh2+MldLrwJYw== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [RFC PATCH v10 24/28] bpf: Register run LSM hooks Reply-To: sashiko-reviews@lists.linux.dev To: "Jarkko Sakkinen" Cc: bpf@vger.kernel.org, linux-mm@kvack.org, linux-security-module@vger.kernel.org, "Aleksa Sarai" , "Alexander Mikhalitsyn" , "Alexander Viro" , "Alexei Starovoitov" , "Andrew Morton" , "Andrii Nakryiko" , "Andy Lutomirski" , "Arnd Bergmann" , "Baolin Wang" , "Ben Segall" , "Christian Brauner" , "Daniel Borkmann" , "David Hildenbrand" , "David Howells" , "David Woodhouse" , "Davidlohr Bueso" , "Dietmar Eggemann" , "Eduard Zingerman" , "Emil Tsalapatis" , "Eric Biggers" , "Georgia Garcia" , "Giuseppe Scrivano" , =?utf-8?b?R8O8bnRoZXIgTm9hY2s=?= , "Hugh Dickins" , "Ihor Solodrai" , "Ingo Molnar" , "James Morris" , "Jan Kara" , "Jason Gunthorpe" , "Jeff Layton" , "Jiri Olsa" , "John Johansen" , "Jonathan Corbet" , "Josef Bacik" , "Juri Lelli" , "Kees Cook" , "K Prateek Nayak" , "KP Singh" , "Kumar Kartikeya Dwivedi" , "Lennart Poettering" , "Liam R. Howlett" , "Manfred Spraul" , "Martin KaFai Lau" , "Matt Bobrowski" , "Mel Gorman" , "Michal Hocko" , =?utf-8?b?TWlja2HDq2wgU2FsYcO8bg==?= , "Mike Rapoport" , "Neal Gompa" , "Oleg Nesterov" , "Paul Moore" , "Pavel Tikhomirov" , "Peter Zijlstra" , "Randy Dunlap" , "Serge E. Hallyn" , "Serge Hallyn" , "Shuah Khan" , "Song Liu" , "Stephen Smalley" , "Steven Rostedt" , "Valentin Schneider" , "Vincent Guittot" , "Yonghong Song" , "Zygmunt Krynicki" In-Reply-To: <20261205032633.1702772-25-jarkko@kernel.org> References: <20261205032633.1702772-1-jarkko@kernel.org> <20261205032633.1702772-25-jarkko@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sat, 05 Dec 2026 03:54:17 +0000 X-Mailing-List: linux-security-module@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] bpf: unused linux/runfd.h include in kernel/bpf/bpf_lsm.c -- commit 18ecb711d622c12bdb132de0bbfc99e9963d9f28 Author: Jarkko Sakkinen bpf: Register run LSM hooks This commit registers the runfd LSM hooks in the sleepable and untrusted BPF LSM hook sets under CONFIG_RUNFD. > diff --git a/kernel/bpf/bpf_lsm.c b/kernel/bpf/bpf_lsm.c > index ae23511fd811b..f41cebc1af4a7 100644 > --- a/kernel/bpf/bpf_lsm.c > +++ b/kernel/bpf/bpf_lsm.c > @@ -16,6 +16,7 @@ > #include > #include > #include > +#include [Severity: Low] Is this include needed? Nothing in kernel/bpf/bpf_lsm.c uses anything from linux/runfd.h, and struct run is already forward-declared in include/linux/security.h (pulled in via include/linux/lsm_hooks.h) for the LSM_HOOK prototypes. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261205032633.1702= 772-1-jarkko@kernel.org?part=3D24