PR_MCE_KILL
set the machine check memory corruption kill policy
- Provided by: manpages-dev (Version: 6.17-1)
- Source: manpages
- Report a bug
set the machine check memory corruption kill policy
Standard C library (libc, -lc)
#include <linux/prctl.h> /* Definition of PR_* constants */ #include <sys/prctl.h>
int prctl(PR_MCE_KILL, long op, ...);
Set the machine check memory corruption kill policy for the calling thread.
op is one of the following operations:
The policy is inherited by children.
On success, 0 is returned. On error, -1 is returned, and errno is set to indicate the error.
Linux.
Linux 2.6.32.
prctl(2), PR_MCE_KILL_CLEAR(2const), PR_MCE_KILL_SET(2const), PR_MCE_KILL_GET(2const)