How the Kernel Loading Exits Work
To let you control operating system and third-party processes, lets you make calls to UNIX exits automatically when loading the kernel extension.
capamsc141
To let you control operating system and third-party processes,
Privileged Access Manager
lets you make calls to UNIX exits automatically when loading the kernel extension.When you run
SEOS_load
, Privileged Access Manager
does the following:- Looks for programs in the following directory:ACInstallDir/exits/LOAD
- Selects all the programs that have file names of the following format:SEOS_load_string.alwaysWherestringcan be any descriptive strings.
- Executes, in lexicographical order, each file it found in the directoryACInstallDir/exits/LOAD:SEOS_load_string.always -preEach file is executed with the-preparameter so that you can write your exits to detect the parameter and perform the actions required before the kernel is loaded.Note:If the exit returns a nonzero value,Privileged Access Managerkills the exit process, displays an error message, and aborts the kernel loading.
- Loads the kernel (SEOS_syscall).
- Executes, in lexicographical order, each file it found in the directoryACInstallDir/exits/LOAD:SEOS_load_string.always -postEach file is executed with the-postparameter so that you can write your exits to detect the parameter and perform the actions required after the kernel is loaded.Note:If the exit returns a nonzero value, the product kills the exit process and displays an error message. Having already been loaded, the kernel remains loaded.