$RodHat_/search
capabilities reference

CAP_MKNOD

Create special files with mknod(2).

Bit number
27
Mask in /proc/PID/status
0000000008000000
Added in Linux
2.4
Group
Files and ownership

The device node is the dangerous part: a node for a disk is a way around file permissions on the data. FIFOs, sockets and regular files via mknod do not need any capability.

Check a running process with grep Cap /proc/PID/status, or paste the hex into the mask decoder.

Sources

  1. capabilities(7), Linux man-pages
  2. user_namespaces(7), Linux man-pages

Bit numbers are from linux/capability.h. The list of syscall cards is matched by name from the card text on this site, not from the kernel source. Spot one that's wrong? Tell Rod.