[BK PATCH] LSM changes for 2.5.50

From: Greg KH (gregat_private)
Date: Thu Dec 05 2002 - 08:31:52 PST

  • Next message: Greg KH: "[PATCH] LSM changes for 2.5.50"

    Here are a few minor fixes left over from the last security ops changes,
    a big cleanup of the "default" security operations, and an small example
    security module for people to use as a template (yes, it does add two
    exported symbols from the USB core, but I'm ok with that :).
    
    Please pull from:
            bk://lsm.bkbits.net/linus-2.5
    
    thanks,
    
    greg k-h
    	
    
     drivers/usb/core/hcd.c |    2 
     fs/hugetlbfs/inode.c   |    1 
     fs/namei.c             |    2 
     security/Kconfig       |   10 
     security/Makefile      |    1 
     security/capability.c  |  530 -------------------------------------------------
     security/dummy.c       |  169 ++++++++++++---
     security/root_plug.c   |  189 +++++++++++++++++
     security/security.c    |   50 ----
     9 files changed, 349 insertions(+), 605 deletions(-)
    ------
    
    ChangeSetat_private, 2002-12-04 16:56:51-06:00, gregat_private
      LSM: add the example rootplug module
    
     drivers/usb/core/hcd.c |    2 
     security/Kconfig       |   10 ++
     security/Makefile      |    1 
     security/root_plug.c   |  189 +++++++++++++++++++++++++++++++++++++++++++++++++
     4 files changed, 202 insertions(+)
    ------
    
    ChangeSetat_private, 2002-12-04 16:14:32-06:00, gregat_private
      LSM: remove "dummy" functions from the capability code, as they are no longer needed.
    
     security/capability.c |  530 --------------------------------------------------
     1 files changed, 530 deletions(-)
    ------
    
    ChangeSetat_private, 2002-12-04 16:01:47-06:00, gregat_private
      LSM: Added security_fixup_ops()
      
      This allows LSM code to only define the functions that they want to,
      and not be forced to provide "dummy" functions for everything else.
    
     security/dummy.c    |  169 ++++++++++++++++++++++++++++++++++++++++++----------
     security/security.c |   50 +--------------
     2 files changed, 145 insertions(+), 74 deletions(-)
    ------
    
    ChangeSetat_private, 2002-11-30 00:59:35-08:00, gregat_private
      LSM: add #include <linux/security.h> to fs/hugetlbfs/inode.c
      
      Thanks to venomat_private for pointing this out.
    
     fs/hugetlbfs/inode.c |    1 +
     1 files changed, 1 insertion(+)
    ------
    
    ChangeSetat_private, 2002-11-30 00:13:57-08:00, steveat_private
      [PATCH] fs/namei.c fix
      
      One of Greg KH's security cleanups reversed the sense of a test.
      Without this patch, 2.5.50 oopses at boot.  Please apply.
    
     fs/namei.c |    2 +-
     1 files changed, 1 insertion(+), 1 deletion(-)
    ------
    
    _______________________________________________
    linux-security-module mailing list
    linux-security-moduleat_private
    http://mail.wirex.com/mailman/listinfo/linux-security-module
    



    This archive was generated by hypermail 2b30 : Thu Dec 05 2002 - 08:33:50 PST