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: Andrew Morton <akpm@...>
Cc: Linux Kernel <linux-kernel@...>
Date: Friday, December 7, 2007 - 4:26 pm

Today I noticed pgrep doesn't work.  It seems the reason is a missing
Name: tag in the status file for a process in /proc.

# cat /proc/1/status
init
State:  S (sleeping)
Tgid:   1
Pid:    1
PPid:   0
TracerPid:      0
...etc, etc...

This is supposed to look like:
# cat /proc/1/status
Name:	init
State:	S (sleeping)
Tgid:	1
Pid:	1
PPid:	0
TracerPid:	0
...


--=20
Zan Lynx <zlynx@acm.org>
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

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