universal7570: import sepolicy from 7870

The sepolicy before seems to be broken

Change-Id: I890a28429f03e47a183a0a0b755987f3495994c3
This commit is contained in:
Hendra Manudinata 2021-03-13 05:07:20 +07:00
parent f22a0e7cdd
commit f0e4521a9f
No known key found for this signature in database
GPG key ID: 8DB7A83A9B4EE2D6
53 changed files with 1095 additions and 58 deletions

35
sepolicy/device.te Normal file
View file

@ -0,0 +1,35 @@
# /dev/ttySAC3
type bluetooth_device, dev_type;
# /dev/block/mmcblk0p[0-9] (/dev/mbin0)
type emmcblk_device, file_type;
# Radio block device mounted on /efs.
type radio_block_device, dev_type;
# /dev/umts_boot*, /dev/ehci_power
type mif_device, dev_type;
# /dev/rfkill
type rfkill_device, dev_type;
# /dev/s5p-smem
type secmem_device, dev_type;
# /dev/bbd*, /dev/ttyBCM[0-9]*
type bbd_device, dev_type;
# /dev/vfsspi
type fingerprint_device, dev_type;
# /dev/batch_io
type sensor_device, dev_type;
# /dev/i2c-20 - TFA98xx amplifier
type amplifier_device, dev_type;
# /dev/knox_kap
type knox_device, dev_type;
# GPS
type gps_device, dev_type;