diff options
author | Roberto Sassu <roberto.sassu@huawei.com> | 2022-03-02 12:14:02 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-03-10 18:57:55 -0800 |
commit | df6b3039fa112e17555776213cab7f07c0a8d98d (patch) | |
tree | 0e3d1ffbe1d71ab436d636265959292c6203efe1 /kernel/range.c | |
parent | 91e8fa254dbd0890c34286acdc12e96412305840 (diff) | |
download | linux-df6b3039fa112e17555776213cab7f07c0a8d98d.tar.bz2 |
bpf-lsm: Make bpf_lsm_kernel_read_file() as sleepable
Make bpf_lsm_kernel_read_file() as sleepable, so that bpf_ima_inode_hash()
or bpf_ima_file_hash() can be called inside the implementation of this
hook.
Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20220302111404.193900-8-roberto.sassu@huawei.com
Diffstat (limited to 'kernel/range.c')
0 files changed, 0 insertions, 0 deletions