time(0L) - history of a misconception (was Re: SCO password generator)

Brandon S. Allbery KF8NH allbery at NCoast.ORG
Sun May 26 05:33:18 AEST 1991


As quoted from <1991May25.002706.27552 at kithrup.COM> by sef at kithrup.COM (Sean Eric Fagan):
+---------------
| Many, many people have made address 0 result in an address fault (who said
| *anything* about virtual memory?  lots of machines don't have virtual
| memory, and some of them still manage to compile C).  Some people have made
| it work, simply to placate stupid programmer, such as you appear to be.
| Frankly, I would *much* rther have my OS complain, so I can track down the
| error (for that's what it is) during development.  (SCO, for example, has
| address 0 readable and writable, because too many applications people
| bitched about it.  I prefer having a core dump, myself.)
+---------------

Whatever happened to (System V) ld using a default ld script in /lib?  Plexus
System V did this, and it was trivial to change it from the default to not
mapping page 0 (they even provided a script for this, and a special ld option
that used that script instead; but changing the default script worked fine).

++Brandon
-- 
Me: Brandon S. Allbery			 KF8NH: DC to LIGHT!  [44.70.4.88]
Internet: allbery at NCoast.ORG		 Delphi: ALLBERY
uunet!usenet.ins.cwru.edu!ncoast!allbery



More information about the Comp.lang.c mailing list