mirror of
https://gitee.com/openharmony/third_party_f2fs-tools
synced 2025-02-22 20:00:37 +00:00
mkfs.f2fs: enable VERITY by default
This enables VERITY by default for android. Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
21d5a11ecb
commit
8dac454d5f
@ -93,11 +93,12 @@ static void add_default_options(void)
|
||||
{
|
||||
switch (c.defset) {
|
||||
case CONF_ANDROID:
|
||||
/* -d1 -f -O encrypt -O quota -w 4096 -R 0:0 */
|
||||
/* -d1 -f -O encrypt -O quota -O verity -w 4096 -R 0:0 */
|
||||
c.dbg_lv = 1;
|
||||
force_overwrite = 1;
|
||||
c.feature |= cpu_to_le32(F2FS_FEATURE_ENCRYPT);
|
||||
c.feature |= cpu_to_le32(F2FS_FEATURE_QUOTA_INO);
|
||||
c.feature |= cpu_to_le32(F2FS_FEATURE_VERITY);
|
||||
c.wanted_sector_size = 4096;
|
||||
c.root_uid = c.root_gid = 0;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user