ue_proc_unregister Subroutine

Purpose

Unregisters a process from being critical to the system.

Syntax

int ue_proc_register (pid)
pid_t pid; 

Description

The ue_proc_unregister system call unregisters a particular process as being no longer critical to the system. A process that has been previously registered 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.

If the value of the pid parameter is equal to (pid_t) 0, the subroutine is unregistering the calling process.

The ue_proc_unregister service should be called only while executing with root authority in the user process.

Parameters

Item Description
pid Specifies the process' ID to be unregistered.

Execution Environment

The ue_proc_unregister system call can be called from the process environment only.

Return Values

Item Description
0 Indicates successful completion.
EINVAL Indicates that the pid parameter is not valid or the process no longer exists.
EACCES Indicates that the caller does not have sufficient authority to alter the pid registration.