mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-17 16:47:50 +00:00
non-root: enable non-root checkpoint/restore
This commit enables checkpointing and restoring of applications as non-root. First goal was to enable checkpoint and restore of the env00 and pthread00 test case. This uses the information from opts.unprivileged and opts.cap_eff to skip certain code paths which do not work as non-root. Co-authored-by: Adrian Reber <areber@redhat.com> Signed-off-by: Younes Manton <ymanton@ca.ibm.com>
This commit is contained in:
parent
ce01f70d94
commit
6a30c7d1ed
18 changed files with 194 additions and 53 deletions
|
|
@ -139,6 +139,7 @@ message criu_opts {
|
|||
optional criu_network_lock_method network_lock = 64 [default = IPTABLES];
|
||||
optional bool mntns_compat_mode = 65;
|
||||
optional bool skip_file_rwx_check = 66;
|
||||
optional bool unprivileged = 67;
|
||||
/* optional bool check_mounts = 128; */
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue