lkml.org 
[lkml]   [2008]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [2.6 patch] make smackfs.c:smk_unlbl_ambient() static

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


\
 
 \ /
  Last update: 2008-02-24 23:27    [W:0.058 / U:1.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site