Files
linux/include/linux
KP Singh 8ea636848a 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
2020-08-25 15:00:04 -07:00
..
…
…
2020-08-03 18:19:23 -07:00
…
…
…
…
…
2020-06-25 22:25:13 -07:00
…
…
2020-06-16 14:19:57 +02:00
…
2020-07-27 14:55:22 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-07-21 08:24:52 -05:00
…
…
2020-07-08 10:48:35 -07:00
…
…
…
2020-08-25 15:00:04 -07:00
…
…
…
2020-07-21 13:26:26 -07:00
…
…
…
…
…
…
…
…
…
…
…
2020-06-24 17:08:31 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-06-16 19:25:20 +02:00
…
…
…
…
2020-07-27 14:29:23 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-06-17 00:07:38 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-08-14 19:56:56 -07:00
…
…
…
…
…
2020-07-24 17:12:41 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-08-04 21:02:38 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
2020-07-24 17:12:41 -07:00
…
…
…
…
…
…
…
…
…
…
2020-06-26 10:01:08 -06:00
…
…
2020-06-02 15:15:46 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-07-31 18:08:59 +10:00
…
…
…
…
…
…
…
…
…
…
2020-07-24 15:41:54 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-07-01 10:49:02 +02:00
…
…
…
…
…
…
…
2020-07-23 17:34:18 +10:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-07-16 23:19:51 +02:00
…
…
…
…
…
…
…
…
…
…
…
2020-07-20 09:39:11 +02:00
…
…
…
…
…
…
…
…
…
2020-08-07 11:33:24 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-05-29 14:52:53 +02:00
…
…
…
2020-07-04 09:35:36 -05:00
…
…
…
…
2020-07-07 11:58:59 -05:00
…
…
…
…
2020-08-01 11:28:17 +02:00
…
…
…
…
2020-06-26 00:27:38 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…