public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Paris <eparis@redhat.com>
To: Adrian Bunk <bunk@kernel.org>
Cc: Stephen Smalley <sds@tycho.nsa.gov>,
	Casey Schaufler <casey@schaufler-ca.com>,
	James Morris <jmorris@namei.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] make selinux_parse_opts_str() static
Date: Mon, 17 Mar 2008 17:36:01 -0400	[thread overview]
Message-ID: <1205789761.2431.1.camel@localhost.localdomain> (raw)
In-Reply-To: <20080317202923.GC9550@cs181133002.pp.htv.fi>

On Mon, 2008-03-17 at 22:29 +0200, Adrian Bunk wrote:
> This patch makes the needlessly global selinux_parse_opts_str() static.
> 
> Signed-off-by: Adrian Bunk <bunk@kernel.org>

Ack-ed by: Eric Paris <eparis@redhat.com>

whoops, sorry.

> ---
> 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;
> 


  reply	other threads:[~2008-03-17 21:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-17 20:29 [2.6 patch] make selinux_parse_opts_str() static Adrian Bunk
2008-03-17 21:36 ` Eric Paris [this message]
2008-03-17 22:32   ` James Morris

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=1205789761.2431.1.camel@localhost.localdomain \
    --to=eparis@redhat.com \
    --cc=bunk@kernel.org \
    --cc=casey@schaufler-ca.com \
    --cc=jmorris@namei.org \
    --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