Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 1997 21:34:43 -0500 (EST)
From:      steve@avionmfg.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/2544: lsof does not build on current 1/20/97
Message-ID:  <199701220234.VAA07982@bsd.avionmfg.com>
Resent-Message-ID: <199701210240.SAA21224@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         2544
>Category:       ports
>Synopsis:       lsof does not build on current 1/20/97
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 20 18:40:01 PST 1997
>Last-Modified:
>Originator:     Steve Ratliff
>Organization:
personal user
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:
FreeBSD current 1/20/97

>Description:
lsof does not build, fields is_a_map and is_sub_map are
no longer defined in /sys/vm/vm_map.h They have been replaced by a
bitmap in the eflags field of struct vm_map_entry.

>How-To-Repeat:
Try to build lsof under a recent version of current.

>Fix:

*** dialects/freebsd/dproc.c.old	Tue Jan 21 20:28:17 1997
--- dialects/freebsd/dproc.c	Tue Jan 21 20:31:23 1997
***************
*** 475,481 ****
  			if (kread(ka, (char *)e, sizeof(vmme)))
  				return;
  		}
! 		if (e->is_a_map || e->is_sub_map)
  			continue;
  	/*
  	 * Read the map entry's object and the object's shadow.
--- 475,481 ----
  			if (kread(ka, (char *)e, sizeof(vmme)))
  				return;
  		}
! 		if (e->eflags & (MAP_ENTRY_IS_A_MAP|MAP_ENTRY_IS_SUB_MAP))
  			continue;
  	/*
  	 * Read the map entry's object and the object's shadow.

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701220234.VAA07982>