public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: James Morris <jmorris@namei.org>
To: Adrian Bunk <bunk@kernel.org>
Cc: Eric Paris <eparis@redhat.com>,
	"Stephen D. Smalley" <sds@tycho.nsa.gov>,
	linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] make selinux_set_mnt_opts() static
Date: Tue, 29 Jan 2008 09:37:30 +1100 (EST)	[thread overview]
Message-ID: <Xine.LNX.4.64.0801290937220.22649@us.intercode.com.au> (raw)
In-Reply-To: <20080128221152.GC8767@does.not.exist>

On Tue, 29 Jan 2008, Adrian Bunk wrote:

> selinux_set_mnt_opts() can become static.
> 
> Signed-off-by: Adrian Bunk <bunk@kernel.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@namei.org>

      reply	other threads:[~2008-01-28 22:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-28 22:11 [2.6 patch] make selinux_set_mnt_opts() static Adrian Bunk
2008-01-28 22:37 ` James Morris [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Xine.LNX.4.64.0801290937220.22649@us.intercode.com.au \
    --to=jmorris@namei.org \
    --cc=bunk@kernel.org \
    --cc=eparis@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sds@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox