[...] > > BTW: From the C-standard, dereferencing a NULL > pointer could also create > > pink smoke in your screen. > > Can I have the sourcecode for that signal handler, > please ? > > :)
Undefined means _anything_ can happen, right? :-) Back in the day, one _could_ destroy hardware with software (think disk drives the size and weight of washing machines; now think an unbalanced load during spin cycle). I suspect one still could, if for example thermal protection (shutdown on overheat) could be programmed to an unreasonably high value, and the fans turned off. > On a historical note, mmap'ing MAP_ANON and fd==-1 > only was introduced > with Solaris 9 as far as I remember. Could've been > Solaris 8, but anything > older I'm sure it required the /dev/zero "trick". It's in the partial Solaris 8 FCS source that was made available to anyone that asked for it (under restrictive terms) in src/uts/common/sys/mman.h. This message posted from opensolaris.org _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
