ANDROID: init_task: Init android vendor and oem data

Without initialization, it will be random data and hard for
vendor hook to decide.

Bug: 207739506
Change-Id: I278772d87eea38c03a40d4f0bef20ac8644e2ecd
Signed-off-by: Maria Yu <quic_aiquny@quicinc.com>
This commit is contained in:
Maria Yu
2021-11-24 15:30:05 +08:00
committed by Todd Kjos
parent 3c54070823
commit 898e7ec950
2 changed files with 4 additions and 0 deletions

View File

@@ -213,6 +213,8 @@ struct task_struct init_task
#ifdef CONFIG_SECCOMP_FILTER
.seccomp = { .filter_count = ATOMIC_INIT(0) },
#endif
.android_vendor_data1 = {0, },
.android_oem_data1 = {0, },
};
EXPORT_SYMBOL(init_task);