commit | e4b5942abd0d221e390b5fbb93e47b34f44d4c91 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <groeck@chromium.org> | Fri Nov 01 16:51:30 2019 |
committer | Mike Frysinger <vapier@chromium.org> | Sat Nov 14 13:11:56 2020 |
tree | c20d871389eed435af01fad8d392d660efb0253a | |
parent | 17eef2f652357f463d787b7cdc85b04b527e228c [diff] |
CHROMIUM: Simplify ext4 encryption support detection We can detect if the kernel supports ext4 encryption by checking if /sys/fs/ext4/features/encryption exists. This is more reliable than opening the root file system and trying to read the encryption policy. BUG=chromium:1019939 TEST="Boot and log in" Reviewed-on: https://chromium-review.googlesource.com/1895721 Change-Id: I2936e1ab7771aebe4980f86953207bd379b5c2ab