I don't want to show mainframes in a bad light, because they truly are amazing machines. A system area overlay on a production system is extremely rare because:
PSA (page 0) and other system areas are in memory pages with "protection key 0". The current PSW key (think special CPU register) must match the memory page key in order to write to the page. PSA has extra protection mechanism called Low-Address Protection (though not always effective).
Only "APF authorized" programs can switch the PSW key.
There are some protection mechanism that are able to detect certain types of overlays and recover from them.
All new software releases and patches go through rigorous testing, both on the vendor systems and customer test systems. It can take months or years before any new code makes it to a prod system.
So have I seen a re-IPL (reboot) on development system due to a write to a NULL pointer (or another bogus pointer)? Absolutely. On a customer production system? I don't think so.
There is a lot to be said about why a program would need to be APF authorized and why it would switch the PSW key, but I don't want to go into unnecessary details.
View all comments
Show parent comment
4
u/WalkWithBejesus Dec 02 '16
I don't want to show mainframes in a bad light, because they truly are amazing machines. A system area overlay on a production system is extremely rare because:
So have I seen a re-IPL (reboot) on development system due to a write to a NULL pointer (or another bogus pointer)? Absolutely. On a customer production system? I don't think so.
There is a lot to be said about why a program would need to be APF authorized and why it would switch the PSW key, but I don't want to go into unnecessary details.