mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.6 patch] make selinux_write_opts() static
@ 2008-07-22 17:21 Adrian Bunk
  2008-07-22 18:43 ` James Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-07-22 17:21 UTC (permalink / raw)
  To: Eric Paris, sds, jmorris; +Cc: linux-kernel

This patch makes the needlessly global selinux_write_opts() static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
b75a9f11d832d4f819b69f02b615c53889faec09 
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index 63f131f..3179e40 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -957,7 +957,8 @@ out_err:
 	return rc;
 }
 
-void selinux_write_opts(struct seq_file *m, struct security_mnt_opts *opts)
+static void selinux_write_opts(struct seq_file *m,
+			       struct security_mnt_opts *opts)
 {
 	int i;
 	char *prefix;


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [2.6 patch] make selinux_write_opts() static
  2008-07-22 17:21 [2.6 patch] make selinux_write_opts() static Adrian Bunk
@ 2008-07-22 18:43 ` James Morris
  0 siblings, 0 replies; 2+ messages in thread
From: James Morris @ 2008-07-22 18:43 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Eric Paris, sds, linux-kernel

On Tue, 22 Jul 2008, Adrian Bunk wrote:

> This patch makes the needlessly global selinux_write_opts() static.
> 
> Signed-off-by: Adrian Bunk <bunk@kernel.org>

Thanks.

Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#devel

-- 
James Morris
<jmorris@namei.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-22 18:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-22 17:21 [2.6 patch] make selinux_write_opts() static Adrian Bunk
2008-07-22 18:43 ` James Morris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome