Skip to content
Commit 2325b381 authored by Bruno Martins's avatar Bruno Martins Committed by Michael Bestas
Browse files

msm8996: Consider additional ssr nodes

 * Commit cdc80e44 removed regexp in favor of genfs_contexts,
   but apparently not all nodes were taken into account.

 * This addresses the following denials which cause huge logspam:

   W Loc_hal : type=1400 audit(0.0:42): avc: denied { read } for name="name" dev="sysfs" ino=44959 scontext=u:r:hal_gnss_qti:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
   E libmdmdetect: Failed to open /sys/bus/msm_subsys/devices/subsys3/name: Permission denied
   (...)
   W android.hardwar: type=1400 audit(0.0:7): avc: denied { read } for name="name" dev="sysfs" ino=44959 scontext=u:r:hal_sensors_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
   E libmdmdetect: Failed to open /sys/bus/msm_subsys/devices/subsys3/name: Permission denied
   (...)
   W cnd     : type=1400 audit(0.0:19): avc: denied { read } for name="name" dev="sysfs" ino=44959 scontext=u:r:cnd:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
   E libmdmdetect: Failed to open /sys/bus/msm_subsys/devices/subsys3/name: Permission denied

Change-Id: I40f7e31ca03acc32e3dbac9770bfe70f50ce82bb
parent 4e783e66
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment