We have seen places where users have missed coded the SPKA instruction - potentially leaving them vulnerable. HLASM was modified to detect (where possible) program code that may not have a correct SPKA instruction coded.
See PM91668: ISSUE WARNING ON SPKA INSTRUCTION http://www.ibm.com/support/docview.wss?uid=isg1PM91668 Sharuff Sharuff Morsa IBM Hursley Labs IBM United Kingdom Limited Registered in England and Wales with number 741598 Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU >IBM Mainframe Discussion List <[email protected]> wrote on 20/08/2014 05:00:01: > > Date: Tue, 19 Aug 2014 12:45:06 +0300 > From: Binyamin Dissen <[email protected]> > Subject: Re: Best way to tell in code if in Supervisor State? > > On Tue, 19 Aug 2014 11:39:11 +0200 Charles Mills <[email protected]> wrote: > > :>I have a callable (non-PC; just basic CALL) that requires APF authorization > :>by the caller. It partially operates in Key 0 Supervisor State, but I want > :>to allow callers the flexibility to enter in any key and either state. > > :>I know how to get to and from Supervisor State with MODESET (SVC form). I'm > :>familiar with MODESET (SVC form) and have used it a fair amount inthe past. > > :>I can then use IPK and SPKA to save and restore the caller's key, and to get > :>to Key 0. > > :>But what would be the best way to determine whether the caller had entered > :>in Supervisor State so I could return to the caller in his original mode > :>(and also avoid the overhead of MODESET)? Some sort of "store PSW" > :>instruction so I could TM on bit 15? > > Look at the EPSW instruction. > > -- > Binyamin Dissen <[email protected]> > http://www.dissensoftware.com > > Director, Dissen Software, Bar & Grill - Israel > > Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
