Lines Matching refs:fdesc_path
129 char fdesc_path[MAXPATHLEN]; variable
145 snprintf(fdesc_path, sizeof(fdesc_path), "/dev/fd/%d", dir_fd);
149 T_LOG("Testing mount blocking on /dev/fd/%d path: %s", dir_fd, fdesc_path);
152 ret = mount("tmpfs", fdesc_path, MNT_RDONLY, NULL);
154 "Mounting tmpfs over %s should fail with ENOTSUP", fdesc_path);
157 ret = mount("devfs", fdesc_path, MNT_RDONLY, NULL);
159 "Mounting devfs over %s should fail with ENOTSUP", fdesc_path);
169 char fdesc_path[MAXPATHLEN]; variable
185 snprintf(fdesc_path, sizeof(fdesc_path), "/dev/fd/%d", dir_fd);
189 T_LOG("Testing unmount blocking on /dev/fd/%d path: %s", dir_fd, fdesc_path);
192 ret = unmount(fdesc_path, 0);
194 "Unmounting %s should fail with ENOTSUP", fdesc_path);
197 ret = unmount(fdesc_path, MNT_FORCE);
199 "Force unmounting %s should fail with ENOTSUP", fdesc_path);