Re: [PATCH] Revert "ext4 crypto: fix to check feature status before get policy"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Eric Biggers <ebiggers@xxxxxxxxxx>
- Subject: Re: [PATCH] Revert "ext4 crypto: fix to check feature status before get policy"
- From: Doug Anderson <dianders@xxxxxxxxxxxx>
- Date: Wed, 30 Oct 2019 14:59:03 -0700
- In-reply-to: <20191030205745.GA216218@sol.localdomain>
- References: <20191030100618.1.Ibf7a996e4a58e84f11eec910938cfc3f9159c5de@changeid> <20191030173758.GC693@sol.localdomain> <CAD=FV=Uzma+eSGG1S1Aq6s3QdMNh4J-c=g-5uhB=0XBtkAawcA@mail.gmail.com> <20191030190226.GD693@sol.localdomain> <20191030205745.GA216218@sol.localdomain>
Hi,
On Wed, Oct 30, 2019 at 1:57 PM Eric Biggers <ebiggers@xxxxxxxxxx> wrote:
>
> FWIW, from reading the Chrome OS code, I think the code you linked to isn't
> where the breakage actually is. I think it's actually at
> https://chromium.googlesource.com/chromiumos/platform2/+/refs/heads/master/chromeos-common-script/share/chromeos-common.sh#375
> ... where an init script is using the error message printed by 'e4crypt
> get_policy' to decide whether to add -O encrypt to the filesystem or not.
>
> It really should check instead:
>
> [ -e /sys/fs/ext4/features/encryption ]
OK, I filed <https://crbug.com/1019939> and CCed all the people listed
in the cryptohome "OWNERS" file. Hopefully one of them can pick this
up as a general cleanup. Thanks!
-Doug
[Index of Archives]
[linux Cryptography]
[Asterisk App Development]
[PJ SIP]
[Gnu Gatekeeper]
[IETF Sipping]
[Info Cyrus]
[ALSA User]
[Fedora Linux Users]
[Linux SCTP]
[DCCP]
[Gimp]
[Yosemite News]
[Deep Creek Hot Springs]
[Yosemite Campsites]
[ISDN Cause Codes]