Privileges of the Importing Process

Usercode Privileges

When a process enters an imported procedure, the procedure is executed under the usercode of the importing process, with whatever privileges are defined for the usercode.

Inheriting Privileges from Library Code File

A process can also temporarily assume additional privileges while executing an imported procedure. This is the case because the MP (Mark Program) system command can be used to assign options to a library object code file. These options can confer compiler status, control program status, privileged status, security administrator status, or tasking status. The importing process benefits from these added privileges only while executing procedures imported from that library; it is not enough simply to be linked to the library.

Inheriting Privileges from Importing Process Code File

Alternatively, the MP command can assign privileged transparent status, security administrator transparent status, or tasking transparent status to the library object code file. In this case, library procedures inherit privileges from the object code file of the process that invokes the procedures.

For more information about privileges inherited from usercodes and from object code files, refer to Establishing Process Identity and Privileges.