* [PATCH] mkfs.f2fs: enable VERITY by default
@ 2018-11-22 7:18 Jaegeuk Kim
2018-11-22 11:15 ` Chao Yu
0 siblings, 1 reply; 2+ messages in thread
From: Jaegeuk Kim @ 2018-11-22 7:18 UTC (permalink / raw)
To: linux-f2fs-devel; +Cc: Jaegeuk Kim
This enables VERITY by default for android.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
---
mkfs/f2fs_format_main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/mkfs/f2fs_format_main.c b/mkfs/f2fs_format_main.c
index 6ea8068..9672fd2 100644
--- a/mkfs/f2fs_format_main.c
+++ b/mkfs/f2fs_format_main.c
@@ -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;
--
2.19.0.605.g01d371f741-goog
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mkfs.f2fs: enable VERITY by default
2018-11-22 7:18 [PATCH] mkfs.f2fs: enable VERITY by default Jaegeuk Kim
@ 2018-11-22 11:15 ` Chao Yu
0 siblings, 0 replies; 2+ messages in thread
From: Chao Yu @ 2018-11-22 11:15 UTC (permalink / raw)
To: Jaegeuk Kim, linux-f2fs-devel
On 2018/11/22 15:18, Jaegeuk Kim wrote:
> This enables VERITY by default for android.
>
> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Thanks,
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-11-22 11:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-22 7:18 [PATCH] mkfs.f2fs: enable VERITY by default Jaegeuk Kim
2018-11-22 11:15 ` Chao Yu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).