Re: [RFC PATCH 09/29] lsm: cleanup and normalize the LSM enabled functions

2025-04-10 Thread Kees Cook
On Thu, Apr 10, 2025 at 10:14:52PM -0400, Paul Moore wrote: > On Thu, Apr 10, 2025 at 9:50 PM Paul Moore wrote: > > On Wed, Apr 9, 2025 at 8:11 PM Kees Cook wrote: > > > On Wed, Apr 09, 2025 at 02:49:54PM -0400, Paul Moore wrote: > > ... > > > > The simple renamings looks fine, but would be nic

Re: [RFC PATCH 09/29] lsm: cleanup and normalize the LSM enabled functions

2025-04-10 Thread Paul Moore
On Thu, Apr 10, 2025 at 9:50 PM Paul Moore wrote: > On Wed, Apr 9, 2025 at 8:11 PM Kees Cook wrote: > > On Wed, Apr 09, 2025 at 02:49:54PM -0400, Paul Moore wrote: ... > > The simple renamings looks fine, but would be nicer if they got split > > out. > > I can look into doing that, let me try t

Re: [RFC PATCH 09/29] lsm: cleanup and normalize the LSM enabled functions

2025-04-10 Thread Paul Moore
On Thu, Apr 10, 2025 at 9:50 PM Paul Moore wrote: > On Wed, Apr 9, 2025 at 8:11 PM Kees Cook wrote: > > On Wed, Apr 09, 2025 at 02:49:54PM -0400, Paul Moore wrote: ... > > > -/* Append an LSM to the list of ordered LSMs to initialize. */ > > > -static int last_lsm __initdata; > > > -static void

Re: [RFC PATCH 09/29] lsm: cleanup and normalize the LSM enabled functions

2025-04-10 Thread Paul Moore
On Wed, Apr 9, 2025 at 8:11 PM Kees Cook wrote: > On Wed, Apr 09, 2025 at 02:49:54PM -0400, Paul Moore wrote: > > One part of a larger effort to cleanup the LSM framework initialization > > code. > > > > Signed-off-by: Paul Moore > > --- > > security/inode.c| 9 ++-- > > security/lsm_init.

Re: [RFC PATCH 09/29] lsm: cleanup and normalize the LSM enabled functions

2025-04-10 Thread Kees Cook
On Wed, Apr 09, 2025 at 02:49:54PM -0400, Paul Moore wrote: > One part of a larger effort to cleanup the LSM framework initialization > code. > > Signed-off-by: Paul Moore > --- > security/inode.c| 9 ++-- > security/lsm_init.c | 110 > 2 files

[RFC PATCH 09/29] lsm: cleanup and normalize the LSM enabled functions

2025-04-09 Thread Paul Moore
One part of a larger effort to cleanup the LSM framework initialization code. Signed-off-by: Paul Moore --- security/inode.c| 9 ++-- security/lsm_init.c | 110 2 files changed, 63 insertions(+), 56 deletions(-) diff --git a/security/inode.c b/