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>] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 29 Jun 2008 00:55:49 +0100 (BST)
From:	Hugh Dickins <hugh@...itas.com>
To:	Chris Wright <chrisw@...s-sol.org>
cc:	Andrew Morton <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org
Subject: [PATCH trivial] security: remove unused forwards

Why would linux/security.h need forward declarations for nfsctl_arg
and swap_info_struct?  It's hard to imagine: remove them.

Signed-off-by: Hugh Dickins <hugh@...itas.com>
---

 include/linux/security.h |    2 --
 1 file changed, 2 deletions(-)

--- linux-next/include/linux/security.h	2008-06-27 13:39:19.000000000 +0100
+++ linux/include/linux/security.h	2008-06-27 14:08:00.000000000 +0100
@@ -101,9 +101,7 @@ extern unsigned long mmap_min_addr;
 #define LSM_SETID_FS	8
 
 /* forward declares to avoid warnings */
-struct nfsctl_arg;
 struct sched_param;
-struct swap_info_struct;
 struct request_sock;
 
 /* bprm_apply_creds unsafe reasons */
--
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