Skip to content

Commit 5bccd36

Browse files
Snorchxemul
authored andcommitted
zdtm: do not run cow0x tests in userns
Opening /proc/<pid>/pagemap in userns is only available since linux v4.3 or later, after commit 1c90308e7a77 (pagemap: hide physical addresses from non-privileged users). So those tests fail on older kernels: https://ci.openvz.org/job/CRIU/job/CRIU-virtuozzo/job/criu-dev/1402 travis-ci: success for zdtm: do not run cow0x tests in userns Signed-off-by: Pavel Tikhomirov <[email protected]> Signed-off-by: Pavel Emelyanov <[email protected]>
1 parent 9a19654 commit 5bccd36

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/zdtm/static/cow00.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# /proc/pid/pagemap doesn't show phys addr for unprivileged users
2-
{'flavor': 'ns h uns', 'flags': 'suid'}
2+
{'flavor': 'ns h', 'flags': 'suid'}

test/zdtm/static/cow01.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{'flavor': 'h ns uns', 'flags': 'suid'}
1+
{'flavor': 'h ns', 'flags': 'suid'}

0 commit comments

Comments
 (0)