ioctl_nsfs(2)
bestie!!! welcome to ioctl_nsfs(2), aka the System Calls Manual page for ioctl() operations that deal with Linux namespaces. it's giving very niche, very powerful, very "trust me i know what i'm doing" π
π NAME π
ioctl_nsfs β ioctl() operations for Linux namespaces. periodt.
β¨ SYNOPSIS β¨
#include <linux/nsfs.h> /* Definition of NS_* constants */
#include <sys/ioctl.h>
int ioctl(int fd, unsigned long op, ...);
π DESCRIPTION π
okay so this whole page is the lil hub for namespace-flavored ioctl() ops. it doesn't spill every detail itself; it points you to the specific 2const pages. no cap.
π¦ Discovering namespace relationships π¦
this is the relationship lore section, bestie:
π Discovering the namespace type π
π Discovering the owner of a user namespace π
π ERRORS π
ENOTTYβfddoes not refer to a/proc/pid/ns/*file.
so if you see this, the file descriptor is not giving namespace file energy. check yourself before you wreck yourself π«Ά
π STANDARDS π
Linux.
π SEE ALSO π
okay that's the page!! mwah π this one came from Linux man-pages 6.20, dated 2026-02-08. go be iconic with your namespaces, bestie π β¨
π¦ 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 2017, 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