From ortmann@sparc.isl.net  Mon Sep 15 19:25:10 1997
Received: from watcher.isl.net (ppp27-uunet.infopet.com [208.210.103.29])
          by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA13848
          for <FreeBSD-gnats-submit@freebsd.org>; Mon, 15 Sep 1997 19:25:08 -0700 (PDT)
Received: (from ortmann@localhost)
	by watcher.isl.net (8.8.7/8.8.5) id VAA02392;
	Mon, 15 Sep 1997 21:19:58 -0500 (CDT)
Message-Id: <199709160219.VAA02392@watcher.isl.net>
Date: Mon, 15 Sep 1997 21:19:58 -0500 (CDT)
From: Daniel Ortmann <ortmann@sparc.isl.net>
Reply-To: ortmann@sparc.isl.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: /proc/curproc/{mem,status} are 0 size
X-Send-Pr-Version: 3.2

>Number:         4550
>Category:       kern
>Synopsis:       /proc/curproc/{mem,status} are 0 size
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 15 19:30:00 PDT 1997
>Closed-Date:    Mon Sep 15 21:46:57 PDT 1997
>Last-Modified:  Mon Sep 15 21:47:50 PDT 1997
>Originator:     Daniel Ortmann
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
(not-applicable)
>Environment:

Last ctm applied before rebuilding the src and kernel is
src-cur.3048.gz

>Description:

/bin/ls -lF /proc/221
total 784
--w-------  1 ortmann  ortmann       0 Sep 15 19:47 ctl
-r--r--r--  1 ortmann  ortmann      76 Sep 15 19:47 etype
-r-xr-xr-x  1 bin      bin      393216 Jun  8 11:53 file*
-rw-------  1 ortmann  ortmann     176 Sep 15 19:47 fpregs
-r--r--r--  1 ortmann  ortmann      76 Sep 15 19:47 map
-rw-r-----  1 ortmann  kmem          0 Sep 15 19:47 mem
--w-------  1 ortmann  ortmann       0 Sep 15 19:47 note
--w-------  1 ortmann  ortmann       0 Sep 15 19:47 notepg
-rw-------  1 ortmann  ortmann      76 Sep 15 19:47 regs
-r--r--r--  1 ortmann  ortmann       0 Sep 15 19:47 status

The "mem" and "status" files show a size of 0 for all processes
that I have inspected.

I expected that both of these files would show a non-zero size.

>How-To-Repeat:

/bin/ls -lF /proc/curproc/

>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: davidg 
State-Changed-When: Mon Sep 15 21:46:57 PDT 1997 
State-Changed-Why:  

The size is intentionally 0. 
>Unformatted:
