Re: [PATCH v3 04/11] syslog_ns: make syslog handling per namespace

2013-08-07 Thread Ben Hutchings
On Wed, 2013-08-07 at 15:37 +0800, Rui Xiang wrote: > This patch makes syslog buf and other fields per > namespace. > > Here use ns->log_buf(log_buf_len, logbuf_lock, > log_first_seq, logbuf_lock, and so on) fields > instead of global ones to handle syslog. [...] > --- a/kernel/printk.c > +++

[PATCH v3 04/11] syslog_ns: make syslog handling per namespace

2013-08-07 Thread Rui Xiang
This patch makes syslog buf and other fields per namespace. Here use ns->log_buf(log_buf_len, logbuf_lock, log_first_seq, logbuf_lock, and so on) fields instead of global ones to handle syslog. Syslog interfaces such as /dev/kmsg, /proc/kmsg, and syslog syscall are all containerized for

[PATCH v3 04/11] syslog_ns: make syslog handling per namespace

2013-08-07 Thread Rui Xiang
This patch makes syslog buf and other fields per namespace. Here use ns-log_buf(log_buf_len, logbuf_lock, log_first_seq, logbuf_lock, and so on) fields instead of global ones to handle syslog. Syslog interfaces such as /dev/kmsg, /proc/kmsg, and syslog syscall are all containerized for container

Re: [PATCH v3 04/11] syslog_ns: make syslog handling per namespace

2013-08-07 Thread Ben Hutchings
On Wed, 2013-08-07 at 15:37 +0800, Rui Xiang wrote: This patch makes syslog buf and other fields per namespace. Here use ns-log_buf(log_buf_len, logbuf_lock, log_first_seq, logbuf_lock, and so on) fields instead of global ones to handle syslog. [...] --- a/kernel/printk.c +++