remove root requirement for blkddev since still no security problem is known

master
szaka 2008-01-20 18:43:57 +00:00
parent 0afd8ce18b
commit 8a1cc132ab
1 changed files with 0 additions and 4 deletions

View File

@ -399,10 +399,6 @@ static int do_mount(const char *mnt, char **typep, mode_t rootmode,
if (!get_string_opt(s, len, subtype_str, &subtype))
goto err;
} else if (opt_eq(s, len, "blkdev")) {
if (getuid() != 0) {
fprintf(stderr, "%s: option blkdev is privileged\n", progname);
goto err;
}
blkdev = 1;
} else if (opt_eq(s, len, "nonempty")) {
check_empty = 0;