lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 27 Oct 2012 04:24:13 -0400
From:	Theodore Ts'o <tytso@....edu>
To:	Toralf Förster <toralf.foerster@....de>
Cc:	Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: RFC: kconfig option CONFIG_LBDAF should be auto-selected if EXT4
 is chosen

On Sat, Oct 27, 2012 at 10:00:46AM +0200, Toralf Förster wrote:
> 
> otherwise booting an EXT4 image won't work b/c the root fs can't be
> mounted read-write - and as a side effect no syslog messages might
> point the user to this issue (at least in my setup) ...

This is only a problem on 32-bit architectues. and it's actually
documented in the Kconfig help message, and it's enabled by default.
So someone would have had to have gone out of their way to turn off
CONFIG_LBDAF.  This is the first time I've heard of someone getting
surprised by this; do you know how CONFIG_LBDAF got disabled?  Did you
just disable it without reading the help message?

What we might be able to do instead is to allow the mount to succeed,
but to simply fail any attempts to open(2) or stat(2) files larger
than 2TB with an EFBIG error.

BTW, technically ext4 does not _require_ CONFIG_LBDAF.  It's just that
the default mke2fs.conf enables huge_file, so most ext4 file systems
enable it by default.  I could imagine systems (like 32-bit Android
handsets) where it's not intended to ever support storage devices
larger than 2TB, so they might very well wnat CONFIG_EXT4 &&
!CONFIG_LBDAF.  That's a valid choice, although I do admit some users
might get surprised by this.

Regards,

					- Ted




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ