Re: [PATCH bpf-next v8 6/7] bpf: Allow local storage to be used from LSM programs

2020-08-19 Thread KP Singh
On 8/18/20 6:16 AM, Martin KaFai Lau wrote: > On Mon, Aug 03, 2020 at 06:46:54PM +0200, KP Singh wrote: >> From: KP Singh >> >> Adds support for both bpf_{sk, inode}_storage_{get, delete} to be used >> in LSM programs. These helpers are not used for tracing programs [...] >> @@ -2823,6

Re: [PATCH bpf-next v8 6/7] bpf: Allow local storage to be used from LSM programs

2020-08-17 Thread Martin KaFai Lau
On Mon, Aug 03, 2020 at 06:46:54PM +0200, KP Singh wrote: > From: KP Singh > > Adds support for both bpf_{sk, inode}_storage_{get, delete} to be used > in LSM programs. These helpers are not used for tracing programs > (currently) as their usage is tied to the life-cycle of the object and >

[PATCH bpf-next v8 6/7] bpf: Allow local storage to be used from LSM programs

2020-08-03 Thread KP Singh
From: KP Singh Adds support for both bpf_{sk, inode}_storage_{get, delete} to be used in LSM programs. These helpers are not used for tracing programs (currently) as their usage is tied to the life-cycle of the object and should only be used where the owning object won't be freed (when the