[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Kernel and Subsystems, Volume 1

ue_proc_check Kernel Service

Purpose

Determines if a process is critical to the system.

Syntax

int ue_proc_check (pid)
pid_t pid; 

Description

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.

Parameters

pid Specifies the process' ID to be checked as critical.

Execution Environment

The ue_proc_check kernel service can be called from the interrupt environment only.

Return Values

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.

Related Information

The ue_proc_register Subroutine.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]