Kprx auth sm

Kernel PRX Authentication Security Module. kprx_auth_sm authenticates and decrypts SELF files.

Teardown
After authentication, SELF Attributes and Capabilities are checked through a SWI 6 call to secure_kernel.

get_metainfo_ac_info
Check program-authority-id to get corresponding SELF Attribute and Capability.

Attempting to start a fSELF with an unsupported program-authority-id eventually causes the system to throw error code 0x800f0616.

Returns error code 0x800f0624 for unsupported program-authority-id.