On Fri, 10 Dec 2010 11:35:21 -0600 Chris Craddock <[email protected]> wrote:
:>On Fri, Dec 10, 2010 at 6:50 AM, Peter Relson <[email protected]> wrote: :>> >IOW, a PC-SS cannot examine the callers addresses via VSMLOC? :>> Correct, at least using documented interfaces (since secondary and home :>> ASC modes are not part of the documented programming interface, and as :>> such might or might not work). The only way they could work is if the routine checks the addressing mode and thus uses a different ASCB structure - which would require BRANCH, as PC only supports PRIMARY and AR callers. :>VSMLOC does work in cross-memory mode (PASN <> HASN), *BUT* it is defined to :>require a primary ASC mode caller, so there's no way to "clue" the service :>about the address space you mean. It is going to assume you mean the current :>primary (PASN). The macro will return the address of the owning TCB for PVT. :>BTW> For services that do accept ALET qualified parameters, most of them :>don't accept parameters in the secondary address space (ALET=1) That is :>because those services are implemented via PC instructions. Depending on how :>the PC is defined, executing the PC instruction will alter the current SASN, :>even if the PC is not space switching. So after the PC instruction is :>issued, the SASN that is seen by the service is (typically) the caller's :>PASN and the caller's SASN is no longer addressable. ESTA can get the callers secondary, and a PC-CP will have the same PASN-AL and DU-AL there should not be any authorization problems. So ESTA to get the SASN and SSAR to restablish ALET=1 should work. -- Binyamin Dissen <[email protected]> http://www.dissensoftware.com Director, Dissen Software, Bar & Grill - Israel Should you use the mailblocks package and expect a response from me, you should preauthorize the dissensoftware.com domain. I very rarely bother responding to challenge/response systems, especially those from irresponsible companies. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

