Pavel Emelyanov 32df81cbd5 Isolate the UTS namespace's domainname and hostname back
Commit 7d69a1f4a72b18876c99c697692b78339d491568 ("remove CONFIG_UTS_NS
and CONFIG_IPC_NS") by Cedric Le Goater accidentally removed the code
that prevented the uts->hostname and uts->domainname values from being
overwritten from another namespace.

In other words, setting hostname/domainname via sysfs (echo xxx >
/proc/sys/kernel/(host|domain)name) cased the new value to be set in
init UTS namespace only.

Return the isolation back.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Cedric Le Goater <clg@fr.ibm.com>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-11-29 09:24:53 -08:00
..
2007-11-14 18:45:43 -08:00
2007-11-26 21:21:49 +01:00
2007-10-21 02:37:45 -04:00
2007-10-21 02:37:45 -04:00
2007-10-21 02:37:45 -04:00
2007-10-21 02:37:45 -04:00
2007-11-14 18:45:37 -08:00
2007-10-18 14:37:24 -07:00
2007-10-18 14:37:26 -07:00
2006-12-07 08:39:36 -08:00
2007-10-19 11:53:54 -07:00
2007-10-19 11:53:49 -07:00
2007-07-16 09:05:50 -07:00
2007-10-16 09:43:10 -07:00
2006-12-04 02:00:22 -05:00
2007-11-19 11:20:43 +11:00
2007-10-11 22:11:12 +02:00
2007-10-19 11:53:34 -07:00
2007-11-14 18:45:43 -08:00
2007-10-18 14:37:24 -07:00
2007-07-16 09:05:49 -07:00
2007-07-16 09:05:50 -07:00
2007-10-18 14:37:24 -07:00
2007-05-09 08:57:56 +02:00