LWN.net Logo

LSM setup changes for 2.5.25

From:  Greg KH <greg@kroah.com>
To:  torvalds@transmeta.com
Subject:  [BK PATCH] LSM setup changes for 2.5.25
Date:  Mon, 15 Jul 2002 17:03:11 -0700
Cc:  linux-kernel@vger.kernel.org, linux-security-module@wirex.com

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 <sds@tislabs.com> 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(-)
------

ChangeSet@1.641, 2002-07-15 12:53:35-07:00, greg@kroah.com
  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(-)
------

ChangeSet@1.640, 2002-07-15 12:51:26-07:00, greg@kroah.com
  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(-)
------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Copyright © 2002, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds