Re: [RFC v1 05/14] krsi: Initialize KRSI hooks and create files in securityfs

2019-09-14 Thread Yonghong Song
On 9/10/19 12:55 PM, KP Singh wrote: > From: KP Singh > > The LSM creates files in securityfs for each hook registered with the > LSM. > > /sys/kernel/security/bpf/ > > The initialization of the hooks is done collectively in an internal > header "hooks.h" which results in: > > *

[RFC v1 05/14] krsi: Initialize KRSI hooks and create files in securityfs

2019-09-10 Thread KP Singh
From: KP Singh The LSM creates files in securityfs for each hook registered with the LSM. /sys/kernel/security/bpf/ The initialization of the hooks is done collectively in an internal header "hooks.h" which results in: * Creation of a file for the hook in the securityfs. * Allocation of a