Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1500011

Re: [PATCH] ext4: do not advertise encryption support when disabled

From Theodore Ts'o <tytso@mit.edu>
Newsgroups linux.kernel
Subject Re: [PATCH] ext4: do not advertise encryption support when disabled
Date 2016-10-13 05:30 +0200
Message-ID <srESu-60N-11@gated-at.bofh.it> (permalink)
References <sqO7v-550-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Oct 10, 2016 at 12:05:31PM -0700, Eric Biggers wrote:
> The sysfs file /sys/fs/ext4/features/encryption was present on kernels
> compiled with CONFIG_EXT4_FS_ENCRYPTION=n.  This was misleading because
> such kernels do not actually support ext4 encryption.  Therefore, only
> provide this file on kernels compiled with CONFIG_EXT4_FS_ENCRYPTION=y.
> 
> Note: since the ext4 feature files are all hardcoded to have a contents
> of "supported", it really is the presence or absence of the file that is
> significant, not the contents (and this change reflects that).
> 
> Signed-off-by: Eric Biggers <ebiggers@google.com>

Thanks, applied.

					- Ted

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] ext4: do not advertise encryption support when disabled Eric Biggers <ebiggers@google.com> - 2016-10-10 21:10 +0200
  Re: [PATCH] ext4: do not advertise encryption support when disabled Theodore Ts'o <tytso@mit.edu> - 2016-10-13 05:30 +0200

csiph-web