aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/configs/nopm.config
diff options
context:
space:
mode:
authorKP Singh <kpsingh@google.com>2020-08-25 20:29:19 +0200
committerAlexei Starovoitov <ast@kernel.org>2020-08-25 15:00:04 -0700
commitcd324d7abb3d850ae083bda1239f800abe21fe25 (patch)
treef24d4ea8decc92139a1acaaf8e68024420293bb5 /kernel/configs/nopm.config
parent30897832d8b97e93833fb52c0a02951db3692ed2 (diff)
downloadlinux-cd324d7abb3d850ae083bda1239f800abe21fe25.tar.gz
bpf: Add selftests for local_storage
inode_local_storage: * Hook to the file_open and inode_unlink LSM hooks. * Create and unlink a temporary file. * Store some information in the inode's bpf_local_storage during file_open. * Verify that this information exists when the file is unlinked. sk_local_storage: * Hook to the socket_post_create and socket_bind LSM hooks. * Open and bind a socket and set the sk_storage in the socket_post_create hook using the start_server helper. * Verify if the information is set in the socket_bind hook. Signed-off-by: KP Singh <kpsingh@google.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Andrii Nakryiko <andriin@fb.com> Link: https://lore.kernel.org/bpf/20200825182919.1118197-8-kpsingh@chromium.org
Diffstat (limited to 'kernel/configs/nopm.config')
0 files changed, 0 insertions, 0 deletions