Re: [PATCH v1] LSM: Enable multiple calls to security_add_hooks() for the same LSM

2017-05-08 Thread Mickaël Salaün
On 08/05/2017 22:07, Casey Schaufler wrote: > On 5/8/2017 12:24 PM, Mickaël Salaün wrote: >> On 01/05/2017 01:28, James Morris wrote: >>> On Sat, 29 Apr 2017, Mickaël Salaün wrote: >>> Check if the registering LSM already registered hooks just before. This enable to split hook declarati

Re: [PATCH v1] LSM: Enable multiple calls to security_add_hooks() for the same LSM

2017-05-08 Thread Casey Schaufler
On 5/8/2017 12:24 PM, Mickaël Salaün wrote: > On 01/05/2017 01:28, James Morris wrote: >> On Sat, 29 Apr 2017, Mickaël Salaün wrote: >> >>> Check if the registering LSM already registered hooks just before. This >>> enable to split hook declarations into multiple files without >>> registering multi

Re: [PATCH v1] LSM: Enable multiple calls to security_add_hooks() for the same LSM

2017-05-08 Thread Mickaël Salaün
On 01/05/2017 01:28, James Morris wrote: > On Sat, 29 Apr 2017, Mickaël Salaün wrote: > >> Check if the registering LSM already registered hooks just before. This >> enable to split hook declarations into multiple files without >> registering multiple time the same LSM name, starting from commit

Re: [PATCH v1] LSM: Enable multiple calls to security_add_hooks() for the same LSM

2017-04-30 Thread James Morris
On Sat, 29 Apr 2017, Mickaël Salaün wrote: > Check if the registering LSM already registered hooks just before. This > enable to split hook declarations into multiple files without > registering multiple time the same LSM name, starting from commit > d69dece5f5b6 ("LSM: Add /sys/kernel/security/ls

Re: [PATCH v1] LSM: Enable multiple calls to security_add_hooks() for the same LSM

2017-04-30 Thread Mickaël Salaün
On 30/04/2017 04:11, Tetsuo Handa wrote: > Casey Schaufler wrote: >> On 4/29/2017 12:02 PM, Mickael Salaun wrote: >>> Check if the registering LSM already registered hooks just before. This >>> enable to split hook declarations into multiple files without >>> registering multiple time the same LSM

Re: [PATCH v1] LSM: Enable multiple calls to security_add_hooks() for the same LSM

2017-04-29 Thread Tetsuo Handa
Casey Schaufler wrote: > On 4/29/2017 12:02 PM, Mickael Salaun wrote: > > Check if the registering LSM already registered hooks just before. This > > enable to split hook declarations into multiple files without > > registering multiple time the same LSM name, starting from commit > > d69dece5f5b6

Re: [PATCH v1] LSM: Enable multiple calls to security_add_hooks() for the same LSM

2017-04-29 Thread Casey Schaufler
On 4/29/2017 12:02 PM, Mickaël Salaün wrote: > Check if the registering LSM already registered hooks just before. This > enable to split hook declarations into multiple files without > registering multiple time the same LSM name, starting from commit > d69dece5f5b6 ("LSM: Add /sys/kernel/security/l

[PATCH v1] LSM: Enable multiple calls to security_add_hooks() for the same LSM

2017-04-29 Thread Mickaël Salaün
Check if the registering LSM already registered hooks just before. This enable to split hook declarations into multiple files without registering multiple time the same LSM name, starting from commit d69dece5f5b6 ("LSM: Add /sys/kernel/security/lsm"). Signed-off-by: Mickaël Salaün Cc: Casey Schau