[BK PATCH] LSM setup changes for 2.5.26

From: Greg KH (gregat_private)
Date: Wed Jul 17 2002 - 11:23:05 PDT

  • Next message: Greg KH: "Re: [BK PATCH] LSM setup changes for 2.5.26"

    Hi,
    
    These changesets contain some minor changes that are needed by the LSM
    (lsm.immunix.org) patch, before we start to merge in the LSM patch
    itself.  They move some structures out of a .c file and put them into a
    .h file so other portions of the kernel can reference them.
    
    Please pull from:  bk://lsm.bkbits.net/linus-2.5
    
    These patches were created by Stephen Smalley <sdsat_private> from the
    main LSM tree.
    
    If anyone has any questions about these changes, please let us know.
    
    thanks,
    
    greg k-h
    
    
     include/linux/msg.h |   29 +++++++++++++++++++++++++++++
     include/linux/shm.h |   13 +++++++++++++
     ipc/msg.c           |   34 ++++------------------------------
     ipc/sem.c           |    7 ++++---
     ipc/shm.c           |   21 +++++----------------
     5 files changed, 55 insertions(+), 49 deletions(-)
    
    ------
    
    ChangeSetat_private, 2002-07-15 12:53:35-07:00, gregat_private
      LSM: move struct shmid_kernel out of ipc/shm.c to include/linux/shm.h
      
      Also move where we set sma->sem_perm.mode and .key to before ipc_addid() gets called.
    
     include/linux/shm.h |   13 +++++++++++++
     ipc/sem.c           |    7 ++++---
     ipc/shm.c           |   21 +++++----------------
     3 files changed, 22 insertions(+), 19 deletions(-)
    ------
    
    ChangeSetat_private, 2002-07-15 12:51:26-07:00, gregat_private
      LSM: move the struct msg_msg and struct msg_queue definitions out of the msg.c file to the msg.h file
      
      Also move where the msg->q_perm.mode and .key values get set to before 
      ipc_addid() gets called to make placing a hook there easier.
    
     include/linux/msg.h |   29 +++++++++++++++++++++++++++++
     ipc/msg.c           |   34 ++++------------------------------
     2 files changed, 33 insertions(+), 30 deletions(-)
    ------
    _______________________________________________
    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 : Wed Jul 17 2002 - 11:25:47 PDT