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 β€” addr is greater than TASK_SIZE (the limit on the size of the user address space for this architecture).

🌈 STANDARDS 🌈

Linux.

⭐ HISTORY ⭐

Linux 3.5.

πŸ”₯ SEE ALSO πŸ”₯

prctl(2), PR_SET_MM(2const)


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
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms