Date: Sat, 25 Dec 1999 20:43:21 -0800 (PST) From: taka@cs.pitt.edu To: freebsd-gnats-submit@freebsd.org Subject: misc/15696: A minor bug in procfs code Message-ID: <19991226044321.4884614BFE@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 15696 >Category: misc >Synopsis: A minor bug in procfs code >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Dec 25 20:50:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Takashi Okumura >Release: 2.2.8, stable >Organization: University of Pittsburgh >Environment: %uname -a FreeBSD hato.cs.pitt.edu 2.2.8-RELEASE FreeBSD 2.2.8-RELEASE #0: Sat Jul 10 20:01:12 EDT 1999 taka@hato.cs.pitt.edu:/rk98/compile/FreeBSD-2.2.8/new/compile/HATO i386 >Description: In the file, ftp://ftp3.freebsd.org/pub/FreeBSD/FreeBSD-stable/src/sys/miscfs/procfs/procfs_status.c procfs_dostatus(curp, p, pfs, uio) ... pid = p->p_pid; ppid = p->p_pptr ? p_p_pptr->p_pid : 0, pgid = p->p_pgrp->pg_id; I believe the middle line should be: ppid = p->p_pptr ? p->p_pptr->p_pid : 0; it seems like every procfs code has this bug since 1996.... >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991226044321.4884614BFE>