public inbox for bpf@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf-next] bpf: Fix block device hooks names
@ 2026-03-30 21:03 Jiri Olsa
  2026-03-30 21:39 ` Song Liu
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jiri Olsa @ 2026-03-30 21:03 UTC (permalink / raw)
  To: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko
  Cc: Christian Brauner, Venkat Rao Bagalkote, bpf, Martin KaFai Lau,
	Eduard Zingerman, Song Liu, Yonghong Song

Use proper names for block device hooks names.

Cc: Christian Brauner <brauner@kernel.org>
Fixes: 46df585fcff7 ("bpf: classify block device hooks appropriately")
Reported-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
Closes: https://lore.kernel.org/bpf/acrVKUy_EPiFFmV9@krava/T/#m7c7906a1ff4029e29185aec3266dbf5c8996dbf7
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
---
 kernel/bpf/bpf_lsm.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/kernel/bpf/bpf_lsm.c b/kernel/bpf/bpf_lsm.c
index 119e3942cf5a..0e74325d96a6 100644
--- a/kernel/bpf/bpf_lsm.c
+++ b/kernel/bpf/bpf_lsm.c
@@ -383,7 +383,7 @@ BTF_ID(func, bpf_lsm_task_prctl)
 BTF_ID(func, bpf_lsm_task_setscheduler)
 BTF_ID(func, bpf_lsm_task_to_inode)
 BTF_ID(func, bpf_lsm_userns_create)
-BTF_ID(func, bpf_lsm_bdev_alloc)
+BTF_ID(func, bpf_lsm_bdev_alloc_security)
 BTF_ID(func, bpf_lsm_bdev_setintegrity)
 BTF_SET_END(sleepable_lsm_hooks)
 
@@ -397,8 +397,8 @@ BTF_ID(func, bpf_lsm_sk_alloc_security)
 BTF_ID(func, bpf_lsm_sk_free_security)
 #endif /* CONFIG_SECURITY_NETWORK */
 BTF_ID(func, bpf_lsm_task_free)
-BTF_ID(func, bpf_lsm_bdev_alloc)
-BTF_ID(func, bpf_lsm_bdev_free)
+BTF_ID(func, bpf_lsm_bdev_alloc_security)
+BTF_ID(func, bpf_lsm_bdev_free_security)
 BTF_SET_END(untrusted_lsm_hooks)
 
 bool bpf_lsm_is_sleepable_hook(u32 btf_id)
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH bpf-next] bpf: Fix block device hooks names
  2026-03-30 21:03 [PATCH bpf-next] bpf: Fix block device hooks names Jiri Olsa
@ 2026-03-30 21:39 ` Song Liu
  2026-03-31  6:22 ` Venkat Rao Bagalkote
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Song Liu @ 2026-03-30 21:39 UTC (permalink / raw)
  To: Jiri Olsa
  Cc: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
	Christian Brauner, Venkat Rao Bagalkote, bpf, Martin KaFai Lau,
	Eduard Zingerman, Song Liu, Yonghong Song

On Mon, Mar 30, 2026 at 2:05 PM Jiri Olsa <jolsa@kernel.org> wrote:
>
> Use proper names for block device hooks names.
>
> Cc: Christian Brauner <brauner@kernel.org>
> Fixes: 46df585fcff7 ("bpf: classify block device hooks appropriately")
> Reported-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
> Closes: https://lore.kernel.org/bpf/acrVKUy_EPiFFmV9@krava/T/#m7c7906a1ff4029e29185aec3266dbf5c8996dbf7
> Signed-off-by: Jiri Olsa <jolsa@kernel.org>

Acked-by: Song Liu <song@kernel.org>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH bpf-next] bpf: Fix block device hooks names
  2026-03-30 21:03 [PATCH bpf-next] bpf: Fix block device hooks names Jiri Olsa
  2026-03-30 21:39 ` Song Liu
@ 2026-03-31  6:22 ` Venkat Rao Bagalkote
  2026-03-31  8:16 ` Christian Brauner
  2026-03-31  9:20 ` patchwork-bot+netdevbpf
  3 siblings, 0 replies; 5+ messages in thread
From: Venkat Rao Bagalkote @ 2026-03-31  6:22 UTC (permalink / raw)
  To: Jiri Olsa, Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko
  Cc: Christian Brauner, bpf, Martin KaFai Lau, Eduard Zingerman,
	Song Liu, Yonghong Song


On 31/03/26 2:33 am, Jiri Olsa wrote:
> Use proper names for block device hooks names.
>
> Cc: Christian Brauner <brauner@kernel.org>
> Fixes: 46df585fcff7 ("bpf: classify block device hooks appropriately")
> Reported-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
> Closes: https://lore.kernel.org/bpf/acrVKUy_EPiFFmV9@krava/T/#m7c7906a1ff4029e29185aec3266dbf5c8996dbf7
> Signed-off-by: Jiri Olsa <jolsa@kernel.org>
> ---


Tested-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>


Regards,

Venkat.

>   kernel/bpf/bpf_lsm.c | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/kernel/bpf/bpf_lsm.c b/kernel/bpf/bpf_lsm.c
> index 119e3942cf5a..0e74325d96a6 100644
> --- a/kernel/bpf/bpf_lsm.c
> +++ b/kernel/bpf/bpf_lsm.c
> @@ -383,7 +383,7 @@ BTF_ID(func, bpf_lsm_task_prctl)
>   BTF_ID(func, bpf_lsm_task_setscheduler)
>   BTF_ID(func, bpf_lsm_task_to_inode)
>   BTF_ID(func, bpf_lsm_userns_create)
> -BTF_ID(func, bpf_lsm_bdev_alloc)
> +BTF_ID(func, bpf_lsm_bdev_alloc_security)
>   BTF_ID(func, bpf_lsm_bdev_setintegrity)
>   BTF_SET_END(sleepable_lsm_hooks)
>   
> @@ -397,8 +397,8 @@ BTF_ID(func, bpf_lsm_sk_alloc_security)
>   BTF_ID(func, bpf_lsm_sk_free_security)
>   #endif /* CONFIG_SECURITY_NETWORK */
>   BTF_ID(func, bpf_lsm_task_free)
> -BTF_ID(func, bpf_lsm_bdev_alloc)
> -BTF_ID(func, bpf_lsm_bdev_free)
> +BTF_ID(func, bpf_lsm_bdev_alloc_security)
> +BTF_ID(func, bpf_lsm_bdev_free_security)
>   BTF_SET_END(untrusted_lsm_hooks)
>   
>   bool bpf_lsm_is_sleepable_hook(u32 btf_id)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH bpf-next] bpf: Fix block device hooks names
  2026-03-30 21:03 [PATCH bpf-next] bpf: Fix block device hooks names Jiri Olsa
  2026-03-30 21:39 ` Song Liu
  2026-03-31  6:22 ` Venkat Rao Bagalkote
@ 2026-03-31  8:16 ` Christian Brauner
  2026-03-31  9:20 ` patchwork-bot+netdevbpf
  3 siblings, 0 replies; 5+ messages in thread
From: Christian Brauner @ 2026-03-31  8:16 UTC (permalink / raw)
  To: Jiri Olsa
  Cc: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
	Venkat Rao Bagalkote, bpf, Martin KaFai Lau, Eduard Zingerman,
	Song Liu, Yonghong Song

On Mon, Mar 30, 2026 at 11:03:44PM +0200, Jiri Olsa wrote:
> Use proper names for block device hooks names.
> 
> Cc: Christian Brauner <brauner@kernel.org>
> Fixes: 46df585fcff7 ("bpf: classify block device hooks appropriately")
> Reported-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
> Closes: https://lore.kernel.org/bpf/acrVKUy_EPiFFmV9@krava/T/#m7c7906a1ff4029e29185aec3266dbf5c8996dbf7
> Signed-off-by: Jiri Olsa <jolsa@kernel.org>
> ---

Thank you!

Reviewed-by: Christian Brauner <brauner@kernel.org>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH bpf-next] bpf: Fix block device hooks names
  2026-03-30 21:03 [PATCH bpf-next] bpf: Fix block device hooks names Jiri Olsa
                   ` (2 preceding siblings ...)
  2026-03-31  8:16 ` Christian Brauner
@ 2026-03-31  9:20 ` patchwork-bot+netdevbpf
  3 siblings, 0 replies; 5+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-03-31  9:20 UTC (permalink / raw)
  To: Jiri Olsa
  Cc: ast, daniel, andrii, brauner, venkat88, bpf, kafai, eddyz87,
	songliubraving, yhs

Hello:

This patch was applied to bpf/bpf-next.git (master)
by Daniel Borkmann <daniel@iogearbox.net>:

On Mon, 30 Mar 2026 23:03:44 +0200 you wrote:
> Use proper names for block device hooks names.
> 
> Cc: Christian Brauner <brauner@kernel.org>
> Fixes: 46df585fcff7 ("bpf: classify block device hooks appropriately")
> Reported-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
> Closes: https://lore.kernel.org/bpf/acrVKUy_EPiFFmV9@krava/T/#m7c7906a1ff4029e29185aec3266dbf5c8996dbf7
> Signed-off-by: Jiri Olsa <jolsa@kernel.org>
> 
> [...]

Here is the summary with links:
  - [bpf-next] bpf: Fix block device hooks names
    https://git.kernel.org/bpf/bpf-next/c/9eccdd38fb50

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-03-31  9:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-30 21:03 [PATCH bpf-next] bpf: Fix block device hooks names Jiri Olsa
2026-03-30 21:39 ` Song Liu
2026-03-31  6:22 ` Venkat Rao Bagalkote
2026-03-31  8:16 ` Christian Brauner
2026-03-31  9:20 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox