[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-security-module
Subject:    Re: [Linux-security-module-commit] lsm tree change 1.271
From:       Greg KH <greg () kroah ! com>
Date:       2001-11-06 1:23:04
[Download RAW message or body]

The actual patch would help :)

greg k-h

["lsm-1.271.patch" (text/plain)]

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux Security Module
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.270   -> 1.271  
#	include/linux/security.h	1.112   -> 1.113  
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 01/11/05	greg@soap.kroah.net	1.271
# added documenation entries for the other security ops structures in the main security structure.
# added lame documentation for the register_security() and unregister_security() hooks.
# --------------------------------------------
#
diff --minimal -Nru a/include/linux/security.h b/include/linux/security.h
--- a/include/linux/security.h	Mon Nov  5 17:07:11 2001
+++ b/include/linux/security.h	Mon Nov  5 17:07:11 2001
@@ -1343,6 +1343,44 @@
  *	@skb.
  *	@skb contains the sk_buff structure for the netlink message.
  *	Return 0 if permission is granted.
+ * @bprm_ops:
+ *	struct binprm_security_ops
+ * @sb_ops:
+ *	struct super_block_security_ops
+ * @inode_ops:
+ *	struct inode_security_ops
+ * @file_ops:
+ *	struct file_security_ops
+ * @task_ops:
+ *	struct task_security_ops
+ * @socket_ops:
+ *	struct socket_security_ops
+ * @skb_ops:
+ *	struct skb_security_ops
+ * @ip_ops:
+ *	struct ip_security_ops
+ * @netdev_ops:
+ *	struct netdev_security_ops
+ * @module_ops:
+ *	struct module_security_ops
+ * @ipc_ops:
+ *	struct ipc_security_ops
+ * @msg_msg_ops:
+ *	struct msg_msg_security_ops
+ * @msg_queue_ops:
+ *	struct msg_queue_security_ops
+ * @shm_ops:
+ *	struct shm_security_ops
+ * @sem_ops:
+ *	struct sem_security_ops
+ * @register_security:
+ * 	allow module stacking.
+ * 	@name contains the name of the security module being stacked.
+ * 	@ops contains a pointer to the struct security_operations of the module to stack.
+ * @unregister_security:
+ *	remove a stacked module.
+ *	@name contains the name of the security module being unstacked.
+ *	@ops contains a pointer to the struct security_operations of the module to unstack.
  * 
  * This is the main security structure.
  */
@@ -1394,8 +1432,8 @@
 	struct sem_security_ops		* sem_ops;
 
 	/* allow module stacking */
-	int (* register_security)	(const char *name, struct security_operations *ops);
-	int (* unregister_security)	(const char *name, struct security_operations *ops);
+	int (*register_security)	(const char *name, struct security_operations *ops);
+	int (*unregister_security)	(const char *name, struct security_operations *ops);
 };
 
 

_______________________________________________
linux-security-module mailing list
linux-security-module@wirex.com
http://mail.wirex.com/mailman/listinfo/linux-security-module


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic