criu/test/zdtm/lib
Andrei Vagin 42058dc7ce test: don't do MS_REC|MS_PRIVATE for host mounts
Here is a race when someone umounted something and this operation
isn't propagated into our namespace.

CRIU                                | Another process
-----------------------------------------------------------------
pivot_root(".", put_root)           |
mount(put_root, MS_REC|MS_PRIVATE)  |
                                    | umount /xxx/yyy
                                    | umount /xxx -> EBUSY
umount(put_root)

We do this to not affect mounts in put_root, but we can mask
these mounts as slave and this will work for us and for external
users.

Reported-by: Mr Travis
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2016-09-06 19:31:20 +03:00
..
arch zdtm/atomic: atomic_inc should return the old value 2016-05-06 14:39:27 +03:00
cpuid.h zdtm: Add cpuid.h 2012-12-21 17:35:44 +04:00
datagen.c zdtm: make datagen/datachk faster for big chunks 2013-03-06 00:34:02 +04:00
fs.c zdtm: Add filesystem specific helpers 2015-09-04 19:35:59 +03:00
fs.h zdtm: Fix building for @_BSD_SOURCE redefinition 2015-09-04 22:01:00 +03:00
groups.c zdtm: Get dir of init.pid file 2016-03-09 12:49:52 +03:00
groups.desc zdtm.py: The groups_test class for running groups 2015-12-08 14:54:52 +03:00
lock.c zdtm: replace err() on pr_perror() 2015-10-21 14:54:53 +03:00
lock.h zdtm: don't trigger BUG if futex returns EINTR 2016-09-06 19:31:19 +03:00
Makefile zdtm.py: The groups_test class for running groups 2015-12-08 14:54:52 +03:00
msg.c test_msg(): avoid recursion 2015-10-26 12:12:54 +03:00
ns.c test: don't do MS_REC|MS_PRIVATE for host mounts 2016-09-06 19:31:20 +03:00
ns.h zdtm: fix race in test_waitsig for multithreaded tests 2013-03-06 00:31:14 +04:00
parseargs.c zdtm: close an external tty 2012-09-13 16:09:13 +04:00
parseargs.sh zdtm: Zero Downtime Migration Test Suite 2011-12-02 17:49:08 +04:00
stop_and_chk.sh zdtm: Zero Downtime Migration Test Suite 2011-12-02 17:49:08 +04:00
streamutil.c zdtm: Zero Downtime Migration Test Suite 2011-12-02 17:49:08 +04:00
tcp.c zdtm: sanitize pr_perror() usage 2015-10-26 12:13:16 +03:00
test.c test: add printf-attribute to test_msg 2016-09-06 18:58:12 +03:00
zdtmtst.h test: add printf-attribute to test_msg 2016-09-06 18:58:12 +03:00