diff --git a/non_plat/device.te b/non_plat/device.te index ef1cd6a..177c215 100644 --- a/non_plat/device.te +++ b/non_plat/device.te @@ -4,6 +4,7 @@ type devmap_device, dev_type; type ttyMT_device, dev_type; +type ttyS_device, dev_type; type ttySDIO_device, dev_type; type vmodem_device, dev_type; type stpwmt_device, dev_type; diff --git a/non_plat/factory.te b/non_plat/factory.te index 84c5b8f..6c45166 100644 --- a/non_plat/factory.te +++ b/non_plat/factory.te @@ -38,6 +38,7 @@ allow factory ttySDIO_device:chr_file rw_file_perms; #Purpose: USB allow factory ttyMT_device:chr_file rw_file_perms; +allow factory ttyS_device:chr_file rw_file_perms; allow factory ttyGS_device:chr_file rw_file_perms; # Date: WK15.01 diff --git a/non_plat/file_contexts b/non_plat/file_contexts index e0f45d4..e506e9a 100644 --- a/non_plat/file_contexts +++ b/non_plat/file_contexts @@ -302,6 +302,7 @@ /dev/ttyC3 u:object_r:icusb_device:s0 /dev/ttyGS.* u:object_r:ttyGS_device:s0 /dev/ttyMT.* u:object_r:ttyMT_device:s0 +/dev/ttyS.* u:object_r:ttyS_device:s0 /dev/ttyp.* u:object_r:ttyp_device:s0 /dev/ttySDIO.* u:object_r:ttySDIO_device:s0 /dev/ttyUSB0 u:object_r:tty_device:s0 diff --git a/non_plat/meta_tst.te b/non_plat/meta_tst.te index 6c690f4..8fa1060 100644 --- a/non_plat/meta_tst.te +++ b/non_plat/meta_tst.te @@ -15,6 +15,11 @@ allow meta_tst ttyGS_device:chr_file rw_file_perms; # Purpose : for meta mode device node UART allow meta_tst ttyMT_device:chr_file rw_file_perms; +# Date: WK17.12 +# Operation : Migration +# Purpose : for meta mode device node UART +allow meta_tst ttyS_device:chr_file rw_file_perms; + # Date: WK16.12 # Operation : Migration # Purpose : for meta mode device node CCCI diff --git a/non_plat/system_server.te b/non_plat/system_server.te index e227cca..ff4c784 100644 --- a/non_plat/system_server.te +++ b/non_plat/system_server.te @@ -70,6 +70,10 @@ allow system_server sw_sync_device:chr_file { read write getattr open ioctl }; # Purpose: Allow to access UART1 ttyMT1 allow system_server ttyMT_device:chr_file rw_file_perms; +# Date : WK17.52 +# Purpose: Allow to access UART1 ttyS +allow system_server ttyS_device:chr_file rw_file_perms; + # Date : WK16.44 # Purpose: Allow to access gpsonly driver #allow system_server gps_device:chr_file rw_file_perms;