Re: [PATCH] multiple namespaces

From: Andrew Morton
Date: Thu Apr 01 2004 - 03:29:28 EST


Albert Cahalan <albert@xxxxxxxxxxxxxxxxxxxxx> wrote:
>
> This patch lets a task have access to multiple namespaces.
> You can create extra namespaces with the included SUBST command.
> Then, from the bash prompt, you can switch from one namespace
> to another by typing commands like "C" or "D". The default
> namespace is "C" for compatibility reasons.

Applied, thanks. But you missed this bit:


25-akpm/kernel/printk.c | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletion(-)

diff -puN kernel/printk.c~a kernel/printk.c
--- 25/kernel/printk.c~a 2004-04-01 00:24:07.036691080 -0800
+++ 25-akpm/kernel/printk.c 2004-04-01 00:24:41.266487360 -0800
@@ -459,7 +459,7 @@ static void call_console_drivers(unsigne
_call_console_drivers(start_print, end, msg_level);
}

-static void emit_log_char(char c)
+static void __emit_log_char(char c)
{
LOG_BUF(log_end) = c;
log_end++;
@@ -471,6 +471,13 @@ static void emit_log_char(char c)
logged_chars++;
}

+static void emit_log_char(char c)
+{
+ if (c == '\n')
+ __emit_log_char('\r');
+ __emit_log_char(c);
+}
+
/*
* This is printk. It can be called from any context. We want it to work.
*

_

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