mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-20 16:51:37 +00:00
Mounts-v2 engine should fix multiple problems of old engine relative to sharing options, lets add a test for such problems. Add all four types of shared groups: 1) private, 2) shared, 3) slave and 4) slave+shared for mounts. Propagate them into sharing and after propagation change sharing with four ways: 1) don't change, 2) make private, 3) make slave and 4) make private + make shared. This brings 16 cases of different sharing options for mount propagation, lets check that they all are restored fine. Lets create mounts from description to make it easier to improve this test in future. Cherry-picked from Virtuozzo criu: https://src.openvz.org/projects/OVZ/repos/criu/commits/8bcd0034d FIXME: need to check options restored right as we don't have --check-mounts to do this job for us. Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
4 lines
123 B
Text
4 lines
123 B
Text
{ 'flavor': 'ns uns',
|
|
'flags': 'suid',
|
|
'feature': 'move_mount_set_group',
|
|
'ropts': '--no-mntns-compat-mode'}
|