lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <47C32FFA.2000605@schaufler-ca.com>
Date:	Mon, 25 Feb 2008 13:15:38 -0800
From:	Casey Schaufler <casey@...aufler-ca.com>
To:	torvalds@...ux-foundation.org, akpm@...ux-foundation.org
CC:	linux-kernel@...r.kernel.org, casey@...aufler-ca.com
Subject: [PATCH] (02/25/08 linus git) smack functions smk_cipso_doi and smk_unlbl_ambient
 made static

From: Casey Schaufler <casey@...aufler-ca.com>

The functions smk_cipso_doi and smk_unlbl_ambient are not used
outside smackfs.c and should hence be static.


Signed-off-by: Casey Schaufler <casey@...aufler-ca.com>

---

 security/smack/smackfs.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -uprN -X linux-2.6.25-g0225-base/Documentation/dontdiff linux-2.6.25-g0225-base/security/smack/smackfs.c linux-2.6.25-g0225/security/smack/smackfs.c
--- linux-2.6.25-g0225-base/security/smack/smackfs.c	2008-02-25 08:19:08.000000000 -0800
+++ linux-2.6.25-g0225/security/smack/smackfs.c	2008-02-25 12:06:21.000000000 -0800
@@ -338,7 +338,7 @@ static const struct file_operations smk_
 /**
  * smk_cipso_doi - initialize the CIPSO domain
  */
-void smk_cipso_doi(void)
+static void smk_cipso_doi(void)
 {
 	int rc;
 	struct cipso_v4_doi *doip;
@@ -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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ