public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] make smackfs.c:smk_unlbl_ambient() static
@ 2008-02-22 19:58 Adrian Bunk
  2008-02-22 20:05 ` Paul Moore
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Adrian Bunk @ 2008-02-22 19:58 UTC (permalink / raw)
  To: Casey Schaufler, Paul Moore; +Cc: linux-kernel

This patch makes the needlessly global smk_unlbl_ambient() static.

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

---
60c7072cb922cdecdb8a4f08e5710c014e0e8a8c diff --git a/security/smack/smackfs.c b/security/smack/smackfs.c
index 358c92c..7c6e671 100644
--- a/security/smack/smackfs.c
+++ b/security/smack/smackfs.c
@@ -371,7 +371,7 @@ void smk_cipso_doi(void)
 /**
  * smk_unlbl_ambient - initialize the unlabeled domain
  */
-void smk_unlbl_ambient(char *oldambient)
+static void smk_unlbl_ambient(char *oldambient)
 {
 	int rc;
 	struct netlbl_audit audit_info;

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

* Re: [2.6 patch] make smackfs.c:smk_unlbl_ambient() static
  2008-02-22 19:58 [2.6 patch] make smackfs.c:smk_unlbl_ambient() static Adrian Bunk
@ 2008-02-22 20:05 ` Paul Moore
  2008-02-23  1:09 ` Casey Schaufler
  2008-02-24 18:55 ` Casey Schaufler
  2 siblings, 0 replies; 4+ messages in thread
From: Paul Moore @ 2008-02-22 20:05 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Casey Schaufler, linux-kernel

On Friday 22 February 2008 2:58:07 pm Adrian Bunk wrote:
> This patch makes the needlessly global smk_unlbl_ambient() static.
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>

Fine with me.

Acked-by: Paul Moore <paul.moore@hp.com>

> ---
> 60c7072cb922cdecdb8a4f08e5710c014e0e8a8c diff --git
> a/security/smack/smackfs.c b/security/smack/smackfs.c index
> 358c92c..7c6e671 100644
> --- a/security/smack/smackfs.c
> +++ b/security/smack/smackfs.c
> @@ -371,7 +371,7 @@ void smk_cipso_doi(void)
>  /**
>   * smk_unlbl_ambient - initialize the unlabeled domain
>   */
> -void smk_unlbl_ambient(char *oldambient)
> +static void smk_unlbl_ambient(char *oldambient)
>  {
>  	int rc;
>  	struct netlbl_audit audit_info;



-- 
paul moore
linux security @ hp

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

* Re: [2.6 patch] make smackfs.c:smk_unlbl_ambient() static
  2008-02-22 19:58 [2.6 patch] make smackfs.c:smk_unlbl_ambient() static Adrian Bunk
  2008-02-22 20:05 ` Paul Moore
@ 2008-02-23  1:09 ` Casey Schaufler
  2008-02-24 18:55 ` Casey Schaufler
  2 siblings, 0 replies; 4+ messages in thread
From: Casey Schaufler @ 2008-02-23  1:09 UTC (permalink / raw)
  To: Adrian Bunk, Casey Schaufler, Paul Moore; +Cc: linux-kernel


--- Adrian Bunk <bunk@kernel.org> wrote:

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

Acked-by: Casey Schaufler <casey@schaufler-ca.com>

Oops.

> 
> ---
> 60c7072cb922cdecdb8a4f08e5710c014e0e8a8c diff --git
> a/security/smack/smackfs.c b/security/smack/smackfs.c
> index 358c92c..7c6e671 100644
> --- a/security/smack/smackfs.c
> +++ b/security/smack/smackfs.c
> @@ -371,7 +371,7 @@ void smk_cipso_doi(void)
>  /**
>   * smk_unlbl_ambient - initialize the unlabeled domain
>   */
> -void smk_unlbl_ambient(char *oldambient)
> +static void smk_unlbl_ambient(char *oldambient)
>  {
>  	int rc;
>  	struct netlbl_audit audit_info;
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 
> 
> 


Casey Schaufler
casey@schaufler-ca.com

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

* Re: [2.6 patch] make smackfs.c:smk_unlbl_ambient() static
  2008-02-22 19:58 [2.6 patch] make smackfs.c:smk_unlbl_ambient() static Adrian Bunk
  2008-02-22 20:05 ` Paul Moore
  2008-02-23  1:09 ` Casey Schaufler
@ 2008-02-24 18:55 ` Casey Schaufler
  2 siblings, 0 replies; 4+ messages in thread
From: Casey Schaufler @ 2008-02-24 18:55 UTC (permalink / raw)
  To: Adrian Bunk, Casey Schaufler, Paul Moore; +Cc: linux-kernel


--- Adrian Bunk <bunk@kernel.org> wrote:

> This patch makes the needlessly global smk_unlbl_ambient() static.
> 
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>

> 
> ---
> 60c7072cb922cdecdb8a4f08e5710c014e0e8a8c diff --git
> a/security/smack/smackfs.c b/security/smack/smackfs.c
> index 358c92c..7c6e671 100644
> --- a/security/smack/smackfs.c
> +++ b/security/smack/smackfs.c
> @@ -371,7 +371,7 @@ void smk_cipso_doi(void)
>  /**
>   * smk_unlbl_ambient - initialize the unlabeled domain
>   */
> -void smk_unlbl_ambient(char *oldambient)
> +static void smk_unlbl_ambient(char *oldambient)
>  {
>  	int rc;
>  	struct netlbl_audit audit_info;
> 
> 
> 


Casey Schaufler
casey@schaufler-ca.com

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

end of thread, other threads:[~2008-02-24 18:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-22 19:58 [2.6 patch] make smackfs.c:smk_unlbl_ambient() static Adrian Bunk
2008-02-22 20:05 ` Paul Moore
2008-02-23  1:09 ` Casey Schaufler
2008-02-24 18:55 ` Casey Schaufler

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