diff options
author | Younes Manton <ymanton@ca.ibm.com> | 2022-05-30 20:34:20 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2022-07-13 09:43:50 +0300 |
commit | 290a998ec827dac96f22bdbc978dc931784b6d1e (patch) | |
tree | 5f33a9f0f4f12ab348ff32c6feb77a4d77d6823e /images | |
parent | c8f9880adab038481f7806173b698fc6e17ba76a (diff) |
config/files-reg: Add opt to skip file r/w/x check on restore
A file's r/w/x changing between checkpoint and restore does
not necessarily imply that something is wrong. For example,
if a process opens a file having perms rw- for reading and
we change the perms to r--, the process can be restored and
will function as expected.
Therefore, this patch adds an option
--skip-file-rwx-check
to disable this check on restore. File validation is unaffected
and should still function as expected with respect to the content
of files.
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 a6cc5da48..3cf431639 100644 --- a/images/rpc.proto +++ b/images/rpc.proto @@ -138,6 +138,7 @@ message criu_opts { optional string lsm_mount_context = 63; 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 check_mounts = 128; */ } |