Lines Matching refs:DIRA
15 * - Creates directories DIRA, DIRB and files DIRA/"A", DIRB/"B"
18 * - Bind mounts directory DIRA to itself
19 * - Makes directory DIRA shared
25 * .. X: bind mounts DIRB to DIRA
26 * .. Y: must see the file DIRA/"B"
27 * .. X: umounts DIRA
29 * .. Y: bind mounts DIRB to DIRA
30 * .. X: must see only the DIRA/"A" and must not see DIRA/"B" (as slave mount does
32 * .. Y: umounts DIRA
44 * makes mount DIRA a slave of DIRA (all slave mounts have
47 SAFE_MOUNT("none", DIRA, "none", MS_SLAVE, NULL);
51 if (access(DIRA "/B", F_OK) == 0)
58 SAFE_MOUNT(DIRB, DIRA, "none", MS_BIND, NULL);
62 SAFE_UMOUNT(DIRA);
77 SAFE_MOUNT(DIRA, DIRA, "none", MS_BIND, NULL);
79 SAFE_MOUNT("none", DIRA, "none", MS_SHARED, NULL);
88 SAFE_MOUNT(DIRB, DIRA, "none", MS_BIND, NULL);
92 SAFE_UMOUNT(DIRA);
96 if ((access(DIRA "/A", F_OK) == 0) && (access(DIRA "/B", F_OK) == -1))
105 SAFE_UMOUNT(DIRA);