sm8x50-userdebug: Add a generic build target for Snapdragon 8 gen devboards
Supported only on Linux kernel v6.8 onwards, this is a
common configuration (64-bit only) target for Snapdragon 8
gen devboards.
Smoke tested on sm8550-hdk, sm8550-qrd and sm8650-qrd with
software rendering.
And since qcom,board-id and qcom,msm-id DT properties are no
longer accepted upstream, we used fdtoverlay to apply them
at build time. So make sure that the base DT is built with
`DTC_FLAGS=-@` build flag to allow overlays, otherwise
fdtoverlay command will run into "FDT_ERR_NOTFOUND" error at
the build time.
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Change-Id: I2c6a0331173ef11a542b07ee3a270ece36d96786
diff --git a/sepolicy/tqftpserv.te b/sepolicy/tqftpserv.te
index d437c0d..6838c12 100644
--- a/sepolicy/tqftpserv.te
+++ b/sepolicy/tqftpserv.te
@@ -7,4 +7,4 @@
allow tqftpserv sysfs_remoteproc:dir { open read search };
allow tqftpserv sysfs_remoteproc:file { open read };
allow tqftpserv tqftpserv_vendor_data_file:dir { add_name create open read search write };
-allow tqftpserv tqftpserv_vendor_data_file:file { create open write };
+allow tqftpserv tqftpserv_vendor_data_file:file { create getattr open read write };