Re: 2.6.24-rc4-mm1 and /proc/<pid>/status Name: field

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Zan Lynx <zlynx@...>
Cc: <linux-kernel@...>, Eric W. Biederman <ebiederm@...>
Date: Friday, December 7, 2007 - 7:58 pm

On Fri, 07 Dec 2007 20:26:43 +0000
Zan Lynx <zlynx@acm.org> wrote:


Thanks.  Two (more) bugs in
proc-seqfile-convert-proc_pid_status-to-properly-handle-pid-namespaces.patch

--- a/fs/proc/array.c~proc-seqfile-convert-proc_pid_status-to-properly-handle-pid-namespaces-fix-3
+++ a/fs/proc/array.c
@@ -98,9 +98,9 @@ static inline void task_name(struct seq_
 
 	get_task_comm(tcomm, p);
 
+	seq_printf(m, "Name:\t");
 	end = m->buf + m->size;
 	buf = m->buf + m->count;
-	seq_printf(m, "Name:\n");
 	name = tcomm;
 	i = sizeof(tcomm);
 	while (i && (buf < end)) {
_

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: 2.6.24-rc4-mm1 and /proc/<pid>/status Name: field, Andrew Morton, (Fri Dec 7, 7:58 pm)
Re: 2.6.24-rc4-mm1 and /proc/&lt;pid&gt;/status Name: field, Eric W. Biederman, (Fri Dec 7, 11:59 pm)