PR_SET_MM_AUXV(2const)
β¨ PR_SET_MM_AUXV(2const) β¨
okay so bestie, welcome to the PR_SET_MM_AUXV page β manual name is literally PR_SET_MM_AUXV(2const), and it's all about setting a new auxiliary vector. no cap.
πΈ NAME πΈ
PR_SET_MM_AUXV β set a new auxiliary vector.
π LIBRARY π
Standard C library (libc, -lc).
π SYNOPSIS π
#include <linux/prctl.h> /* Definition of PR_* constants */
#include <sys/prctl.h>
int prctl(PR_SET_MM, PR_SET_MM_AUXV,
unsigned long addr, unsigned long size, 0L);
π¦ DESCRIPTION π¦
Set a new auxiliary vector.
addr should provide the address of the vector. size is the size of the vector.
π RETURN VALUE π
On success, 0 is returned. On error, -1 is returned, and errno is set to indicate the error.
π ERRORS π
EINVALβaddris greater thanTASK_SIZE(the limit on the size of the user address space for this architecture).
π STANDARDS π
Linux.
β HISTORY β
Linux 3.5.
π₯ SEE ALSO π₯
cute sign-off bestie: this one came from Linux man-pages 6.20, dated 2026-02-08, and it's the PR_SET_MM_AUXV(2const) page. slay, go forth and prctl responsibly πβ¨
π¦ 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 2012, Cyrill Gorcunov <gorcunov@gmail.com>
- 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