return
hasmntopt(me, "bind") ||
- streq(me->mnt_type, "bind");
+ streq(me->mnt_type, "bind") ||
+ hasmntopt(me, "rbind") ||
+ streq(me->mnt_type, "rbind");
}
static bool mount_is_network(struct mntent *me) {
return 0;
}
- opts = strdup("defaults");
+ opts = strdup("ro");
type = strdup("auto");
if (!opts || !type)
return log_oom();