To solve smack error, prevent to access /proc/pid/oom_score_adj in zygote process.
Moreover, even if we write oom_score_adj, kernel have denied it from Tizen2.4 platform.
So it is better to remove accessing it.
Reference:
- https://review.tizen.org/gerrit/#/c/291135/
Change-Id: Ia22e5f2f8a85585c9a17a172089df9f527be34aa
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
GetProcessType());
*launch_result = LAUNCH_RESULT_SUCCESS;
-#if !BUILDFLAG(IS_OPENBSD)
+#if !BUILDFLAG(IS_OPENBSD) && !BUILDFLAG(IS_TIZEN_TV)
if (handle) {
// It could be a renderer process or an utility process.
int oom_score = content::kMiscOomScore;