|
On earlier releases it found the EXT entry point ... currently it will execute the first entry point regardless of type .. knowing if this is INT and that there is no connection back to the invocation stack, and by setting return instruction pointer with care one perhaps can violate the architecture and open security vulnerabilities? Leif Svalgaard wrote: > > If the external entry point is first the code works fine. Is there some > > API option I missed which protects one from calling externally an > > INTernal entry point? > > > > I think so, and it must be so. The return from an INTernal entry point is > via an instruction pointer, while the return from an EXTernal entry point > is via the RTX instruction. Only the latter returns to a different program > on the invocation stack. Now, there is nothing that technically prohibits > doing what you want and it might be a wonderful thing to have, but the > architecture forbids it. As well as security considerations. > > _______________________________________________ > This is the MI Programming on the AS400 / iSeries (MI400) mailing list > To post a message email: MI400@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/mi400 > or email: MI400-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/mi400. "WorldSecure Server <safeway.com>" made the following annotations on 03/07/03 15:47:32 ------------------------------------------------------------------------------ Warning: All e-mail sent to this address will be received by the Safeway corporate e-mail system, and is subject to archival and review by someone other than the recipient. This e-mail may contain information proprietary to Safeway and is intended only for the use of the intended recipient(s). If the reader of this message is not the intended recipient(s), you are notified that you have received this message in error and that any review, dissemination, distribution or copying of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately. ==============================================================================
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.