ioctl_nsfs(2)

ioctl_nsfs2

Ioctl() operations for linux namespaces

Usage

#include <linux/nsfs.h>  /* Definition of NS_* constants */
#include <sys/ioctl.h>

int ioctl(int fd, unsigned long op, ...);

Overview

Discovering namespace relationships

Discovering the namespace type

Discovering the owner of a user namespace

Errors

ENOTTY

fd does not refer to a /proc/pid/ns/* file.

Releases

2 releases since Debian 13 (Trixie); the text changed 1 time.

  1. 13
  2. Arch

Standards

Linux.

From man-pages 6.19-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.