From 46314853fe8ee8b5c24feb0687156766e21d159b Mon Sep 17 00:00:00 2001 From: "zexin.hou" Date: Thu, 9 Jun 2022 16:41:18 +0800 Subject: [PATCH] charge the permissions for the proc/bootconfig The current/proc/bootconfig node is the root user group,but some Android modules of our company do not have permission to access the root user group node. We want to add the same permissions to /proc/cmdline for the proc/bootconfig node in init.rc Change-Id: I98f63a09cf7306be65c40674b1b28f1153c705fb --- rootdir/init.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/rootdir/init.rc b/rootdir/init.rc index 70a3736cb..29b8365dc 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -1170,6 +1170,7 @@ on boot chown system system /sys/kernel/ipv4/tcp_rmem_def chown system system /sys/kernel/ipv4/tcp_rmem_max chown root radio /proc/cmdline + chown root system /proc/bootconfig # Define default initial receive window size in segments. setprop net.tcp_def_init_rwnd 60