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

2017-05-14 Thread James Morris
On Wed, 10 May 2017, Mickaël Salaün wrote: > The commit d69dece5f5b6 ("LSM: Add /sys/kernel/security/lsm") extend > security_add_hooks() with a new parameter to register the LSM name, > which may be useful to make the list of currently loaded LSM available > to userspace. However, there is no

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

2017-05-14 Thread James Morris
On Wed, 10 May 2017, Mickaël Salaün wrote: > The commit d69dece5f5b6 ("LSM: Add /sys/kernel/security/lsm") extend > security_add_hooks() with a new parameter to register the LSM name, > which may be useful to make the list of currently loaded LSM available > to userspace. However, there is no

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

2017-05-10 Thread Casey Schaufler
On 5/10/2017 1:48 PM, Mickaël Salaün wrote: > The commit d69dece5f5b6 ("LSM: Add /sys/kernel/security/lsm") extend > security_add_hooks() with a new parameter to register the LSM name, > which may be useful to make the list of currently loaded LSM available > to userspace. However, there is no

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

2017-05-10 Thread Casey Schaufler
On 5/10/2017 1:48 PM, Mickaël Salaün wrote: > The commit d69dece5f5b6 ("LSM: Add /sys/kernel/security/lsm") extend > security_add_hooks() with a new parameter to register the LSM name, > which may be useful to make the list of currently loaded LSM available > to userspace. However, there is no

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

2017-05-10 Thread Kees Cook
On Wed, May 10, 2017 at 1:48 PM, Mickaël Salaün wrote: > The commit d69dece5f5b6 ("LSM: Add /sys/kernel/security/lsm") extend > security_add_hooks() with a new parameter to register the LSM name, > which may be useful to make the list of currently loaded LSM available > to

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

2017-05-10 Thread Kees Cook
On Wed, May 10, 2017 at 1:48 PM, Mickaël Salaün wrote: > The commit d69dece5f5b6 ("LSM: Add /sys/kernel/security/lsm") extend > security_add_hooks() with a new parameter to register the LSM name, > which may be useful to make the list of currently loaded LSM available > to userspace. However,

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

2017-05-10 Thread Mickaël Salaün
The commit d69dece5f5b6 ("LSM: Add /sys/kernel/security/lsm") extend security_add_hooks() with a new parameter to register the LSM name, which may be useful to make the list of currently loaded LSM available to userspace. However, there is no clean way for an LSM to split its hook declarations

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

2017-05-10 Thread Mickaël Salaün
The commit d69dece5f5b6 ("LSM: Add /sys/kernel/security/lsm") extend security_add_hooks() with a new parameter to register the LSM name, which may be useful to make the list of currently loaded LSM available to userspace. However, there is no clean way for an LSM to split its hook declarations