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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:	Mon, 26 Feb 2007 00:19:12 +0100
From:	Adrian Bunk <bunk@...sta.de>
To:	linux-kernel@...r.kernel.org
Subject: [2.6 patch] init/do_mounts.c: proper prepare_namespace() prototype

This patch adds a proper protype for prepare_namespace() in 
include/linux/init.h.

Signed-off-by: Adrian Bunk <bunk@...sta.de>

---

 include/linux/init.h |    3 ++-
 init/do_mounts.c     |    1 +
 init/main.c          |    1 -
 3 files changed, 3 insertions(+), 2 deletions(-)

--- linux-2.6.20-mm2/include/linux/init.h.old	2007-02-25 19:54:02.000000000 +0100
+++ linux-2.6.20-mm2/include/linux/init.h	2007-02-25 19:57:56.000000000 +0100
@@ -72,7 +72,8 @@
 extern unsigned int reset_devices;
 
 /* used by init/main.c */
-extern void setup_arch(char **);
+void setup_arch(char **);
+void prepare_namespace(void);
 
 #endif
   
--- linux-2.6.20-mm2/init/do_mounts.c.old	2007-02-25 19:54:59.000000000 +0100
+++ linux-2.6.20-mm2/init/do_mounts.c	2007-02-25 19:55:12.000000000 +0100
@@ -9,6 +9,7 @@
 #include <linux/delay.h>
 #include <linux/mount.h>
 #include <linux/device.h>
+#include <linux/init.h>
 
 #include <linux/nfs_fs.h>
 #include <linux/nfs_fs_sb.h>
--- linux-2.6.20-mm2/init/main.c.old	2007-02-25 19:55:21.000000000 +0100
+++ linux-2.6.20-mm2/init/main.c	2007-02-25 19:55:35.000000000 +0100
@@ -94,7 +94,6 @@
 extern void prio_tree_init(void);
 extern void radix_tree_init(void);
 extern void free_initmem(void);
-extern void prepare_namespace(void);
 #ifdef	CONFIG_ACPI
 extern void acpi_early_init(void);
 #else

-
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