+ namespaces-utsname-introduce-temporary-helpers.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     namespaces: utsname: introduce temporary helpers

has been added to the -mm tree.  Its filename is

     namespaces-utsname-introduce-temporary-helpers.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: namespaces: utsname: introduce temporary helpers
From: "Serge E. Hallyn" <serue@xxxxxxxxxx>


Define utsname() and init_utsname() which return &system_utsname.  Users of
system_utsname will be changed to use these helpers, after which
system_utsname will disappear.

Signed-off-by: Serge E. Hallyn <serue@xxxxxxxxxx>
Cc: Kirill Korotaev <dev@xxxxxxxxxx>
Cc: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>
Cc: Herbert Poetzl <herbert@xxxxxxxxxxxx>
Cc: Andrey Savochkin <saw@xxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 include/linux/utsname.h |   10 ++++++++++
 1 files changed, 10 insertions(+)

diff -puN include/linux/utsname.h~namespaces-utsname-introduce-temporary-helpers include/linux/utsname.h
--- 25/include/linux/utsname.h~namespaces-utsname-introduce-temporary-helpers	Fri May 19 11:40:04 2006
+++ 25-akpm/include/linux/utsname.h	Fri May 19 11:40:04 2006
@@ -32,5 +32,15 @@ struct new_utsname {
 
 extern struct new_utsname system_utsname;
 
+static inline struct new_utsname *utsname(void)
+{
+	return &system_utsname;
+}
+
+static inline struct new_utsname *init_utsname(void)
+{
+	return &system_utsname;
+}
+
 extern struct rw_semaphore uts_sem;
 #endif
_

Patches currently in -mm which might be from serue@xxxxxxxxxx are

origin.patch
namespaces-add-nsproxy.patch
namespaces-incorporate-fs-namespace-into-nsproxy.patch
namespaces-utsname-introduce-temporary-helpers.patch
namespaces-utsname-switch-to-using-uts-namespaces.patch
namespaces-utsname-use-init_utsname-when-appropriate.patch
namespaces-utsname-implement-utsname-namespaces.patch
namespaces-utsname-sysctl-hack.patch
namespaces-utsname-remove-system_utsname.patch
namespaces-utsname-implement-clone_newuts-flag.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux