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: <20080330224053.GM28445@cs181133002.pp.htv.fi>
Date:	Mon, 31 Mar 2008 01:40:53 +0300
From:	Adrian Bunk <bunk@...nel.org>
To:	linux-kernel@...r.kernel.org
Subject: [2.6 patch] proper pid{hash,map}_init() prototypes

This patch adds proper prototypes for pid{hash,map}_init() in 
include/linux/pid_namespace.h

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

---

This patch has been sent on:
- 22 Feb 2008

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

279d377cacc55d031230ed98370726dbd8c82602 diff --git a/include/linux/pid_namespace.h b/include/linux/pid_namespace.h
index fcd61fa..2ce9521 100644
--- a/include/linux/pid_namespace.h
+++ b/include/linux/pid_namespace.h
@@ -85,4 +85,7 @@ static inline struct task_struct *task_child_reaper(struct task_struct *tsk)
 	return tsk->nsproxy->pid_ns->child_reaper;
 }
 
+void pidhash_init(void);
+void pidmap_init(void);
+
 #endif /* _LINUX_PID_NS_H */
diff --git a/init/main.c b/init/main.c
index 7dd9916..696e5f1 100644
--- a/init/main.c
+++ b/init/main.c
@@ -84,8 +84,6 @@ extern void init_IRQ(void);
 extern void fork_init(unsigned long);
 extern void mca_init(void);
 extern void sbus_init(void);
-extern void pidhash_init(void);
-extern void pidmap_init(void);
 extern void prio_tree_init(void);
 extern void radix_tree_init(void);
 extern void free_initmem(void);

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