mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-19 01:26:22 +00:00
Add a ZDTM test that verifies inotify watches on files inside an overlayfs mount survive checkpoint/restore. The test uses the external mount pattern (like mnt_ext_auto): in the ZDTM_NEWNS=1 phase it creates an overlay mount before unshare(CLONE_NEWNS), so CRIU treats it as an external mount and does not attempt to reconstruct the overlay on restore. After restore the test opens the watched file and reads back the inotify event to confirm the watch is intact. This is needed because the test/others/overlayfs test only checks that the process survives C/R. This ZDTM test validates that the inotify watch itself is properly dumped and restored by exercising the overlay directory walk fallback added in fsnotify.c. The test is restricted to the 'ns' flavor because the overlay setup requires the ZDTM_NEWNS=1 lifecycle and root privileges for mounting overlayfs. Assisted-by: Claude Code (claude-opus-4-6):default Signed-off-by: Adrian Reber <areber@redhat.com> |
||
|---|---|---|
| .. | ||
| compel | ||
| cuda-checkpoint | ||
| exhaustive | ||
| inhfd | ||
| javaTests | ||
| jenkins | ||
| libfault | ||
| others | ||
| pki | ||
| plugins | ||
| zdtm | ||
| .gitignore | ||
| abrt.sh | ||
| crit-recode.py | ||
| empty-netns-prep.sh | ||
| groups.desc | ||
| inhfd.desc | ||
| Makefile | ||
| pycriu | ||
| umount2.c | ||
| zdtm.desc | ||
| zdtm.py | ||
| zdtm_ct.c | ||
| zdtm_mount_cgroups | ||
| zdtm_umount_cgroups | ||