diff options
author | KP Singh <kpsingh@google.com> | 2020-08-25 20:29:17 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-08-25 15:00:04 -0700 |
commit | 8ea636848aca35b9f97c5b5dee30225cf2dd0fe6 (patch) | |
tree | fd26d1b828552b8e1e4dc53fe61e928cfeaf7f61 /include/linux/pm_opp.h | |
parent | 450af8d0f6be2e7dd2a528a3fb054bb726bf1747 (diff) | |
download | linux-8ea636848aca35b9f97c5b5dee30225cf2dd0fe6.tar.gz |
bpf: Implement bpf_local_storage for inodes
Similar to bpf_local_storage for sockets, add local storage for inodes.
The life-cycle of storage is managed with the life-cycle of the inode.
i.e. the storage is destroyed along with the owning inode.
The BPF LSM allocates an __rcu pointer to the bpf_local_storage in the
security blob which are now stackable and can co-exist with other LSMs.
Signed-off-by: KP Singh <kpsingh@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200825182919.1118197-6-kpsingh@chromium.org
Diffstat (limited to 'include/linux/pm_opp.h')
0 files changed, 0 insertions, 0 deletions