CAP_SYS_BOOT
Use reboot(2) and kexec_load(2).
- Bit number
- 22
- Mask in /proc/PID/status
- 0000000000400000
- Added in Linux
- Original 2.2 set
- Group
- System administration
The ability to reboot the host or load a replacement kernel. Inside a PID namespace, reboot(2) only signals the namespace's init, but the capability is still not something to hand out.
Check a running process with grep Cap /proc/PID/status, or paste the hex into the mask decoder.
Sources
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.