sepolicy_vndr: Add generic lablel for gpu_available_frequencies

Add gpu_available_frequeencies generic label to
resolve avc denical read, write, get_attr methods.
[38.063178]type=1400 audit(4779.247:56): avc: denied { read } for comm="thermal-engine-"
name="gpu_available_frequencies" dev="sysfs" ino=76022 scontext=u:r:
vendor_thermal-engine:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[38.063456] type=1400 audit(4779.247:57): avc: denied { open } for comm="thermal-engine-"
path="/sys/devices/platform/soc/5900000.qcom,kgsl-3d0/kgsl/kgsl-3d0/gpu_available_frequencies"
dev="sysfs" ino=76022 scontext=u:r:vendor_thermal-engine:s0 tcontext=u:object
r:sysfs:s0 tclass=file permissive=1 ./sys/devices/platform/soc/5900000.qcom,kgsl-3d0/kgsl/
kgsl-3d0/gpu_available_frequencies
[38.063659] type=1400 audit(4779.247:58): avc: denied { getattr } for comm="thermal-engine-"
path="/sys/devices/platform/soc/5900000.qcom,kgsl-3d0/kgsl/kgsl-3d0/gpu_available_frequencies"
dev="sysfs" ino=76022 scontext=u:r:vendor_thermal-engine:s0 tcontext=u:object
r:sysfs:s0 tclass=file permissive=1

Change-Id: I394b8b390252f31b908bd2ec543e4916362f6f77
Signed-off-by: Nitesh Kumar <quic_nitekuma@quicinc.com>
1 file changed
tree: 5597db39f50e97496088ca02d5ad46dae5639159
  1. generic/
  2. qva/
  3. SEPolicy.mk