diff --git a/public/netd.te b/public/netd.te index a8a32bef98e019bd53ebf53d415e0af38fbcda2d..ab01fd834ee5f27c07dae305099e3b4202a0b41e 100644 --- a/public/netd.te +++ b/public/netd.te @@ -37,6 +37,8 @@ allow netd system_file:file lock; # TODO: Add proper rules to prevent other process to access qtaguid_proc file after migration # complete allow netd qtaguid_proc:file rw_file_perms; +# Allow netd to read /dev/qtaguid. This is the same privilege level that normal apps have. +allow netd qtaguid_device:chr_file r_file_perms; r_dir_file(netd, proc_net) # For /proc/sys/net/ipv[46]/route/flush.