ioctl_nsfs - Man Page

ioctl() operations for Linux namespaces

Synopsis

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

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

Description

Discovering namespace relationships

NS_GET_USERNS(2const)

NS_GET_PARENT(2const)

Discovering the namespace type

NS_GET_NSTYPE(2const)

Discovering the owner of a user namespace

NS_GET_OWNER_UID(2const)

Errors

ENOTTY

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

Standards

Linux.

See Also

ioctl(2), fstat(2), proc(5), namespaces(7)

Referenced By

ioctl(2), namespaces(7), pid_namespaces(7), user_namespaces(7).

2024-06-14 Linux man-pages 6.9.1