From: Adrian Bunk <bunk@kernel.org>
To: Eric Paris <eparis@redhat.com>,
"Stephen D. Smalley" <sds@tycho.nsa.gov>,
James Morris <jmorris@namei.org>
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] make selinux_set_mnt_opts() static
Date: Tue, 29 Jan 2008 00:11:52 +0200 [thread overview]
Message-ID: <20080128221152.GC8767@does.not.exist> (raw)
selinux_set_mnt_opts() can become static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
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;
next reply other threads:[~2008-01-28 22:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-28 22:11 Adrian Bunk [this message]
2008-01-28 22:37 ` [2.6 patch] make selinux_set_mnt_opts() static 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=20080128221152.GC8767@does.not.exist \
--to=bunk@kernel.org \
--cc=eparis@redhat.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