🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.dec
Article #5500

Re: Process data limit

#5500
From: George Robbins
Date: Thu, 04 Jan 1990 02:50
17 lines
1160 bytes
In article <5040@cadillac.CAD.MCC.COM> beihl@sunburn () writes:
> 
> Can anyone explain the following?  Sbrk() seems to be returning a value
> far larger than getrlimit or `limit` (from the shell). Who's right?
> I've looked at the man pages for getrlimit, csh and sbrk and am still
> clueless...

The data segment is not contiguous with the text segmnent, presumably
it starts at 0x10000000.  So sbrk is returning and address, limit is
defining an amount...

This is documented somewhere, though I forgets exactly where...

-- 
George Robbins - now working for,	uucp: {uunet|pyramid|rutgers}!cbmvax!grr
but no way officially representing	arpa: cbmvax!grr@uunet.uu.net
Commodore, Engineering Department	fone: 215-431-9255 (only by moonlite)
Technical Details
Message-ID: <9203@cbmvax.commodore.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!cbmvax!grr
References: <5040@cadillac.CAD.MCC.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!cbmvax!grr
From: grr@cbmvax.commodore.com (George Robbins)
Newsgroups: comp.sys.dec
Subject: Re: Process data limit
Message-ID: <9203@cbmvax.commodore.com>
Date: 4 Jan 90 02:50:06 GMT
References: <5040@cadillac.CAD.MCC.COM>
Reply-To: grr@cbmvax.commodore.com (George Robbins)
Organization: Commodore, West Chester, PA
Lines: 17