[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Xine.LNX.4.64.0801290937220.22649@us.intercode.com.au>
Date: Tue, 29 Jan 2008 09:37:30 +1100 (EST)
From: James Morris <jmorris@...ei.org>
To: Adrian Bunk <bunk@...nel.org>
cc: Eric Paris <eparis@...hat.com>,
"Stephen D. Smalley" <sds@...ho.nsa.gov>,
linux-kernel@...r.kernel.org
Subject: Re: [2.6 patch] make selinux_set_mnt_opts() static
On Tue, 29 Jan 2008, Adrian Bunk wrote:
> selinux_set_mnt_opts() can become static.
>
> Signed-off-by: Adrian Bunk <bunk@...nel.org>
>
Thanks, applied.
> ---
> d9cfb159caa25ed5ad3dee35d62a6e1a0bd51ef6
> diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
> index 0396354..04eeab7 100644
> --- a/security/selinux/hooks.c
> +++ b/security/selinux/hooks.c
> @@ -561,8 +561,8 @@ static int bad_option(struct superblock_security_struct *sbsec, char flag,
> * Allow filesystems with binary mount data to explicitly set mount point
> * labeling information.
> */
> -int selinux_set_mnt_opts(struct super_block *sb, char **mount_options,
> - int *flags, int num_opts)
> +static int selinux_set_mnt_opts(struct super_block *sb, char **mount_options,
> + int *flags, int num_opts)
> {
> int rc = 0, i;
> struct task_security_struct *tsec = current->security;
>
--
James Morris
<jmorris@...ei.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists