[Info-vax] Android development Was Re: OT: Larry Ellison takes retirement as CEO of Oracle
John Reagan
xyzzy1959 at gmail.com
Tue Sep 23 09:43:08 EDT 2014
On Tuesday, September 23, 2014 9:09:13 AM UTC-4, hb wrote:
> Have a look at HELP INSTALL ADD /PRIVILEGED:
>
> o The /PRIVILEGED qualifier applies only to executable images.
> and there is a section about shareable images which are called from an
> executable image installed with privileges.
>
> And there is probably more information in the docs.
Harmut is correct. You don't install shareable images with privs. If you think you can, I want you to turn in your VMS merit badge.
For such things, you write user-mode system services. That is in the manual. UWSS have some security limits imposed on them as well to prevent security leaks.
The generated code for a call is the same whether the target is resolved at link-time or activation-time (well, on Itanium, you might get a PLT or trampoline inserted by the linker, but the compiler doesn't really care other than avoiding registers that the PLT or trampoline might trash along the way). For x86-64, you can go read the AMD ABI which is what everybody in the x86 world (except for Microsoft) seems to be using.
More information about the Info-vax
mailing list