From 8b29034b89569d900ca21137eefd7edae601f9ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20=C5=BBenczykowski?= Date: Sat, 20 Apr 2024 06:57:37 +0000 Subject: [PATCH] init.rc: remove xt_qtaguid configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit which has been fully replaced by eBpf (started in android P, finished in android S) Test: TreeHugger Signed-off-by: Maciej Żenczykowski Change-Id: Ie38e54600a9bb01c7ecdde63d9a9256bed047f41 --- rootdir/init.rc | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/rootdir/init.rc b/rootdir/init.rc index 1af46c1bd..1888ba491 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -425,16 +425,6 @@ on init chown system system /proc/pressure/memory chmod 0664 /proc/pressure/memory - # qtaguid will limit access to specific data based on group memberships. - # net_bw_acct grants impersonation of socket owners. - # net_bw_stats grants access to other apps' detailed tagged-socket stats. - chown root net_bw_acct /proc/net/xt_qtaguid/ctrl - chown root net_bw_stats /proc/net/xt_qtaguid/stats - - # Allow everybody to read the xt_qtaguid resource tracking misc dev. - # This is needed by any process that uses socket tagging. - chmod 0644 /dev/xt_qtaguid - mount bpf bpf /sys/fs/bpf nodev noexec nosuid # pstore/ramoops previous console log