Re: [PATCH] Isolate the UTS namespace's domainname and hostname back

From: Cedric Le Goater
Date: Wed Nov 21 2007 - 06:14:47 EST


Pavel Emelyanov wrote:
> The commit
>
> commit 7d69a1f4a72b18876c99c697692b78339d491568
> Author: Cedric Le Goater <clg@xxxxxxxxxx>
> Date: Sun Jul 15 23:40:58 2007 -0700
>
> remove CONFIG_UTS_NS and CONFIG_IPC_NS
>
> 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.

yep. sorry about that. I was going to send the same patch in a
minute.

> Signed-off-by: Pavel Emelyanov <xemul@xxxxxxxxxx>

Acked-by: Cedric Le Goater <clg@xxxxxxxxxx>

Thanks,

C.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/