From bb65706952250de52b80f05cfa38b5777b6ebb04 Mon Sep 17 00:00:00 2001 From: Saya Andy Date: Wed, 9 Sep 2026 02:04:43 +0700 Subject: fix: sensor auto-rotate - fastrpc node name, ssc-accel tag, SELinux QRTR perms --- iio-qipcrtr.te | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 iio-qipcrtr.te (limited to 'iio-qipcrtr.te') diff --git a/iio-qipcrtr.te b/iio-qipcrtr.te new file mode 100644 index 0000000..5ea7434 --- /dev/null +++ b/iio-qipcrtr.te @@ -0,0 +1,20 @@ + +module iio-qipcrtr 1.0; + +require { + type iiosensorproxy_t; + type systemd_userdbd_t; + type xdm_var_run_t; + class sock_file read; + class qipcrtr_socket { create getattr getopt setopt }; +} + +#============= iiosensorproxy_t ============== + +#!!!! This avc is allowed in the current policy +allow iiosensorproxy_t self:qipcrtr_socket { create getattr getopt setopt }; + +#============= systemd_userdbd_t ============== + +#!!!! This avc is allowed in the current policy +allow systemd_userdbd_t xdm_var_run_t:sock_file read; -- cgit v1.3.1+17