forked from luck/tmp_suning_uos_patched
make selinux_parse_opts_str() static
This patch makes the needlessly global selinux_parse_opts_str() static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Eric Paris <eparis@redhat.com> Signed-off-by: James Morris <jmorris@namei.org>
This commit is contained in:
parent
bde4f8fa8d
commit
2e1479d95d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user