aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorAdrian Bunk <[email protected]>2008-03-17 20:29:23 +0000
committerJames Morris <[email protected]>2008-03-17 22:17:22 +0000
commit2e1479d95d02b43660fe03ab2c595ec9751a6f97 (patch)
tree6e4ff5a6eeda225390a19287cd95617b6345df63 /security/selinux/hooks.c
parentMerge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff)
downloadkernel-2e1479d95d02b43660fe03ab2c595ec9751a6f97.tar.gz
kernel-2e1479d95d02b43660fe03ab2c595ec9751a6f97.zip
make selinux_parse_opts_str() static
This patch makes the needlessly global selinux_parse_opts_str() static. Signed-off-by: Adrian Bunk <[email protected]> Acked-by: Eric Paris <[email protected]> Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
-rw-r--r--security/selinux/hooks.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index 4bf4807f2d44..41a049f50f58 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;