diff options
author | Younes Manton <ymanton@ca.ibm.com> | 2022-08-12 21:56:53 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2022-10-25 17:26:42 +0300 |
commit | 3b5f5c7d485964500215ba74b874195b60df85fd (patch) | |
tree | c42bd68928a6044dd43f8d77b0dc960103d897e4 /images | |
parent | de70d2c9c10daac00d8e7c0f20da33eb31c48993 (diff) |
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>
Diffstat (limited to 'images')
-rw-r--r-- | images/rpc.proto | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/images/rpc.proto b/images/rpc.proto index 3cf431639..afd2c7b43 100644 --- a/images/rpc.proto +++ b/images/rpc.proto @@ -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; */ } |