[-mm patch] security/slim/slm_main.c: make 2 functions static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch makes two needlessly global functions static.

Signed-off-by: Adrian Bunk <[email protected]>

---

 security/slim/slm_main.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- linux-2.6.19-rc5-mm2/security/slim/slm_main.c.old	2006-11-17 16:42:58.000000000 +0100
+++ linux-2.6.19-rc5-mm2/security/slim/slm_main.c	2006-11-17 16:43:22.000000000 +0100
@@ -967,8 +967,8 @@
  * of the current process. This is especially important for objects
  * being promoted.
 */
-int slm_inode_setxattr(struct dentry *dentry, char *name, void *value,
-		       size_t size, int flags)
+static int slm_inode_setxattr(struct dentry *dentry, char *name, void *value,
+			      size_t size, int flags)
 {
 	struct slm_tsec_data *cur_tsec = current->security;
 	char *data = value;
@@ -1075,7 +1075,7 @@
 /*
  * Opening a socket demotes the integrity of a process to untrusted.
  */
-int slm_socket_create(int family, int type, int protocol, int kern)
+static int slm_socket_create(int family, int type, int protocol, int kern)
 {
 	struct task_struct *parent_tsk;
 	struct slm_tsec_data *cur_tsec = current->security, *parent_tsec;

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux