login
Header Space

 
 

[2.6 patch] make selinux_parse_opts_str() static

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Eric Paris <eparis@...>, Stephen Smalley <sds@...>, Casey Schaufler <casey@...>, James Morris <jmorris@...>
Cc: <linux-kernel@...>
Date: Monday, March 17, 2008 - 4:29 pm

This patch makes the needlessly global selinux_parse_opts_str() static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
42740a04634e3a4362a688b29ad31ee87c940ff7 diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index 4bf4807..41a049f 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -800,7 +800,8 @@ static void selinux_sb_clone_mnt_opts(const struct super_block *oldsb,
 	mutex_unlock(&newsbsec->lock);
 }
 
-int selinux_parse_opts_str(char *options, struct security_mnt_opts *opts)
+static int selinux_parse_opts_str(char *options,
+				  struct security_mnt_opts *opts)
 {
 	char *p;
 	char *context = NULL, *defcontext = NULL;

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[2.6 patch] make selinux_parse_opts_str() static, Adrian Bunk, (Mon Mar 17, 4:29 pm)
Re: [2.6 patch] make selinux_parse_opts_str() static, Eric Paris, (Mon Mar 17, 5:36 pm)
Re: [2.6 patch] make selinux_parse_opts_str() static, James Morris, (Mon Mar 17, 6:32 pm)
speck-geostationary