$RodHat_/search
capabilities reference

CAP_SYS_CHROOT

Use chroot(2); change mount namespaces with setns(2).

Bit number
18
Mask in /proc/PID/status
0000000000040000
Added in Linux
Original 2.2 set
Group
System administration

chroot on its own is not a security boundary: a process that keeps this capability inside the chroot can usually step out again. Treat it as a convenience for building an environment, and put the real confinement in namespaces and seccomp.

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

Syscall cards that mention it

  • setns(2)Linux · Processes

    Move the calling thread into an existing namespace, given an fd for it (or a pidfd).

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.