PR_MCE_KILL_GET(2const)
β¨ PR_MCE_KILL_GET π
okay bestie, so this is a page from the <pink>2const</pink> section of the Linux man-pages β the little family of docs that just describe a bunch of constants you pass into other calls π (iykyk). And the star of this one? PR_MCE_KILL_GET π
It's giving "hey, what's my machine check memory corruption kill policy rn?" and honestly? iconic.
πΈ NAME πΈ
PR_MCE_KILL_GET β get the machine check memory corruption kill policy π¦
π LIBRARY π
Standard C library (libc, -lc) π
β¨ SYNOPSIS β¨
#include <linux/prctl.h> /* Definition of PR_* constants */
#include <sys/prctl.h>
int prctl(PR_MCE_KILL_GET, 0L, 0L, 0L, 0L);
π« DESCRIPTION π«
So basically, this one returns the current per-process machine check kill policy π«Ά β like, the policy that's already set for this process, right this second.
Wanna know what all the policies even are? Go peek at PR_MCE_KILL_SET(2const), she explains everything π
π RETURN VALUE π
On success, this call returns the nonnegative value described above π (yes, the policy value, she ate).
On error, -1 is returned, and errno is set to indicate the error π periodt.
π STANDARDS π
Linux π§ β that's the whole vibe, no cap.
π HISTORY π
She's been around since Linux 2.6.32 β a true veteran, an elder icon.
π SEE ALSO π
okay that's the whole page bestie, go forth and check your kill policy π¦β¨
this was Linux man-pages 6.20, dated 2026-02-08, and it lives under the name PR_MCE_KILL_GET(2const) π mwah, bye! π
π¦ where this page comes from
- arch rolling: man-pages 6.20-1 Β· BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-linking-exception AND LGPL-3.0-or-later AND LicenseRef-Public-Domain AND LicenseRef-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
- nixpkgs unstable: man-pages 6.20
- π the page's license: Linux-man-pages-copyleft
- Copyright 2010, Andi Kleen <andi@firstfloor.org>
- Copyright 2012-2015, Michael Kerrisk <mtk.manpages@gmail.com>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms