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;
--
| Renato S. Yamane | Error -71 on device descriptor read/all |
| Stoyan Gaydarov | From 2.4 to 2.6 to 2.7? |
| Rafael J. Wysocki | 2.6.27-rc4-git1: Reported regressions from 2.6.26 |
| Adrian Bunk | Re: 463 kernel developers missing! |
git: | |
| Mike Hommey | Re: Minor annoyance with git push |
| Ken Pratt | pack operation is thrashing my server |
| Elijah Newren | Trying to use git-filter-branch to compress history by removing large, obsolete bi... |
| Wink Saville | Resolving conflicts |
| Daniel Andersson | Re: rtorrent + OpenBSD = freeze |
| Pieter Verberne | File collision while using pkg_add |
| Nick Guenther | Re: Real men don't attack straw men |
| Michael | Virtual interface |
| Jim Winstead Jr. | Re: Root Disk/Book Disk Compatibility |
| Theodore Ts'o | Re: demand paging: proposal |
| Ian Jackson | RESULT: comp.os.linux.announce passes 479:131, others fail |
| Brandon S. Allbery | Re: mkdir says "no space left on device" and more problems... |
