From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcda7,805e0071ac25e02c X-Google-Attributes: gidfcda7,public X-Google-Thread: fa664,2cc46017fadaf32c,start X-Google-Attributes: gidfa664,public X-Google-Thread: 115614,805e0071ac25e02c X-Google-Attributes: gid115614,public X-Google-Thread: 10650a,805e0071ac25e02c X-Google-Attributes: gid10650a,public X-Google-Thread: fc89c,805e0071ac25e02c X-Google-Attributes: gidfc89c,public X-Google-Thread: fee84,805e0071ac25e02c X-Google-Attributes: gidfee84,public From: robertl@dgii.com (Robert Lipe) Subject: Re: best UNIX OS as primary platform for UNIX system software develpoment? Date: 1996/09/02 Message-ID: <50eitg$i2v@gw.dgii.com>#1/1 X-Deja-AN: 177972962 distribution: inet references: <4v2j4b$2bs@knot.queensu.ca> <32189D13.3834@arborsoft.com> <5050gc$1fc@nntpa.cb.lucent.com> <1996Aug30.233930.25324@isac.hces.com> organization: Digi International newsgroups: comp.sys.hp.hpux,comp.unix.internals,comp.unix.programmer,comp.unix.aix,comp.unix.osf.osf1,comp.unix.sco.programmer In mib@ppe.bb-data.de writes: >timw@isac.hces.com (Timothy M. Wieman) writes: >> Another good thing (I think) about Digital UNIX is that it will NOT let >> you dereference a NULL pointer (some may argue that this is valid, >> though). Other OS's I've worked on WILL let you do this (AIX, SCO, >> UnixWare, Interactive, DG-UX, and I believe HP-UX). Don't know about >> IRIX and Solaris. >Solaris shoots dereferenced NULLs on sight (which is why I used to >recommend it). So does HP-UX if you let it (it's optional). So does Linux. Just for completness of your list, SCO OpenServer 5 has two kernel tunables to allow you adjust the behaviour. 'notice_null_refs' prints the PID, name, etc. of the process on the console. Clearly, this is useful only if you're sitting at the console or are otherwise watching /var/adm/messages. 'signal_null_refs' delivers a signal to the offenders. Yes, it's smart enough to look at the object file format and know if a NULL deref really is valid. For example, on an OMF (xenix) binary, it's legal so it won't whine or signal. For an ELF binary, it's never legal, so it invokes the appropriate militant behaviour. -- Robert Lipe