Determines if a process is critical to the system.
int ue_proc_check (pid)
pid_t pid;
The ue_proc_check kernel service determines if a particular process is critical to the system. A critical process is either a kernel process or a process registered as critical by the ue_proc_register system call. A process that is critical will cause the system to terminate if that process has an unrecoverable hardware error associated with the process. Unrecoverable hardware errors associated with a process are determined by the kernel machine check handler on systems that support UE-Gard error processing.
The ue_proc_check kernel service should be called only while executing in kernel mode in the user process.
Item | Description |
---|---|
pid | Specifies the process' ID to be checked as critical. |
The ue_proc_check kernel service can be called from the interrupt environment only.
Item | Description |
---|---|
0 | Indicates that the pid is not critical. |
EINVAL | Indicates that the pid is critical. |
-1 | Indicates that the pid parameter is not valid or the process no longer exists. |