]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bpf: lsm: Add two more sleepable hooks
authorSong Liu <song@kernel.org>
Thu, 30 Jan 2025 21:35:47 +0000 (13:35 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 14 Feb 2025 03:35:31 +0000 (19:35 -0800)
commit7587d735b150bc593c812615bbd232980418eea3
tree52578ae652fee122ba86aefad512dbcb1bf59cba
parentab39ad6796e59b967cf32652503f5a95f38b3632
bpf: lsm: Add two more sleepable hooks

Add bpf_lsm_inode_removexattr and bpf_lsm_inode_post_removexattr to list
sleepable_lsm_hooks. These two hooks are always called from sleepable
context.

Signed-off-by: Song Liu <song@kernel.org>
Reviewed-by: Matt Bobrowski <mattbobrowski@google.com>
Link: https://lore.kernel.org/r/20250130213549.3353349-4-song@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
kernel/bpf/bpf_lsm.c