Subject: kern/7961: procfs is broken in -current
To: None <gnats-bugs@gnats.netbsd.org>
From: Mario Kemper <magick@bundy.lip.owl.de>
List: netbsd-bugs
Date: 07/11/1999 09:05:43
>Number: 7961
>Category: kern
>Synopsis: procfs in -current completely broken
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jul 11 09:05:01 1999
>Last-Modified:
>Originator: Mario Kemper
>Organization:
Mario Kemper
magick@bundy.lip.owl.de
>Release: NetBSD -current as of 99/07/10
>Environment:
System: NetBSD bundy 1.4F NetBSD 1.4F (BUNDY) #0: Sun Jul 11 16:59:53 CEST 1999 root@bundy:/src/src/sys/arch/i386/compile/BUNDY i386
>Description:
Every entry of /procfs/#/ contains the entries from the swapper process (pid 0)
>How-To-Repeat:
magick@bundy:>cd /proc/curproc/
magick@bundy:/proc/curproc>cat cmdline
(swapper)
magick@bundy:/proc/curproc>cat status
swapper 0 0 0 0 -1,-1 sldr 931705321,170000 0,0 0,1850 scheduler 0 0,0
You can do that for every pid in /proc/
My system is converted to ELF and procfs is in the kernel. I don't know if
this is an ELF problem. I rarely look into /proc.
>Fix:
Dunno.
>Audit-Trail:
>Unformatted: