CAP_CHECKPOINT_RESTORE
Update ns_last_pid, use clone3 set_tid, read map_files links of other processes.
- Bit number
- 40
- Mask in /proc/PID/status
- 0000010000000000
- Added in Linux
- 5.9
- Group
- Tracing, performance and checkpoint
Added in Linux 5.9 so that checkpoint/restore tools such as CRIU do not need CAP_SYS_ADMIN for the pieces that pin down PIDs and read another process's mapped files.
Narrower option: Replaces CAP_SYS_ADMIN for these operations since Linux 5.9.
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.