prebuilt_file_contexts 98 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889
  1. #line 1 "external/sepolicy/file_contexts"
  2. ###########################################
  3. # Root
  4. / u:object_r:rootfs:s0
  5. # Data files
  6. /adb_keys u:object_r:adb_keys_file:s0
  7. /default\.prop u:object_r:rootfs:s0
  8. /fstab\..* u:object_r:rootfs:s0
  9. /init\..* u:object_r:rootfs:s0
  10. /res(/.*)? u:object_r:rootfs:s0
  11. /ueventd\..* u:object_r:rootfs:s0
  12. # Executables
  13. /charger u:object_r:rootfs:s0
  14. /init u:object_r:init_exec:s0
  15. /sbin(/.*)? u:object_r:rootfs:s0
  16. # Empty directories
  17. /lost\+found u:object_r:rootfs:s0
  18. /proc u:object_r:rootfs:s0
  19. # SELinux policy files
  20. /file_contexts u:object_r:rootfs:s0
  21. /property_contexts u:object_r:rootfs:s0
  22. /seapp_contexts u:object_r:rootfs:s0
  23. /sepolicy u:object_r:rootfs:s0
  24. ##########################
  25. # Devices
  26. #
  27. /dev(/.*)? u:object_r:device:s0
  28. /dev/akm8973.* u:object_r:sensors_device:s0
  29. /dev/accelerometer u:object_r:sensors_device:s0
  30. /dev/adf[0-9]* u:object_r:graphics_device:s0
  31. /dev/adf-interface[0-9]*\.[0-9]* u:object_r:graphics_device:s0
  32. /dev/adf-overlay-engine[0-9]*\.[0-9]* u:object_r:graphics_device:s0
  33. /dev/alarm u:object_r:alarm_device:s0
  34. /dev/android_adb.* u:object_r:adb_device:s0
  35. /dev/ashmem u:object_r:ashmem_device:s0
  36. /dev/audio.* u:object_r:audio_device:s0
  37. /dev/binder u:object_r:binder_device:s0
  38. /dev/block(/.*)? u:object_r:block_device:s0
  39. /dev/block/dm-[0-9]+ u:object_r:dm_device:s0
  40. /dev/block/loop[0-9]* u:object_r:loop_device:s0
  41. /dev/block/vold/.+ u:object_r:vold_device:s0
  42. /dev/block/ram[0-9]* u:object_r:ram_device:s0
  43. /dev/bus/usb(.*)? u:object_r:usb_device:s0
  44. /dev/cam u:object_r:camera_device:s0
  45. /dev/console u:object_r:console_device:s0
  46. /dev/cpuctl(/.*)? u:object_r:cpuctl_device:s0
  47. /dev/device-mapper u:object_r:dm_device:s0
  48. /dev/eac u:object_r:audio_device:s0
  49. /dev/fscklogs(/.*)? u:object_r:fscklogs:s0
  50. /dev/full u:object_r:full_device:s0
  51. /dev/fuse u:object_r:fuse_device:s0
  52. /dev/graphics(/.*)? u:object_r:graphics_device:s0
  53. /dev/hw_random u:object_r:hw_random_device:s0
  54. /dev/input(/.*) u:object_r:input_device:s0
  55. /dev/iio:device[0-9]+ u:object_r:iio_device:s0
  56. /dev/ion u:object_r:ion_device:s0
  57. /dev/kmem u:object_r:kmem_device:s0
  58. /dev/log(/.*)? u:object_r:log_device:s0
  59. /dev/mem u:object_r:kmem_device:s0
  60. /dev/modem.* u:object_r:radio_device:s0
  61. /dev/mpu u:object_r:gps_device:s0
  62. /dev/mpuirq u:object_r:gps_device:s0
  63. /dev/mtd(/.*)? u:object_r:mtd_device:s0
  64. /dev/mtp_usb u:object_r:mtp_device:s0
  65. /dev/pmsg0 u:object_r:pmsg_device:s0
  66. /dev/pn544 u:object_r:nfc_device:s0
  67. /dev/ppp u:object_r:ppp_device:s0
  68. /dev/ptmx u:object_r:ptmx_device:s0
  69. /dev/pvrsrvkm u:object_r:gpu_device:s0
  70. /dev/kmsg u:object_r:kmsg_device:s0
  71. /dev/null u:object_r:null_device:s0
  72. /dev/nvhdcp1 u:object_r:video_device:s0
  73. /dev/random u:object_r:random_device:s0
  74. /dev/rpmsg-omx[0-9] u:object_r:rpmsg_device:s0
  75. /dev/rproc_user u:object_r:rpmsg_device:s0
  76. /dev/rtc[0-9] u:object_r:rtc_device:s0
  77. /dev/snd(/.*)? u:object_r:audio_device:s0
  78. /dev/socket(/.*)? u:object_r:socket_device:s0
  79. /dev/socket/adbd u:object_r:adbd_socket:s0
  80. /dev/socket/sap_uim_socket[0-9] u:object_r:sap_uim_socket:s0
  81. /dev/socket/cryptd u:object_r:vold_socket:s0
  82. /dev/socket/dnsproxyd u:object_r:dnsproxyd_socket:s0
  83. /dev/socket/dumpstate u:object_r:dumpstate_socket:s0
  84. /dev/socket/fwmarkd u:object_r:fwmarkd_socket:s0
  85. /dev/socket/gps u:object_r:gps_socket:s0
  86. /dev/socket/installd u:object_r:installd_socket:s0
  87. /dev/socket/lmkd u:object_r:lmkd_socket:s0
  88. /dev/socket/logd u:object_r:logd_socket:s0
  89. /dev/socket/logdr u:object_r:logdr_socket:s0
  90. /dev/socket/logdw u:object_r:logdw_socket:s0
  91. /dev/socket/mdns u:object_r:mdns_socket:s0
  92. /dev/socket/mdnsd u:object_r:mdnsd_socket:s0
  93. /dev/socket/mtpd u:object_r:mtpd_socket:s0
  94. /dev/socket/netd u:object_r:netd_socket:s0
  95. /dev/socket/property_service u:object_r:property_socket:s0
  96. /dev/socket/racoon u:object_r:racoon_socket:s0
  97. /dev/socket/rild u:object_r:rild_socket:s0
  98. /dev/socket/rild-debug u:object_r:rild_debug_socket:s0
  99. /dev/socket/vold u:object_r:vold_socket:s0
  100. /dev/socket/wpa_eth[0-9] u:object_r:wpa_socket:s0
  101. /dev/socket/wpa_wlan[0-9] u:object_r:wpa_socket:s0
  102. /dev/socket/zygote u:object_r:zygote_socket:s0
  103. /dev/socket/zygote_secondary u:object_r:zygote_socket:s0
  104. /dev/spdif_out.* u:object_r:audio_device:s0
  105. /dev/tegra.* u:object_r:video_device:s0
  106. /dev/tf_driver u:object_r:tee_device:s0
  107. /dev/tty u:object_r:owntty_device:s0
  108. /dev/tty[0-9]* u:object_r:tty_device:s0
  109. /dev/ttyS[0-9]* u:object_r:serial_device:s0
  110. /dev/tun u:object_r:tun_device:s0
  111. /dev/uhid u:object_r:uhid_device:s0
  112. /dev/uinput u:object_r:uhid_device:s0
  113. /dev/uio[0-9]* u:object_r:uio_device:s0
  114. /dev/urandom u:object_r:urandom_device:s0
  115. /dev/usb_accessory u:object_r:usbaccessory_device:s0
  116. /dev/vcs[0-9a-z]* u:object_r:vcs_device:s0
  117. /dev/video[0-9]* u:object_r:video_device:s0
  118. /dev/watchdog u:object_r:watchdog_device:s0
  119. /dev/xt_qtaguid u:object_r:qtaguid_device:s0
  120. /dev/zero u:object_r:zero_device:s0
  121. /dev/__kmsg__ u:object_r:klog_device:s0
  122. /dev/__properties__ u:object_r:properties_device:s0
  123. #############################
  124. # System files
  125. #
  126. /system(/.*)? u:object_r:system_file:s0
  127. /system/bin/e2fsck -- u:object_r:fsck_exec:s0
  128. /system/bin/fsck\.f2fs -- u:object_r:fsck_exec:s0
  129. /system/bin/fsck_msdos -- u:object_r:fsck_exec:s0
  130. /system/bin/toolbox -- u:object_r:toolbox_exec:s0
  131. /system/bin/toybox -- u:object_r:toolbox_exec:s0
  132. /system/bin/logcat -- u:object_r:logcat_exec:s0
  133. /system/bin/sh -- u:object_r:shell_exec:s0
  134. /system/bin/run-as -- u:object_r:runas_exec:s0
  135. /system/bin/bootanimation u:object_r:bootanim_exec:s0
  136. /system/bin/app_process32 u:object_r:zygote_exec:s0
  137. /system/bin/app_process64 u:object_r:zygote_exec:s0
  138. /system/bin/servicemanager u:object_r:servicemanager_exec:s0
  139. /system/bin/surfaceflinger u:object_r:surfaceflinger_exec:s0
  140. /system/bin/drmserver u:object_r:drmserver_exec:s0
  141. /system/bin/dumpstate u:object_r:dumpstate_exec:s0
  142. /system/bin/vold u:object_r:vold_exec:s0
  143. /system/bin/netd u:object_r:netd_exec:s0
  144. /system/bin/rild u:object_r:rild_exec:s0
  145. /system/bin/mediaserver u:object_r:mediaserver_exec:s0
  146. /system/bin/mdnsd u:object_r:mdnsd_exec:s0
  147. /system/bin/installd u:object_r:installd_exec:s0
  148. /system/bin/keystore u:object_r:keystore_exec:s0
  149. /system/bin/fingerprintd u:object_r:fingerprintd_exec:s0
  150. /system/bin/gatekeeperd u:object_r:gatekeeperd_exec:s0
  151. /system/bin/debuggerd u:object_r:debuggerd_exec:s0
  152. /system/bin/debuggerd64 u:object_r:debuggerd_exec:s0
  153. /system/bin/wpa_supplicant u:object_r:wpa_exec:s0
  154. /system/bin/sdcard u:object_r:sdcardd_exec:s0
  155. /system/bin/dhcpcd u:object_r:dhcp_exec:s0
  156. /system/bin/mtpd u:object_r:mtp_exec:s0
  157. /system/bin/pppd u:object_r:ppp_exec:s0
  158. /system/bin/tf_daemon u:object_r:tee_exec:s0
  159. /system/bin/racoon u:object_r:racoon_exec:s0
  160. /system/xbin/su u:object_r:su_exec:s0
  161. /system/xbin/procrank u:object_r:procrank_exec:s0
  162. /system/xbin/perfprofd u:object_r:perfprofd_exec:s0
  163. /system/xbin/simpleperf u:object_r:system_file:s0
  164. /system/vendor/bin/gpsd u:object_r:gpsd_exec:s0
  165. /system/bin/dnsmasq u:object_r:dnsmasq_exec:s0
  166. /system/bin/hostapd u:object_r:hostapd_exec:s0
  167. /system/bin/clatd u:object_r:clatd_exec:s0
  168. /system/bin/lmkd u:object_r:lmkd_exec:s0
  169. /system/bin/inputflinger u:object_r:inputflinger_exec:s0
  170. /system/bin/logd u:object_r:logd_exec:s0
  171. /system/bin/uncrypt u:object_r:uncrypt_exec:s0
  172. /system/bin/logwrapper u:object_r:system_file:s0
  173. /system/bin/vdc u:object_r:vdc_exec:s0
  174. /system/bin/install-recovery.sh u:object_r:install_recovery_exec:s0
  175. /system/bin/dex2oat u:object_r:dex2oat_exec:s0
  176. # patchoat executable has (essentially) the same requirements as dex2oat.
  177. /system/bin/patchoat u:object_r:dex2oat_exec:s0
  178. /system/bin/sgdisk u:object_r:sgdisk_exec:s0
  179. /system/bin/blkid u:object_r:blkid_exec:s0
  180. /system/bin/tzdatacheck u:object_r:tzdatacheck_exec:s0
  181. #############################
  182. # Vendor files
  183. #
  184. /vendor(/.*)? u:object_r:system_file:s0
  185. /vendor/bin/gpsd u:object_r:gpsd_exec:s0
  186. #############################
  187. # OEM and ODM files
  188. #
  189. /odm(/.*)? u:object_r:system_file:s0
  190. /oem(/.*)? u:object_r:oemfs:s0
  191. #############################
  192. # Data files
  193. #
  194. # NOTE: When modifying existing label rules, changes may also need to
  195. # propagate to the "Expanded data files" section.
  196. #
  197. /data(/.*)? u:object_r:system_data_file:s0
  198. /data/.layout_version u:object_r:install_data_file:s0
  199. /data/unencrypted(/.*)? u:object_r:unencrypted_data_file:s0
  200. /data/backup(/.*)? u:object_r:backup_data_file:s0
  201. /data/secure/backup(/.*)? u:object_r:backup_data_file:s0
  202. /data/security(/.*)? u:object_r:security_file:s0
  203. /data/system/ndebugsocket u:object_r:system_ndebug_socket:s0
  204. /data/drm(/.*)? u:object_r:drm_data_file:s0
  205. /data/gps(/.*)? u:object_r:gps_data_file:s0
  206. /data/resource-cache(/.*)? u:object_r:resourcecache_data_file:s0
  207. /data/dalvik-cache(/.*)? u:object_r:dalvikcache_data_file:s0
  208. /data/dalvik-cache/profiles(/.*)? u:object_r:dalvikcache_profiles_data_file:s0
  209. /data/adb(/.*)? u:object_r:adb_data_file:s0
  210. /data/anr(/.*)? u:object_r:anr_data_file:s0
  211. /data/app(/.*)? u:object_r:apk_data_file:s0
  212. /data/app/[^/]+/oat(/.*)? u:object_r:dalvikcache_data_file:s0
  213. /data/app/vmdl[^/]+\.tmp(/.*)? u:object_r:apk_tmp_file:s0
  214. /data/app/vmdl[^/]+\.tmp/oat(/.*)? u:object_r:dalvikcache_data_file:s0
  215. /data/app-private(/.*)? u:object_r:apk_private_data_file:s0
  216. /data/app-private/vmdl.*\.tmp(/.*)? u:object_r:apk_private_tmp_file:s0
  217. /data/tombstones(/.*)? u:object_r:tombstone_data_file:s0
  218. /data/local/tmp(/.*)? u:object_r:shell_data_file:s0
  219. /data/media(/.*)? u:object_r:media_rw_data_file:s0
  220. /data/mediadrm(/.*)? u:object_r:media_data_file:s0
  221. /data/property(/.*)? u:object_r:property_data_file:s0
  222. # Misc data
  223. /data/misc/adb(/.*)? u:object_r:adb_keys_file:s0
  224. /data/misc/audio(/.*)? u:object_r:audio_data_file:s0
  225. /data/misc/bluetooth(/.*)? u:object_r:bluetooth_data_file:s0
  226. /data/misc/bluedroid(/.*)? u:object_r:bluetooth_data_file:s0
  227. /data/misc/bluedroid/\.a2dp_ctrl u:object_r:bluetooth_socket:s0
  228. /data/misc/bluedroid/\.a2dp_data u:object_r:bluetooth_socket:s0
  229. /data/misc/camera(/.*)? u:object_r:camera_data_file:s0
  230. /data/misc/dhcp(/.*)? u:object_r:dhcp_data_file:s0
  231. /data/misc/gatekeeper(/.*)? u:object_r:gatekeeper_data_file:s0
  232. /data/misc/keychain(/.*)? u:object_r:keychain_data_file:s0
  233. /data/misc/keystore(/.*)? u:object_r:keystore_data_file:s0
  234. /data/misc/logd(/.*)? u:object_r:misc_logd_file:s0
  235. /data/misc/media(/.*)? u:object_r:media_data_file:s0
  236. /data/misc/net(/.*)? u:object_r:net_data_file:s0
  237. /data/misc/shared_relro(/.*)? u:object_r:shared_relro_file:s0
  238. /data/misc/sms(/.*)? u:object_r:radio_data_file:s0
  239. /data/misc/systemkeys(/.*)? u:object_r:systemkeys_data_file:s0
  240. /data/misc/user(/.*)? u:object_r:misc_user_data_file:s0
  241. /data/misc/vpn(/.*)? u:object_r:vpn_data_file:s0
  242. /data/misc/wifi(/.*)? u:object_r:wifi_data_file:s0
  243. /data/misc/wifi/sockets(/.*)? u:object_r:wpa_socket:s0
  244. /data/misc/wifi/sockets/wpa_ctrl.* u:object_r:system_wpa_socket:s0
  245. /data/misc/wifi/hostapd(/.*)? u:object_r:wpa_socket:s0
  246. /data/misc/zoneinfo(/.*)? u:object_r:zoneinfo_data_file:s0
  247. /data/misc/vold(/.*)? u:object_r:vold_data_file:s0
  248. /data/misc/perfprofd(/.*)? u:object_r:perfprofd_data_file:s0
  249. /data/system/heapdump(/.*)? u:object_r:heapdump_data_file:s0
  250. # Fingerprint data
  251. /data/system/users/[0-9]+/fpdata(/.*)? u:object_r:fingerprintd_data_file:s0
  252. # Bootchart data
  253. /data/bootchart(/.*)? u:object_r:bootchart_data_file:s0
  254. #############################
  255. # Expanded data files
  256. #
  257. /mnt/expand(/.*)? u:object_r:mnt_expand_file:s0
  258. /mnt/expand/[^/]+(/.*)? u:object_r:system_data_file:s0
  259. /mnt/expand/[^/]+/app(/.*)? u:object_r:apk_data_file:s0
  260. /mnt/expand/[^/]+/app/[^/]+/oat(/.*)? u:object_r:dalvikcache_data_file:s0
  261. /mnt/expand/[^/]+/app/vmdl[^/]+\.tmp(/.*)? u:object_r:apk_tmp_file:s0
  262. /mnt/expand/[^/]+/app/vmdl[^/]+\.tmp/oat(/.*)? u:object_r:dalvikcache_data_file:s0
  263. /mnt/expand/[^/]+/local/tmp(/.*)? u:object_r:shell_data_file:s0
  264. /mnt/expand/[^/]+/media(/.*)? u:object_r:media_rw_data_file:s0
  265. /mnt/expand/[^/]+/misc/vold(/.*)? u:object_r:vold_data_file:s0
  266. # coredump directory for userdebug/eng devices
  267. /cores(/.*)? u:object_r:coredump_file:s0
  268. # Wallpaper file for other users
  269. /data/system/users/[0-9]+/wallpaper u:object_r:wallpaper_file:s0
  270. #############################
  271. # efs files
  272. #
  273. /efs(/.*)? u:object_r:efs_file:s0
  274. #############################
  275. # Cache files
  276. #
  277. /cache(/.*)? u:object_r:cache_file:s0
  278. /cache/.*\.data u:object_r:cache_backup_file:s0
  279. /cache/.*\.restore u:object_r:cache_backup_file:s0
  280. # LocalTransport (backup) uses this directory
  281. /cache/backup(/.*)? u:object_r:cache_backup_file:s0
  282. #############################
  283. # sysfs files
  284. #
  285. /sys/devices/platform/nfc-power/nfc_power -- u:object_r:sysfs_nfc_power_writable:s0
  286. /sys/devices/system/cpu(/.*)? u:object_r:sysfs_devices_system_cpu:s0
  287. /sys/power/wake_lock -- u:object_r:sysfs_wake_lock:s0
  288. /sys/power/wake_unlock -- u:object_r:sysfs_wake_lock:s0
  289. /sys/kernel/uevent_helper -- u:object_r:usermodehelper:s0
  290. /sys/module/lowmemorykiller(/.*)? -- u:object_r:sysfs_lowmemorykiller:s0
  291. #############################
  292. # asec containers
  293. /mnt/asec(/.*)? u:object_r:asec_apk_file:s0
  294. /mnt/asec/[^/]+/[^/]+\.zip u:object_r:asec_public_file:s0
  295. /mnt/asec/[^/]+/lib(/.*)? u:object_r:asec_public_file:s0
  296. /data/app-asec(/.*)? u:object_r:asec_image_file:s0
  297. #############################
  298. # external storage
  299. /mnt/media_rw(/.*)? u:object_r:mnt_media_rw_file:s0
  300. /mnt/user(/.*)? u:object_r:mnt_user_file:s0
  301. /mnt/runtime(/.*)? u:object_r:storage_file:s0
  302. /storage(/.*)? u:object_r:storage_file:s0
  303. #############################
  304. # MISC partition file
  305. #
  306. /hidden(/.*)? u:object_r:hidden_file:s0
  307. /persdata(/.*)? u:object_r:persdata_data_file:s0
  308. /persist(/.*)? u:object_r:persist_data_file:s0
  309. /preload(/.*)? u:object_r:hidden_file:s0
  310. /tombstone(/.*)? u:object_r:tombstone_data_file:s0
  311. /tombstones(/.*)? u:object_r:tombstone_data_file:s0
  312. #line 1 "vendor/samsung/common/sepolicy/sec_common/file_contexts"
  313. #ipm service
  314. /system/bin/ipm u:object_r:ipm_exec:s0
  315. /data/system/ipm(/.*)? u:object_r:ipm_data_file:s0
  316. /system/bin/ftt_ctrld u:object_r:ftt_ctrld_exec:s0
  317. #############################
  318. # Device node
  319. #
  320. /dev/ftt_ctrl u:object_r:ftt_ctrl_device:s0
  321. #line 1 "vendor/samsung/common/sepolicy/BSP/bsp_qcom_v2/bsp/common/file_contexts"
  322. ###################################
  323. # Dev nodes
  324. #
  325. /dev/adsprpc-smd u:object_r:qdsp_device:s0
  326. /dev/cpu_dma_latency u:object_r:device_latency:s0
  327. /dev/diag u:object_r:diag_device:s0
  328. /dev/hsicctl.* u:object_r:hsic_device:s0
  329. /dev/kgsl-3d0 u:object_r:gpu_device:s0
  330. /dev/mhi_pipe_.* u:object_r:mhi_device:s0
  331. /dev/msm_.* u:object_r:audio_device:s0
  332. # SEC removed : /dev/usf1 u:object_r:usf_device:s0
  333. /dev/msm_dsps u:object_r:sensors_device:s0
  334. /dev/msm_thermal_query u:object_r:thermal_device:s0
  335. /dev/nfc-nci u:object_r:nfc_device:s0
  336. /dev/nq-nci u:object_r:nfc_device:s0
  337. #SEC use qseecom_device, not tee_device. neverallow Google CTS-android-5.0.2_r1 :
  338. /dev/qseecom u:object_r:qseecom_device:s0
  339. /dev/seemplog u:object_r:seemplog_device:s0
  340. /dev/radio0 u:object_r:fm_radio_device:s0
  341. # SEC removed : /dev/rtc0 u:object_r:rtc_device:s0
  342. /dev/sensors u:object_r:sensors_device:s0
  343. /dev/smd.* u:object_r:smd_device:s0
  344. /dev/smem_log u:object_r:smem_log_device:s0
  345. /dev/ttyHSL0 u:object_r:console_device:s0
  346. /dev/ttyHS[0-9]* u:object_r:serial_device:s0
  347. /dev/ttyGS0 u:object_r:gadget_serial_device:s0
  348. /dev/usb_ext_chg u:object_r:hvdcp_device:s0
  349. /dev/media([0-9])+ u:object_r:camera_device:s0
  350. /dev/jpeg[0-9]* u:object_r:camera_device:s0
  351. /dev/v4l-subdev.* u:object_r:camera_device:s0
  352. /dev/vm_bms u:object_r:vm_bms_device:s0
  353. /dev/battery_data u:object_r:battery_data_device:s0
  354. #/dev/block/mmcblk1 u:object_r:sd_device:s0
  355. #/dev/block/mmcblk1p1 u:object_r:sd_device:s0
  356. /dev/ccid_bridge u:object_r:usb_uicc_device:s0
  357. /dev/subsys_.* u:object_r:ssr_device:s0
  358. /dev/ramdump_.* u:object_r:ramdump_device:s0
  359. /dev/esoc.* u:object_r:esoc_device:s0
  360. /dev/ks_hsic_bridge u:object_r:ksbridgehsic_device:s0
  361. /dev/efs_hsic_bridge u:object_r:efsbridgehsic_device:s0
  362. /dev/ipa u:object_r:ipa_dev:s0
  363. /dev/wwan_ioctl u:object_r:ipa_dev:s0
  364. /dev/ipaNatTable u:object_r:ipa_dev:s0
  365. /dev/rmnet_ctrl.* u:object_r:rmnet_device:s0
  366. /dev/dpl_ctrl u:object_r:rmnet_device:s0
  367. /dev/wcnss_ctrl u:object_r:wcnss_device:s0
  368. /dev/wcnss_wlan u:object_r:wcnss_device:s0
  369. ##SEC removed dup contexts, /dev/pta u:object_r:pta_device:s0
  370. /dev/mdss_rotator u:object_r:graphics_device:s0
  371. /dev/hbtp_input u:object_r:hbtp_device:s0
  372. /dev/jdi-bu21150 u:object_r:bu21150_device:s0
  373. /dev/voice_svc u:object_r:voice_device:s0
  374. /dev/avtimer u:object_r:avtimer_device:s0
  375. ##SEC removed duplicated contexts,/dev/coresight-stm u:object_r:qdss_device:s0
  376. ##SEC removed duplicated contexts,/dev/coresight-tmc-etf u:object_r:qdss_device:s0
  377. ##SEC removed duplicated contexts,/dev/coresight-tmc-etr u:object_r:qdss_device:s0
  378. ##SEC removed duplicated contexts,/dev/coresight-tmc-etr-stream u:object_r:qdss_device:s0
  379. /dev/system_health_monitor u:object_r:system_health_monitor_device:s0
  380. /dev/qce u:object_r:qce_device:s0
  381. /dev/msm-rng u:object_r:rng_device:s0
  382. /dev/qbt1000 u:object_r:qbt1000_device:s0
  383. /dev/at_.* u:object_r:at_device:s0
  384. /dev/sg.* u:object_r:sg_device:s0
  385. ###################################
  386. # Dev block nodes
  387. #
  388. /dev/block/bootdevice/by-name/modemst1 u:object_r:modem_efs_partition_device:s0
  389. /dev/block/bootdevice/by-name/modemst2 u:object_r:modem_efs_partition_device:s0
  390. /dev/block/bootdevice/by-name/fsg u:object_r:modem_efs_partition_device:s0
  391. /dev/block/bootdevice/by-name/fsc u:object_r:modem_efs_partition_device:s0
  392. /dev/block/bootdevice/by-name/ssd u:object_r:ssd_device:s0
  393. /dev/block/bootdevice/by-name/misc u:object_r:misc_partition:s0
  394. #/dev/block/mmcblk0p13 u:object_r:bootselect_device:s0
  395. #/dev/block/zram0 u:object_r:swap_block_device:s0
  396. /dev/block/bootdevice/by-name/dip u:object_r:dip_device:s0
  397. /dev/block/bootdevice/by-name/mdtp u:object_r:mdtp_device:s0
  398. ###################################
  399. # Dev socket nodes
  400. #
  401. /dev/socket/qmux_audio(/.*)? u:object_r:qmuxd_socket:s0
  402. /dev/socket/qmux_bluetooth(/.*)? u:object_r:qmuxd_socket:s0
  403. /dev/socket/qmux_gps(/.*)? u:object_r:qmuxd_socket:s0
  404. /dev/socket/qmux_radio(/.*)? u:object_r:qmuxd_socket:s0
  405. /dev/socket/qmux_nfc(/.*)? u:object_r:qmuxd_socket:s0
  406. /dev/socket/netmgr(/.*)? u:object_r:netmgrd_socket:s0
  407. /dev/socket/sensor_ctl_socket u:object_r:sensors_socket:s0
  408. /dev/socket/cnd u:object_r:cnd_socket:s0
  409. /dev/socket/nims u:object_r:cnd_socket:s0
  410. /dev/socket/thermal-send-client u:object_r:thermal_socket:s0
  411. /dev/socket/thermal-recv-client u:object_r:thermal_socket:s0
  412. /dev/socket/thermal-recv-passive-client u:object_r:thermal_socket:s0
  413. /dev/socket/ims_qmid u:object_r:ims_socket:s0
  414. /dev/socket/ims_datad u:object_r:ims_socket:s0
  415. /dev/socket/ims_rtpd u:object_r:ims_socket:s0
  416. /dev/socket/perfd(/.*)? u:object_r:mpctl_socket:s0
  417. /dev/socket/qlogd u:object_r:qlogd_socket:s0
  418. /dev/socket/ipacm_log_file u:object_r:ipacm_socket:s0
  419. /dev/socket/dpmd u:object_r:dpmd_socket:s0
  420. /dev/socket/dpmwrapper u:object_r:dpmwrapper_socket:s0
  421. /dev/socket/pps u:object_r:pps_socket:s0
  422. /dev/socket/rild2 u:object_r:rild_socket:s0
  423. /dev/socket/rild2-debug u:object_r:rild_debug_socket:s0
  424. /dev/socket/rild-debug2 u:object_r:rild_debug_socket:s0
  425. /dev/socket/rild3 u:object_r:rild_socket:s0
  426. /dev/socket/rild3-debug u:object_r:rild_debug_socket:s0
  427. /dev/socket/rild-debug3 u:object_r:rild_debug_socket:s0
  428. /dev/socket/msm_irqbalance u:object_r:msm_irqbalance_socket:s0
  429. /dev/socket/seempdw u:object_r:seempdw_socket:s0
  430. ###################################
  431. # System files
  432. #
  433. /system/bin/ATFWD-daemon u:object_r:atfwd_exec:s0
  434. /system/bin/PktRspTest u:object_r:diag_exec:s0
  435. /system/bin/audiod u:object_r:audiod_exec:s0
  436. /system/bin/charger_monitor u:object_r:charger_monitor_exec:s0
  437. /system/bin/hvdcp_opti u:object_r:hvdcp_exec:s0
  438. /system/bin/cnd u:object_r:cnd_exec:s0
  439. /system/bin/diag_callback_client u:object_r:diag_exec:s0
  440. /system/bin/diag_dci_sample u:object_r:diag_exec:s0
  441. /system/bin/diag_klog u:object_r:diag_exec:s0
  442. /system/bin/diag_mdlog u:object_r:qlogd_exec:s0
  443. /system/bin/diag_qshrink4_daemon u:object_r:diag_exec:s0
  444. /system/bin/diag_socket_log u:object_r:diag_exec:s0
  445. /system/bin/diag_uart_log u:object_r:diag_exec:s0
  446. /system/bin/diag_buffering_test u:object_r:diag_exec:s0
  447. /system/bin/drmdiagapp u:object_r:diag_exec:s0
  448. /system/bin/irsc_util u:object_r:irsc_util_exec:s0
  449. /system/vendor/bin/mm-pp-daemon u:object_r:mm-pp-daemon_exec:s0
  450. /system/vendor/bin/mm-pp-dpps u:object_r:mm-pp-daemon_exec:s0
  451. /system/bin/mm-pp-daemon u:object_r:mm-pp-daemon_exec:s0
  452. /system/bin/mm-pp-dpps u:object_r:mm-pp-daemon_exec:s0
  453. /system/bin/mmi u:object_r:mmi_exec:s0
  454. /system/bin/mpdecision u:object_r:mpdecision_exec:s0
  455. /system/vendor/bin/perfd u:object_r:perfd_exec:s0
  456. /system/bin/iop u:object_r:dumpstate_exec:s0
  457. /system/bin/msm_irqbalance u:object_r:msm_irqbalanced_exec:s0
  458. /system/bin/imsdatadaemon u:object_r:ims_exec:s0
  459. /system/bin/imsqmidaemon u:object_r:ims_exec:s0
  460. /system/bin/ims_rtp_daemon u:object_r:ims_exec:s0
  461. /system/bin/imscmservice u:object_r:imscm_exec:s0
  462. /system/bin/netmgrd u:object_r:netmgrd_exec:s0
  463. /system/bin/qmuxd u:object_r:qmuxd_exec:s0
  464. /system/bin/port-bridge u:object_r:port-bridge_exec:s0
  465. /system/bin/sensors.qcom u:object_r:sensors_exec:s0
  466. /system/bin/test_diag u:object_r:diag_exec:s0
  467. /system/vendor/bin/thermal-engine u:object_r:thermal-engine_exec:s0
  468. /system/bin/vm_bms u:object_r:vm_bms_exec:s0
  469. /system/bin/mm-qcamera-daemon u:object_r:mm-qcamerad_exec:s0
  470. /system/bin/qfp-daemon u:object_r:qfp-daemon_exec:s0
  471. /system/rfs.* u:object_r:rfs_system_file:s0
  472. /system/bin/time_daemon u:object_r:time_daemon_exec:s0
  473. /system/bin/rmt_storage u:object_r:rmt_storage_exec:s0
  474. /system/bin/rfs_access u:object_r:rfs_access_exec:s0
  475. /system/bin/tftp_server u:object_r:rfs_access_exec:s0
  476. /system/bin/hvdcp u:object_r:hvdcp_exec:s0
  477. /system/bin/qseecomd u:object_r:tee_exec:s0
  478. /system/bin/hostapd_cli u:object_r:hostapd_exec:s0
  479. /system/bin/adsprpcd u:object_r:adsprpcd_exec:s0
  480. /system/bin/wpa_cli u:object_r:wcnss_service_exec:s0
  481. /system/bin/cnss-daemon u:object_r:wcnss_service_exec:s0
  482. /system/bin/mdm_helper u:object_r:mdm_helper_exec:s0
  483. /system/bin/mdm_helper_proxy u:object_r:mdm_helper_exec:s0
  484. /system/bin/ks u:object_r:mdm_helper_exec:s0
  485. /system/bin/pm-service u:object_r:per_mgr_exec:s0
  486. /system/bin/pm-proxy u:object_r:per_mgr_exec:s0
  487. /system/vendor/bin/pd-mapper u:object_r:pd_mapper_exec:s0
  488. /system/vendor/bin/pd-api-test u:object_r:pd_mapper_exec:s0
  489. /system/bin/usb_uicc_client u:object_r:usb_uicc_daemon_exec:s0
  490. /system/bin/qcom-system-daemon u:object_r:qcomsysd_exec:s0
  491. /system/xbin/qlogd u:object_r:qlogd_exec:s0
  492. /system/bin/ipacm u:object_r:ipacm_exec:s0
  493. /system/bin/ipacm-diag u:object_r:ipacm-diag_exec:s0
  494. /system/bin/dpmd u:object_r:dpmd_exec:s0
  495. /system/bin/ssr_setup u:object_r:ssr_setup_exec:s0
  496. /system/bin/subsystem_ramdump u:object_r:subsystem_ramdump_exec:s0
  497. /system/bin/ssr_diag u:object_r:ssr_diag_exec:s0
  498. /system/bin/loc_launcher u:object_r:location_exec:s0
  499. /system/bin/quipc_main u:object_r:location_exec:s0
  500. /system/bin/ipepb u:object_r:location_exec:s0
  501. /system/bin/quipc_igsn u:object_r:location_exec:s0
  502. /system/bin/lowi-server u:object_r:location_exec:s0
  503. /system/bin/location-mq u:object_r:location_exec:s0
  504. /system/bin/xtwifi-inet-agent u:object_r:location_exec:s0
  505. /system/bin/xtwifi-client u:object_r:location_exec:s0
  506. /system/bin/garden_app u:object_r:location_exec:s0
  507. /system/bin/gpsone_daemon u:object_r:location_exec:s0
  508. /system/vendor/bin/slim_daemon u:object_r:location_exec:s0
  509. # SEC removed : /system/bin/energy-awareness u:object_r:energyawareness_exec:s0
  510. /system/vendor/bin/fidodaemon u:object_r:fidodaemon_exec:s0
  511. /system/bin/secotad u:object_r:secotad_exec:s0
  512. /system/vendor/bin/qseeproxydaemon u:object_r:qseeproxy_exec:s0
  513. /system/bin/dts_configurator u:object_r:dtsconfigurator_exec:s0
  514. /system/bin/dts_eagle_service u:object_r:dtseagleservice_exec:s0
  515. /system/vendor/bin/qti u:object_r:qti_exec:s0
  516. /system/bin/wcnss_service u:object_r:wcnss_service_exec:s0
  517. # SEC added : wcnss_filter
  518. /system/bin/wcnss_filter u:object_r:wcnss_service_exec:s0
  519. /system/vendor/bin/hbtp_daemon u:object_r:hbtp_exec:s0
  520. /system/vendor/bin/seemp_healthd u:object_r:seemp_health_daemon_exec:s0
  521. # SEC added : cld-fwlog-netlink
  522. /system/bin/cld-fwlog-netlink u:object_r:wcnss_service_exec:s0
  523. /system/bin/seempd u:object_r:seempd_exec:s0
  524. /system/bin/sapd u:object_r:sapd_exec:s0
  525. /system/bin/btnvtool u:object_r:btnvtool_exec:s0
  526. /system/bin/btsnoop u:object_r:btsnoop_exec:s0
  527. /system/bin/dun-server u:object_r:dun-server_exec:s0
  528. /system/bin/wfdservice u:object_r:wfdservice_exec:s0
  529. # SEC removed : /system/bin/wcnss_filter u:object_r:wcnss_filter_exec:s0
  530. /system/bin/usf_epos u:object_r:usf_exec:s0
  531. /system/bin/usf_gesture u:object_r:usf_exec:s0
  532. /system/bin/usf_hovering u:object_r:usf_exec:s0
  533. /system/bin/usf_p2p u:object_r:usf_exec:s0
  534. /system/bin/usf_proximity u:object_r:usf_exec:s0
  535. /system/bin/usf_sync_gesture u:object_r:usf_exec:s0
  536. /system/bin/usf_sw_calib u:object_r:usf_exec:s0
  537. /system/bin/usf_pairing u:object_r:usf_exec:s0
  538. /system/bin/usf_tester u:object_r:usf_exec:s0
  539. /system/vendor/bin/RIDLClient.exe u:object_r:RIDL_exec:s0
  540. /system/bin/tbaseLoader u:object_r:tbaseLoader_exec:s0
  541. /system/bin/mcStarter u:object_r:mcStarter_exec:s0
  542. /system/bin/fstman u:object_r:fstman_exec:s0
  543. /system/vendor/bin/mdtp_service u:object_r:mdtpdaemon_exec:s0
  544. /system/bin/tloc_daemon u:object_r:tlocd_exec:s0
  545. ###################################
  546. # sysfs files
  547. #
  548. # SEC Remove dup contexts, /sys/class/graphics/fb0/mdp/caps u:object_r:sysfs_graphics:s0
  549. /sys/class/thermal(/.*)? u:object_r:sysfs_thermal:s0
  550. #/sys/devices/[^/]+bcl[^/]+(/.*)? u:object_r:sysfs_thermal:s0
  551. # this code increase the booting time. so SEC changes from [^/]+bcl[^/]+(/.*)? to qcom,bcl.*(/.*)?
  552. /sys/devices/qcom,bcl.*(/.*)? u:object_r:sysfs_thermal:s0
  553. /sys/devices/f9200000.*/power_supply/usb(/.*)? u:object_r:sysfs_usb_supply:s0
  554. /sys/devices/msm_dwc3/power_supply/usb(/.*)? u:object_r:sysfs_usb_supply:s0
  555. /sys/devices/msm_otg/power_supply/usb(/.*)? u:object_r:sysfs_usb_supply:s0
  556. /sys/devices/platform/battery_current_limit u:object_r:sysfs_thermal:s0
  557. /sys/devices/qpnp-charger.*/power_supply/battery(/.*)? u:object_r:sysfs_battery_supply:s0
  558. /sys/devices/system/cpu/cpu0/rq-stats/* u:object_r:sysfs_rqstats:s0
  559. # SEC Remove because of restorecon_recursive_symlink /sys/devices/virtual/graphics/fb([0-2])+/idle_time u:object_r:sysfs_graphics:s0
  560. # SEC Remove because of restorecon_recursive_symlink /sys/devices/virtual/graphics/fb([0-2])+/dynamic_fps u:object_r:sysfs_graphics:s0
  561. # SEC Remove because of restorecon_recursive_symlink /sys/devices/virtual/graphics/fb([0-2])+/product_description u:object_r:sysfs_graphics:s0
  562. # SEC Remove because of restorecon_recursive_symlink /sys/devices/virtual/graphics/fb([0-2])+/vendor_name u:object_r:sysfs_graphics:s0
  563. # SEC Remove because of restorecon_recursive_symlink /sys/devices/virtual/graphics/fb([0-2])+/hdcp/tp u:object_r:sysfs_graphics:s0
  564. /sys/devices/virtual/hsicctl/hsicctl1[0-9]/modem_wait u:object_r:sysfs_hsic_modem_wait:s0
  565. /sys/devices/virtual/hsicctl/hsicctl[0-9]/modem_wait u:object_r:sysfs_hsic_modem_wait:s0
  566. /sys/devices/virtual/smdpkt/smdcntl1[0-9]/open_timeout u:object_r:sysfs_smd_open_timeout:s0
  567. /sys/devices/virtual/smdpkt/smdcntl[0-9]/open_timeout u:object_r:sysfs_smd_open_timeout:s0
  568. # SEC Remove because of restorecon_recursive_symlink /sys/devices/virtual/thermal(/.*)? u:object_r:sysfs_thermal:s0
  569. /sys/module/msm_serial_hs/parameters/debug_mask u:object_r:sysfs_msmuart_file:s0
  570. /sys/module/msm_thermal(/.*)? u:object_r:sysfs_thermal:s0
  571. /sys/module/msm_thermal/core_control/cpus_offlined u:object_r:sysfs_mpdecision:s0
  572. /sys/devices/f9a55000.*/power_supply/usb(/.*)? u:object_r:sysfs_usb_supply:s0
  573. # SEC Remove because of restorecon_recursive_symlink /sys/devices/virtual/graphics/fb([0-2])+/hpd u:object_r:sysfs_graphics:s0
  574. # SEC Remove because of restorecon_recursive_symlink /sys/devices/virtual/graphics/fb([0-2])+/res_info u:object_r:sysfs_graphics:s0
  575. # SEC Remove because of restorecon_recursive_symlink /sys/devices/virtual/graphics/fb([0-2])+/s3d_mode u:object_r:sysfs_graphics:s0
  576. # SEC Remove because of restorecon_recursive_symlink /sys/class/graphics/fb([0-2])+/mdp/caps u:object_r:sysfs_graphics:s0
  577. # SEC Remove because of restorecon_recursive_symlink /sys/class/graphics/fb([0-2])+/ad u:object_r:sysfs_graphics:s0
  578. /sys/bus/platform/drivers/xhci_msm_hsic(/.*)? u:object_r:sysfs_hsic:s0
  579. /sys/devices/msm_hsic_host/host_ready u:object_r:sysfs_hsic_host_rdy:s0
  580. /sys/bus/esoc(/.*)? u:object_r:sysfs_esoc:s0
  581. /sys/bus/msm_subsys(/.*)? u:object_r:sysfs_ssr:s0
  582. /sys/module/ccid_bridge(/.*)? u:object_r:sysfs_usb_uicc:s0
  583. /sys/bus/msm_subsys/devices/subsys0/restart_level u:object_r:sysfs_ssr_toggle:s0
  584. /sys/bus/msm_subsys/devices/subsys1/restart_level u:object_r:sysfs_ssr_toggle:s0
  585. /sys/bus/msm_subsys/devices/subsys2/restart_level u:object_r:sysfs_ssr_toggle:s0
  586. /sys/bus/msm_subsys/devices/subsys3/restart_level u:object_r:sysfs_ssr_toggle:s0
  587. /sys/bus/msm_subsys/devices/subsys4/restart_level u:object_r:sysfs_ssr_toggle:s0
  588. /sys/devices/soc0/.* u:object_r:sysfs_socinfo:s0
  589. ###################################
  590. # data files
  591. #
  592. /data/connectivity(/.*)? u:object_r:cnd_data_file:s0
  593. /data/data_test(/.*)? u:object_r:data_test_data_file:s0
  594. /data/diag_log(/.*)? u:object_r:diag_data_file:s0
  595. /data/misc/qvop(/.*)? u:object_r:qvop_data_file:s0
  596. /data/misc/sensors(/.*)? u:object_r:sensors_data_file:s0
  597. /data/rfs.* u:object_r:rfs_data_file:s0
  598. /data/hlos_rfs(/.*)? u:object_r:rfs_shared_hlos_file:s0
  599. /data/camera(/.*)? u:object_r:camera_data_file:s0
  600. /data/misc/stargate(/.*)? u:object_r:qfp-daemon_data_file:s0
  601. /data/system/sensors(/.*)? u:object_r:sensors_data_file:s0
  602. # SEC removed : /data/time/* u:object_r:time_data_file:s0
  603. /data/nfc(/.*)? u:object_r:nfc_data_file:s0
  604. /data/system/perfd(/.*)? u:object_r:mpctl_data_file:s0
  605. /data/misc/perfd(/.*)? u:object_r:mpctl_socket:s0
  606. /data/misc/iop(/.*)? u:object_r:iop_data_file:s0
  607. /data/misc/iop/iop u:object_r:iop_socket:s0
  608. # SEC added: typealias display_config
  609. /data/misc/display(/.*)? u:object_r:display_misc_file:s0
  610. /data/misc/ipa(/.*)? u:object_r:ipacm_data_file:s0
  611. /data/dpm(/.*)? u:object_r:dpmd_data_file:s0
  612. /data/misc/qsee(/.*)? u:object_r:data_qsee_file:s0
  613. /data/misc/location(/.*)? u:object_r:location_data_file:s0
  614. /data/misc/location/mq/location-mq-s u:object_r:location_socket:s0
  615. /data/misc/location/mq/alarm_svc u:object_r:location_socket:s0
  616. /data/FTM_AP(/.*)? u:object_r:mmi_data_file:s0
  617. /data/misc/hbtp(/.*)? u:object_r:hbtp_log_file:s0
  618. /data/misc/qlogd(/.*)? u:object_r:qlogd_data_file:s0
  619. /data/usf(/.*)? u:object_r:usf_data_file:s0
  620. /data/misc/dts(/.*)? u:object_r:dts_data_file:s0
  621. /data/misc/seemp(/.*)? u:object_r:seemp_file:s0
  622. /data/misc/SelfHost(/.*)? u:object_r:RIDL_data_file:s0
  623. # SEC added /data/misc/radio(/.*)? u:object_r:radio_data_file:s0
  624. /data/misc/port_bridge(/.*)? u:object_r:port_bridge_data_file:s0
  625. /data/misc/fm(/.*)? u:object_r:fm_data_file:s0
  626. /data/misc/audio_pp(/.*)? u:object_r:audio_pp_data_file:s0
  627. /data/ramdump(/.*)? u:object_r:ssr_ramdump_data_file:s0
  628. /data/misc/SelfHost/socket(/.*)? u:object_r:RIDL_socket:s0
  629. /data/misc/tloc(/.*)? u:object_r:tlocd_data_file:s0
  630. ###################################
  631. # persist files
  632. #
  633. #/persist(/.*)? u:object_r:persist_file:s0
  634. /persist/bluetooth(/.*)? u:object_r:persist_bluetooth_file:s0
  635. /persist/drm(/.*)? u:object_r:persist_drm_file:s0
  636. /persist/sensors(/.*)? u:object_r:sensors_persist_file:s0
  637. /persist/data(/.*)? u:object_r:persist_drm_file:s0
  638. /persist/data/tz(/.*)? u:object_r:persist_drm_file:s0
  639. /persist/data/sfs(/.*)? u:object_r:persist_drm_file:s0
  640. /persist/usf(/.*)? u:object_r:persist_usf_file:s0
  641. /persist/hlos_rfs(/.*)? u:object_r:rfs_shared_hlos_file:s0
  642. /persist/display(/.*)? u:object_r:persist_display_file:s0
  643. /persist/rfs.* u:object_r:rfs_data_file:s0
  644. ###################################
  645. # etc files
  646. #
  647. /etc/firmware/hbtp/* u:object_r:hbtp_cfg_file:s0
  648. ###################################
  649. # adsp files
  650. #
  651. /dsp(/.*)? u:object_r:adsprpcd_file:s0
  652. ###################################
  653. # cache files
  654. #
  655. /cache/FTM_AP(/.*)? u:object_r:mmi_data_file:s0
  656. #line 1 "vendor/samsung/common/sepolicy/BSP/bsp_qcom_v2/qcom_common/file_contexts"
  657. #############################
  658. # addional label of bsp_qcom_v1
  659. #
  660. /system/bin/cnss_diag u:object_r:wcnss_service_exec:s0
  661. /dev/block/platform/msm_sdcc\.1/by-name/modemst[1-2]* u:object_r:modemstblk_device:s0
  662. /dev/block/platform/msm_sdcc\.1/by-name/ssd u:object_r:ssdblk_device:s0
  663. /dev/efs_bridge u:object_r:efsbridgehsic_device:s0
  664. /dev/ks_bridge u:object_r:ksbridgehsic_device:s0
  665. /dev/rmnet_mux_ctrl u:object_r:rmnet_device:s0
  666. /dev/ttyHSL[0-9]* u:object_r:serial_device:s0
  667. #line 1 "vendor/samsung/common/sepolicy/BSP/bsp_marvell/file_contexts"
  668. # relabel to debug_device
  669. # nvm
  670. /NVM(/.*)? u:object_r:nvm_data_file:s0
  671. /teesst(/.*)? u:object_r:teesst_data_file:s0
  672. # dev
  673. /dev/media[0-9]+ u:object_r:mediaserver_device:s0
  674. /dev/v4l-subdev[0-9]+ u:object_r:mediaserver_device:s0
  675. /dev/cpmem u:object_r:marvelltel_device:s0
  676. #SEC changed : /dev/alarm-poweroff u:object_r:system_app_device:s0
  677. /dev/alarm-poweroff u:object_r:alarm_device:s0
  678. /dev/msocket u:object_r:nvm_device:s0
  679. /dev/ccidatastub u:object_r:atcmdsrv_device:s0
  680. /dev/cctdev[0-9]+ u:object_r:atcmdsrv_device:s0
  681. /dev/ttydiag[0-9]+ u:object_r:diag_device:s0
  682. /dev/cmsockdev[0-9]+ u:object_r:diag_device:s0
  683. /dev/seh u:object_r:eeh_device:s0
  684. /dev/citty[0-9]+ u:object_r:pppmodem_device:s0
  685. /dev/ppprd u:object_r:pppmodem_device:s0
  686. #SEC removed : /dev/ttyGS[0-9]+ u:object_r:pppmodem_device:s0
  687. #SEC removed : /dev/tzdd u:object_r:teecsstdca_device:s0
  688. /dev/mbtchar[0-9]+ u:object_r:bluetooth_device:s0
  689. /dev/mnfcchar[0-9]+ u:object_r:nfc_device:s0
  690. /dev/i2c-[0-9]+ u:object_r:i2c_device:s0
  691. /dev/rfkill u:object_r:wpa_device:s0
  692. /dev/mfmchar[0-9]+ u:object_r:mwireless_device:s0
  693. /dev/geu u:object_r:geu_device:s0
  694. /dev/mxc400x u:object_r:memsic_device:s0
  695. /dev/mmc3524x u:object_r:memsic_device:s0
  696. /dev/ptacc_ctrl u:object_r:memsic_device:s0
  697. /dev/ecompass_ctrl u:object_r:memsic_device:s0
  698. /dev/amipc u:object_r:ipc_device:s0
  699. /dev/acipc u:object_r:ipc_device:s0
  700. /dev/crmdev[0-9]+ u:object_r:gps_device:s0
  701. /dev/vpu_devfreq_max u:object_r:vpu_device:s0
  702. /dev/vpu_devfreq_min u:object_r:vpu_device:s0
  703. /dev/ttymodem[0-9]+ u:object_r:pppmodem_device:s0
  704. /dev/axi_min u:object_r:infor_device:s0
  705. /dev/cci_min u:object_r:infor_device:s0
  706. /dev/cctdatadev[0-9]+ u:object_r:infor_device:s0
  707. /dev/cidatatty[0-9]+ u:object_r:infor_device:s0
  708. /dev/clst_vl_min u:object_r:infor_device:s0
  709. #SEC removed : /dev/cpu_dma_latency u:object_r:infor_device:s0
  710. /dev/cpu_freq_b_max u:object_r:cpuctl_device:s0
  711. /dev/cpu_freq_b_min u:object_r:cpuctl_device:s0
  712. /dev/cpu_freq_l_max u:object_r:cpuctl_device:s0
  713. /dev/cpu_freq_l_min u:object_r:cpuctl_device:s0
  714. /dev/cpu_freq_max u:object_r:cpuctl_device:s0
  715. /dev/cpu_freq_min u:object_r:cpuctl_device:s0
  716. /dev/cpu_num_max u:object_r:cpuctl_device:s0
  717. /dev/cpu_num_min u:object_r:cpuctl_device:s0
  718. /dev/cpuidle_block u:object_r:cpuctl_device:s0
  719. /dev/cuse u:object_r:infor_device:s0
  720. /dev/ddr_devfreq_max u:object_r:infor_device:s0
  721. /dev/ddr_devfreq_min u:object_r:infor_device:s0
  722. /dev/diag_dump u:object_r:diag_device:s0
  723. /dev/gpu_freq_2d_max u:object_r:mrvlgpu_device:s0
  724. /dev/gpu_freq_2d_min u:object_r:mrvlgpu_device:s0
  725. /dev/gpu_freq_3d_max u:object_r:mrvlgpu_device:s0
  726. /dev/gpu_freq_3d_min u:object_r:mrvlgpu_device:s0
  727. /dev/gpu_freq_sh_max u:object_r:mrvlgpu_device:s0
  728. /dev/gpu_freq_sh_min u:object_r:mrvlgpu_device:s0
  729. /dev/hwmap u:object_r:infor_device:s0
  730. /dev/mldev0 u:object_r:infor_device:s0
  731. #SEC removed :/dev/keychord u:object_r:infor_device:s0
  732. /dev/msocket_dump u:object_r:nvm_device:s0
  733. /dev/loop-control u:object_r:infor_device:s0
  734. #SEC removed :/dev/network_latency u:object_r:infor_device:s0
  735. #SEC removed :/dev/network_throughput u:object_r:infor_device:s0
  736. #SEC removed :/dev/psaux u:object_r:infor_device:s0
  737. /dev/ramfile u:object_r:infor_device:s0
  738. #SEC removed :/dev/rtc0 u:object_r:infor_device:s0
  739. #SEC removed :/dev/rtc1 u:object_r:infor_device:s0
  740. /dev/simple_dip u:object_r:infor_device:s0
  741. #SEC removed :/dev/sw_sync u:object_r:infor_device:s0
  742. /dev/imldev[0-9]+ u:object_r:infor_device:s0
  743. /dev/umts_boot[0-9]+ u:object_r:ssipc_device:s0
  744. /dev/umts_ipc[0-9]+ u:object_r:ssipc_device:s0
  745. /dev/umts_attest[0-9]+ u:object_r:ssipc_device:s0
  746. /dev/umts_atdun[0-9]+ u:object_r:ssipc_device:s0
  747. /dev/umts_atprod[0-9]+ u:object_r:ssipc_device:s0
  748. /dev/umts_atsimal[0-9]+ u:object_r:ssipc_device:s0
  749. /dev/umts_atsol[0-9]+ u:object_r:ssipc_device:s0
  750. /dev/umts_atunsol[0-9]+ u:object_r:ssipc_device:s0
  751. /dev/umts_at[0-9]+ u:object_r:ssipc_device:s0
  752. /dev/umts_atgps[0-9]+ u:object_r:ssipc_device:s0
  753. /dev/umts_at[0-9]+_[0-9]+ u:object_r:ssipc_device:s0
  754. # define marvell special gpu label
  755. /dev/galcore u:object_r:mrvlgpu_device:s0
  756. /dev/graphics/galcore u:object_r:mrvlgpu_device:s0
  757. # block dev
  758. #SEC removed : /dev/block/mmcblk0 u:object_r:cploader_block_device:s0
  759. #SEC removed : /dev/block/mmcblk0p1 u:object_r:mrd_block_device:s0
  760. #SEC removed : /dev/block/mmcblk0p2 u:object_r:mrd1_block_device:s0
  761. #SEC removed : /dev/block/mmcblk0p3 u:object_r:mep2_block_device:s0
  762. #SEC removed : /dev/block/mmcblk0p4 u:object_r:dtim_block_device:s0
  763. # pxa1908 and pxa1936 special
  764. # it seperates the bootloader from one to
  765. # rbootloader and pbootloader
  766. #SEC removed : /dev/block/mmcblk0p5 u:object_r:bootloader_block_device:s0
  767. #SEC removed : /dev/block/mmcblk0p6 u:object_r:recovery_block_device:s0
  768. #SEC removed : /dev/block/mmcblk0p7 u:object_r:bootloader_block_device:s0
  769. #SEC removed : /dev/block/mmcblk0p8 u:object_r:boot_block_device:s0
  770. #SEC removed : /dev/block/mmcblk0p9 u:object_r:system_block_device:s0
  771. #SEC removed : /dev/block/mmcblk0p10 u:object_r:misc_block_device:s0
  772. #SEC removed : /dev/block/mmcblk0p11 u:object_r:radio_block_device:s0
  773. #SEC removed : /dev/block/mmcblk0p12 u:object_r:nvm_block_device:s0
  774. #SEC removed : /dev/block/mmcblk0p13 u:object_r:security_block_device:s0
  775. #SEC removed : /dev/block/mmcblk0p14 u:object_r:cache_block_device:s0
  776. #SEC removed : /dev/block/mmcblk0p15 u:object_r:userdata_block_device:s0
  777. # boot device
  778. #SEC removed : /dev/block/mmcblk0boot[0-9]+ u:object_r:boot_block_device:s0
  779. # socket
  780. /dev/socket/rild[0-9]+ u:object_r:rild_socket:s0
  781. /dev/socket/atcmdni[0-9]+ u:object_r:rild_socket:s0
  782. /dev/socket/atil[0-9]* u:object_r:rild_socket:s0
  783. #SEC removed : /dev/socket/imsd u:object_r:imsd_socket:s0
  784. /dev/socket/embmsd u:object_r:embmsd_socket:s0
  785. #SEC removed : conflict, /dev/socket/rild-debug[0-9]+ u:object_r:rild_debug_socket:s0
  786. # system/bin
  787. /system/bin/nvm u:object_r:nvm_exec:s0
  788. /system/bin/setup_fs u:object_r:setup_fs_exec:s0
  789. /system/bin/pppmodem u:object_r:pppmodem_exec:s0
  790. /system/bin/eeh u:object_r:eeh_exec:s0
  791. /system/bin/diag u:object_r:diag_exec:s0
  792. /system/bin/atcmdsrv u:object_r:atcmdsrv_exec:s0
  793. # Attention: these cases have different name between
  794. # exec file name and process name. the name is from
  795. # init.pxa1xxx.tel.rc, init.pxa1xxx.rc, init_bsp.pxa1xxx.tel.rc
  796. /system/bin/tel_launch\.sh u:object_r:marvelltel_exec:s0
  797. /system/bin/tel_launch_no_gui\.sh u:object_r:marvelltel_exec:s0
  798. /system/bin/FMRadioServer u:object_r:FMRadiod_exec:s0
  799. /system/bin/MarvellWirelessDaemon u:object_r:mwirelessd_exec:s0
  800. /system/bin/IMLLog u:object_r:iml_exec:s0
  801. /system/bin/log_on_boot\.sh u:object_r:log_on_boot_exec:s0
  802. #SEC removed : conflict /system/bin/imsd u:object_r:imsc_exec:s0
  803. /system/bin/MarvellNfcExtensionsDaemon u:object_r:mned_exec:s0
  804. /system/bin/update_touch_fw\.sh u:object_r:touch_updater_exec:s0
  805. /system/bin/phservice u:object_r:phservice_exec:s0
  806. /system/bin/kmsg\.sh u:object_r:kmsg_exec:s0
  807. /system/bin/root_detect u:object_r:root_detect_exec:s0
  808. /system/bin/load_calibration_data\.sh u:object_r:load_g_cali_data_exec:s0
  809. /system/bin/memsicd u:object_r:memsicd_exec:s0
  810. /system/bin/memsicp u:object_r:memsicp_exec:s0
  811. /system/bin/codecIPC_server u:object_r:codecIPC_server_exec:s0
  812. /system/bin/mrvl_gpsd u:object_r:mrvl_gpsd_exec:s0
  813. /system/bin/core-compressor u:object_r:core_compressor_exec:s0
  814. /system/bin/at_router u:object_r:at_router_exec:s0
  815. /system/bin/env\.sh u:object_r:env_exec:s0
  816. # nfc data
  817. #SEC removed: conflict, /data/nfc(/.*)? u:object_r:nfc_data_file:s0
  818. /data/misc/wireless(/.*)? u:object_r:wireless_data_file:s0
  819. #SEC removed: conflict, /data/log(/.*)? u:object_r:dump_log_data_file:s0
  820. /data/mrvl_tel_diag\.cfg u:object_r:tel_data_file:s0
  821. /data/mrvl_tel_iml\.cfg u:object_r:tel_data_file:s0
  822. # for tz
  823. /system/bin/teec_sstd_ca u:object_r:teecsstdca_exec:s0
  824. # for hawk
  825. /system/bin/run_hawk_on_boot\.sh u:object_r:run_hawk_on_boot_exec:s0
  826. /system/bin/hawk u:object_r:hawk_exec:s0
  827. #line 1 "vendor/samsung/common/sepolicy/BSP/bsp_sprd/file_contexts"
  828. #############################
  829. # productinfo files
  830. #
  831. /productinfo(/.*)? u:object_r:prod_file:s0
  832. #SEC remove: /dev/mali0 u:object_r:gpu_device:s0
  833. /dev/spipe_lte1 u:object_r:spipe_device:s0
  834. /dev/spipe_w4 u:object_r:audio_device:s0
  835. /dev/spipe_w6 u:object_r:audio_device:s0
  836. /dev/spipe_lte8 u:object_r:refnotify_device:s0
  837. #SEC remove: /dev/rtc0 u:object_r:refnotify_device:s0
  838. /dev/spipe_w14 u:object_r:audio_device:s0
  839. /dev/spipe_w8 u:object_r:refnotify_device:s0
  840. /dev/sprd_gsp u:object_r:graphics_device:s0
  841. /dev/lis3dh_acc u:object_r:sensors_device:s0
  842. /dev/ltr_558als u:object_r:sensors_device:s0
  843. /dev/sprd_sensor u:object_r:sensors_device:s0
  844. /dev/sprd_rotation u:object_r:sensors_device:s0
  845. /dev/sprd_isp u:object_r:camera_device:s0
  846. /dev/sprd_scale u:object_r:camera_device:s0
  847. /dev/sprd_image u:object_r:camera_device:s0
  848. /dev/ttyV1 u:object_r:gps_device:s0
  849. /dev/sprd_vsp u:object_r:video_device:s0
  850. /dev/sprd_coda7l u:object_r:video_device:s0
  851. /dev/sprd_vpp u:object_r:video_device:s0
  852. /dev/sprd_jpg u:object_r:graphics_device:s0
  853. /dev/sdiag_lte u:object_r:slog_device:s0
  854. /dev/slog_lte u:object_r:slog_device:s0
  855. #SEC remove: /dev/ttyGS[0-9] u:object_r:serial_device:s0
  856. /dev/stty_w0 u:object_r:tty_device:s0
  857. /dev/stty_w[0-9]* u:object_r:radio_device:s0
  858. /dev/vser u:object_r:serial_device:s0
  859. /dev/sttybt0 u:object_r:hci_attach_dev:s0
  860. #SEC remove: /dev/socket/rild2 u:object_r:rild_socket:s0
  861. #SEC remove: /dev/socket/rild3 u:object_r:rild_socket:s0
  862. /dev/socket/srtserver u:object_r:srt_socket:s0
  863. /dev/stty_w12 u:object_r:tty_device:s0
  864. /dev/stty_lte12 u:object_r:tty_device:s0
  865. /dev/stty_td12 u:object_r:tty_device:s0
  866. /dev/stty_lte31 u:object_r:tty_device:s0
  867. /dev/stty_lte[0-9] u:object_r:radio_device:s0
  868. /dev/stty_lte10 u:object_r:radio_device:s0
  869. /dev/stty_lte11 u:object_r:tty_device:s0
  870. /dev/Trout_FM u:object_r:audio_device:s0
  871. #SEC removed: /dev/pipe u:object_r:audio_device:s0
  872. /dev/sprd_efuse_otp u:object_r:efuse_device:s0
  873. #SEC remove: /dev/block/mmcblk0p2 u:object_r:mmcblk_device:s0
  874. #SEC remove: /dev/block/mmcblk0p3 u:object_r:mmcblk_device:s0
  875. #SEC remove: /dev/block/mmcblk0p4 u:object_r:mmcblk_device:s0
  876. #SEC remove: /dev/block/mmcblk0boot0 u:object_r:mmcblk_device:s0
  877. /dev/sprd_bm u:object_r:bm_device:s0
  878. /dev/slog_w u:object_r:slog_device:s0
  879. /dev/sdiag_w u:object_r:slog_device:s0
  880. /dev/slog_wcn u:object_r:slog_device:s0
  881. #SEC remove: /dev/block/mmcblk0p[3-6] u:object_r:nv_mmcblk_device:s0
  882. /dev/spipe_w[0-9] u:object_r:spipe_device:s0
  883. /dev/spipe_wcn[0-9]* u:object_r:spipe_device:s0
  884. /dev/spipe_lte2 u:object_r:spipe_device:s0
  885. /dev/spipe_lte9 u:object_r:spipe_device:s0
  886. /dev/spipe_lte10 u:object_r:spipe_device:s0
  887. #############################
  888. # System files
  889. #
  890. /system/bin/mplayer u:object_r:mediaserver_exec:s0
  891. /system/bin/engpc u:object_r:engpc_exec:s0
  892. /system/xbin/zram.sh u:object_r:zram_exec:s0
  893. /system/xbin/srtd u:object_r:srtd_exec:s0
  894. /system/bin/refnotify u:object_r:refnotify_exec:s0
  895. /system/bin/modemd u:object_r:rild_exec:s0
  896. /system/bin/phoneserver u:object_r:rild_exec:s0
  897. /system/bin/modem_control u:object_r:rild_exec:s0
  898. /system/bin/rild_sp u:object_r:rild_exec:s0
  899. /system/bin/cp_diskserver u:object_r:cp_diskserver_exec:s0
  900. /dev/block/zram0 u:object_r:zram_block_device:s0
  901. /system/bin/nvitemd u:object_r:nvitemd_exec:s0
  902. /system/bin/wcnd u:object_r:wcnd_exec:s0
  903. ############################
  904. #for sharkl64
  905. #
  906. #/dev/spipe_lte4 u:object_r:pipe_device:s0
  907. #/dev/spipe_lte6 u:object_r:pipe_device:s0
  908. /dev/spipe_lte4 u:object_r:audio_device:s0
  909. /dev/spipe_lte6 u:object_r:audio_device:s0
  910. /dev/epl2182_pls u:object_r:sensors_device:s0
  911. # for core dump
  912. /data/corefile(/.*)? u:object_r:coredump_file:s0
  913. #line 1 "vendor/samsung/common/sepolicy/model/file_contexts"
  914. #############################
  915. # Device node
  916. #
  917. #############################
  918. # DATA file
  919. #
  920. /data/data/\.drm(/.*)? u:object_r:drm_playready_file:s0
  921. #############################
  922. # efs file
  923. #
  924. # com.sec.android.preloadinstaller write currentlyFactoryReset
  925. # path was changed /efs/recovery/currentlyFactoryReset" by recovery team.
  926. #/efs/\.currentlyFactoryReset u:object_r:app_efs_file:s0
  927. /efs/Battery/fg_full_voltage u:object_r:app_efs_file:s0
  928. # com.sec.imsservice write silent_redial
  929. /efs/silent_redial u:object_r:app_efs_file:s0
  930. # HDCP and Widevine key. support r/w for radio and system app
  931. /efs/h2k\.dat u:object_r:cpk_efs_file:s0
  932. /efs/redata\.bin u:object_r:cpk_efs_file:s0
  933. /efs/wv\.keys u:object_r:cpk_efs_file:s0
  934. /efs/total_call_time u:object_r:app_efs_file:s0
  935. #############################
  936. # System files of sec_common
  937. #
  938. /system/bin/ftm_ptt u:object_r:ftm_ptt_exec:s0
  939. /system/bin/lpm u:object_r:lpm_exec:s0
  940. /system/bin/rtccd3 u:object_r:rtcc_exec:s0
  941. #############################
  942. # Device node of sec_common
  943. #
  944. /dev/block/mmcblk[0-9].* u:object_r:emmcblk_device:s0
  945. /dev/block/zram[0-9] u:object_r:ram_device:s0
  946. /sys/class/net/wlan0/queues/rx-[0-9]/rps_cpus u:object_r:sysfs_ss_writable:s0
  947. /sys/class/kgsl/kgsl-3d0/dispatch(/.*)? -- u:object_r:sysfs_ss_writable:s0
  948. /sys/class/power_supply/battery/camera u:object_r:sysfs_app_writable:s0
  949. #line 1 "vendor/samsung/common/sepolicy/marvell_common/file_contexts"
  950. ## SEC added ##
  951. ###########################
  952. # Marvell Device node
  953. #
  954. /dev/accelerometer_sensor u:object_r:sensor_device:s0
  955. /dev/magnetic_sensor u:object_r:sensor_device:s0
  956. ##SEC removed: /dev/block/mmcblk0boot[0-9] u:object_r:bootblk_device:s0
  957. /dev/cmsockdev64 u:object_r:gps_device:s0
  958. /dev/crmdev[0-9] u:object_r:gps_device:s0
  959. /dev/proximity_sensor u:object_r:sensor_device:s0
  960. /dev/tzdd u:object_r:tz_device:s0
  961. /dev/umts_rfs[0-9]+ u:object_r:ssipc_device:s0
  962. /system/bin/gpslpm_srv u:object_r:gpslpm_srv_exec:s0
  963. /data/misc/phone(/.*)? u:object_r:phone_data_file:s0
  964. #line 1 "vendor/samsung/common/sepolicy/sprd_common/file_contexts"
  965. #############################
  966. # System files
  967. #
  968. /system/bin/batterysrv u:object_r:batterysrv_exec:s0
  969. /system/bin/download u:object_r:download_exec:s0
  970. /system/bin/collect_apr u:object_r:collect_apr_exec:s0
  971. /system/bin/slog u:object_r:slog_exec:s0
  972. /system/bin/sprd_res_monitor u:object_r:sprd_res_monitor_exec:s0
  973. /dev/pipe(/.*)? u:object_r:audio_device:s0
  974. /dev/power_ctl u:object_r:power_ctl_device:s0
  975. /data/misc/hprofs(/.*)? u:object_r:dumplog_data_file:s0
  976. #line 1 "vendor/samsung/common/sepolicy/3rd/vmware/file_contexts"
  977. # VMware daemon
  978. /system/bin/mvpd u:object_r:vmwared_exec:s0
  979. # Vmware device
  980. /dev/mvpkm u:object_r:vmware_device:s0
  981. # VMWare sysfs
  982. /sys/hypervisor(/.*) u:object_r:sysfs_vmware_writable:s0
  983. #line 1 "vendor/samsung/common/sepolicy/3rd/mcafee/file_contexts"
  984. #
  985. # Copyright 2015 McAfee, Inc. All rights reserved.
  986. #
  987. # McAfee scanner daemon
  988. /dev/socket/mfescand u:object_r:mfescand_socket:s0
  989. /system/bin/mfescand u:object_r:mfescand_exec:s0
  990. # McAfee directories/files
  991. /system/etc/mcafee(/.*)? u:object_r:mcafee_conf_file:s0
  992. /data/misc/mcafee(/.*)? u:object_r:mcafee_data_file:s0
  993. /data/misc/mcafee/mcs(/.*)? u:object_r:mcafee_mcs_file:s0
  994. /data/misc/mcafee/mcs/mcs.fs/xm(/.*)? u:object_r:mcafee_mcsfs_xm_file:s0
  995. /data/misc/mcafee/mfescand/temp(/.*)? u:object_r:mcafee_temp_file:s0
  996. #line 1 "vendor/samsung/common/sepolicy/file_contexts"
  997. #############################
  998. # block device for all model
  999. /dev/block/platform/.+/by-name/(boot|BOOT)? u:object_r:boot_block_device:s0
  1000. /dev/block/platform/.+/by-name/(cache|CACHE)? u:object_r:cache_block_device:s0
  1001. /dev/block/platform/.+/by-name/(modem|MODEM)? u:object_r:modem_device:s0
  1002. /dev/block/platform/.+/by-name/(persistent|PERSISTENT)? u:object_r:frp_block_device:s0
  1003. /dev/block/platform/.+/by-name/(recovery|RECOVERY)? u:object_r:recovery_block_device:s0
  1004. /dev/block/platform/.+/by-name/(system|SYSTEM)? u:object_r:system_block_device:s0
  1005. /dev/block/platform/.+/by-name/(userdata|USERDATA)? u:object_r:userdata_block_device:s0
  1006. /dev/block/platform/.+/by-name/(efs|EFS)? u:object_r:efsblk_device:s0
  1007. /dev/block/mmcblk[0-9a-z]* u:object_r:emmcblk_device:s0
  1008. #/dev/block/mmcblk0p[0-9]* u:object_r:emmcblk_device:s0
  1009. #/dev/block/mmcblk1p.* u:object_r:emmcblk_device:s0
  1010. #/dev/block/mmcblk1p1 u:object_r:emmcblk_device:s0
  1011. /dev/block/modem(/.*)? u:object_r:modem_device:s0
  1012. /dev/block/sd[a-z][0-9]* u:object_r:emmcblk_device:s0
  1013. /dev/block/vnswap0 u:object_r:swap_device:s0
  1014. #/dev/block/platform/msm_sdcc\.1/by-name/cache u:object_r:cachechr_device:s0
  1015. #/dev/block/platform/msm_sdcc\.1/by-name/fsg u:object_r:fsg_device:s0
  1016. #/dev/block/platform/msm_sdcc\.1/by-name/m9kefs[0-3]* u:object_r:emmcblk_device:s0
  1017. #/dev/block/platform/msm_sdcc\.1/by-name/modem u:object_r:modem_device:s0
  1018. #/dev/block/platform/msm_sdcc\.1/by-name/param u:object_r:emmcblk_device:s0
  1019. #############################
  1020. # Device node of sec_common
  1021. #
  1022. /dev/\.secure_storage(/.*)? u:object_r:secure_storage_device:s0
  1023. /dev/__kmsg u:object_r:klog_device:s0
  1024. /dev/alps_io u:object_r:input_device:s0
  1025. /dev/android_ssusbcon(/.*)? u:object_r:usb_device:s0
  1026. /dev/batch_io u:object_r:io_device:s0
  1027. /dev/bcm2079x u:object_r:nfc_device:s0
  1028. /dev/bus/usb(/.*)? u:object_r:usb_bus_device:s0
  1029. /dev/cdma_.* u:object_r:radio_device:s0
  1030. # conflict with Qcom BSP, /dev/diag u:object_r:diag_device:s0
  1031. /dev/esfp[0-9] u:object_r:fp_sensor_device:s0
  1032. /dev/gnss_ipc u:object_r:gps_device:s0
  1033. /dev/i2c.* u:object_r:i2c_device:s0
  1034. /dev/icd u:object_r:icd_device:s0
  1035. /dev/icdr u:object_r:icd_device:s0
  1036. /dev/ionfd2phys u:object_r:ion_device:s0
  1037. /dev/isdbt u:object_r:mmb_device:s0
  1038. # conflict with Qcom BSP, /dev/media[0-3]* u:object_r:camera_device:s0
  1039. /dev/max_hrm u:object_r:hrm_device:s0
  1040. /dev/mobicore u:object_r:mobicore_device:s0
  1041. /dev/mobicore-user u:object_r:mobicore-user_device:s0
  1042. /dev/ovr[0-9]* u:object_r:ovr_device:s0
  1043. /dev/hidraw[0-9]* u:object_r:ovr_device:s0
  1044. /dev/peel_ir u:object_r:ir_device:s0
  1045. /dev/pipes(/.*)? u:object_r:system_fifo:s0
  1046. /dev/p3 u:object_r:sem_device:s0
  1047. /dev/p61 u:object_r:sem_device:s0
  1048. /dev/pn547 u:object_r:nfc_device:s0
  1049. /dev/power_on_alarm u:object_r:alarm_device:s0
  1050. /dev/sec-nfc u:object_r:nfc_device:s0
  1051. /dev/sec-nfc-fn u:object_r:nfc_device:s0
  1052. /dev/shtc1_sensor u:object_r:sensor_device:s0
  1053. /dev/socket/bluetooth u:object_r:bluetooth_socket:s0
  1054. /dev/socket/charon u:object_r:charon_socket:s0
  1055. /dev/socket/cs_socket u:object_r:cs_socket:s0
  1056. /dev/socket/dir_enc_report u:object_r:vold_socket:s0
  1057. /dev/socket/epm u:object_r:epm_socket:s0
  1058. /dev/socket/eris u:object_r:eris_socket:s0
  1059. /dev/socket/frigate u:object_r:frigate_socket:s0
  1060. /dev/socket/imsd u:object_r:imsd_socket:s0
  1061. /dev/socket/ipsec_socket u:object_r:ipsec_socket:s0
  1062. /dev/socket/jack(/.*)? u:object_r:jack_socket:s0
  1063. /dev/socket/msockets(/.*)? u:object_r:msockets_socket:s0
  1064. /dev/socket/mtp(/.*)? u:object_r:mtp_socket:s0
  1065. /dev/socket/ppm u:object_r:epm_socket:s0
  1066. /dev/socket/rild[0-9]* u:object_r:rild_socket:s0
  1067. /dev/socket/rild-debug[0-9]* u:object_r:rild_debug_socket:s0
  1068. /dev/socket/ss_conn_daemon u:object_r:ss_conn_daemon_socket:s0
  1069. /dev/socket/taa u:object_r:tz_socket:s0
  1070. /dev/socket/tunman u:object_r:tunman_socket:s0
  1071. /dev/socket/tz u:object_r:tz_socket:s0
  1072. /dev/socket/uibc(/.*)? u:object_r:uibc_socket:s0
  1073. /dev/socket/vpnclientd u:object_r:vpnclientd_socket:s0
  1074. /dev/sound_trigger_boost u:object_r:audio_device:s0
  1075. /dev/ssp_sensorhub u:object_r:input_device:s0
  1076. /dev/ssp_data_injection u:object_r:input_device:s0
  1077. /dev/timerirq u:object_r:timerirq_device:s0
  1078. /dev/ttyGS[0-9]* u:object_r:usb_serial_device:s0
  1079. /dev/ttyUSB[0-9]* u:object_r:usb_device:s0
  1080. /dev/t-base-tui u:object_r:tui_device:s0
  1081. /dev/tuihw u:object_r:tz_device:s0
  1082. /dev/tzdev u:object_r:tz_device:s0
  1083. /dev/tzic u:object_r:tz_device:s0
  1084. /dev/tzirs u:object_r:tz_device:s0
  1085. /dev/url u:object_r:url_device:s0
  1086. /dev/usb(/.*)? u:object_r:usb_device:s0
  1087. /dev/usb.* u:object_r:usb_device:s0
  1088. /dev/usb/tty.* u:object_r:usb_device:s0
  1089. /dev/usb_mtp_gadget.* u:object_r:mtp_device:s0
  1090. /dev/validity(/.*)? u:object_r:validity_device:s0
  1091. /dev/vfsspi u:object_r:vfsspi_device:s0
  1092. /dev/video26 u:object_r:video_scaler_device:s0
  1093. /dev/video29 u:object_r:video_scaler_device:s0
  1094. /dev/video4[0-9] u:object_r:camera_device:s0
  1095. /dev/video5[0-2] u:object_r:video_scaler_device:s0
  1096. #############################
  1097. # Device node of knox_common
  1098. ## Knox Sensitive data protection, DEK engine driver access
  1099. /dev/dek_evt u:object_r:knox_dar_device:s0
  1100. /dev/dek_kek u:object_r:knox_dar_device:s0
  1101. /dev/dek_log u:object_r:knox_dar_device:s0
  1102. /dev/dek_req u:object_r:knox_dar_shared_device:s0
  1103. /dev/sdp_mm u:object_r:knox_dar_device:s0
  1104. /dev/knox_kap u:object_r:knox_kap_device:s0
  1105. /dev/sdp_dlp u:object_r:knox_dar_device:s0
  1106. #############################
  1107. # Device node of mobile_payments
  1108. /dev/mst_ctrl u:object_r:mst_ctrl_device:s0
  1109. #############################
  1110. # Device node of qcom_common
  1111. #
  1112. /dev/adnc[0-9]* u:object_r:adnc_device:s0
  1113. /dev/dbmdx-1 u:object_r:audio_device:s0
  1114. /dev/android_rndis_qc u:object_r:radio_device:s0
  1115. /dev/audience_a2220 u:object_r:audio_device:s0
  1116. /dev/btlock u:object_r:hci_attach_dev:s0
  1117. #####/dev/btlock u:object_r:bluetooth_device:s0
  1118. #ciq_bridge PLM
  1119. /dev/ciq_bridge u:object_r:ciqbridge_device:s0
  1120. /dev/coresight-.* u:object_r:coresight_device:s0
  1121. /dev/dbd[0-9]* u:object_r:adnc_device:s0
  1122. /dev/dun u:object_r:dun_device:s0
  1123. /dev/dvb(/.*)? u:object_r:dvb_device:s0
  1124. # conflict with Qcom BSP, /dev/efs_bridge u:object_r:radio_device:s0
  1125. # conflict with Qcom BSP, /dev/efs_hsic_bridge u:object_r:radio_device:s0
  1126. # conflict with Qcom BSP, /dev/esoc-[0-9]* u:object_r:esoc_device:s0
  1127. /dev/gemini0 u:object_r:camera_device:s0
  1128. /dev/genlock u:object_r:genlock_device:s0
  1129. /dev/gsm_.* u:object_r:radio_device:s0
  1130. # conflict with Qcom BSP, /dev/hsicctl[0-3]* u:object_r:qmuxd_device:s0
  1131. # conflict with Qcom BSP, /dev/jpeg[0-2]* u:object_r:camera_device:s0
  1132. /dev/kgsl-[0-9a-z]* u:object_r:kgsl_device:s0
  1133. # conflict with Qcom BSP, /dev/ks_bridge u:object_r:radio_device:s0
  1134. # conflict with Qcom BSP, /dev/ks_hsic_bridge u:object_r:radio_device:s0
  1135. /dev/mdm u:object_r:radio_device:s0
  1136. #####/dev/mdm u:object_r:mdm_device:s0
  1137. /dev/msm_aac u:object_r:audio_device:s0
  1138. /dev/msm_aac_in u:object_r:audio_device:s0
  1139. /dev/msm_acdb u:object_r:audio_device:s0
  1140. /dev/msm_amrnb u:object_r:audio_device:s0
  1141. /dev/msm_amrnb_in u:object_r:audio_device:s0
  1142. /dev/msm_amrwb u:object_r:audio_device:s0
  1143. /dev/msm_amrwb_in u:object_r:audio_device:s0
  1144. /dev/msm_amrwbplus u:object_r:audio_device:s0
  1145. /dev/msm_camera(/.*)? u:object_r:camera_device:s0
  1146. /dev/msm_evrc u:object_r:audio_device:s0
  1147. /dev/msm_evrc_in u:object_r:audio_device:s0
  1148. /dev/msm_mp3 u:object_r:audio_device:s0
  1149. /dev/msm_multi_aac u:object_r:audio_device:s0
  1150. /dev/msm_qcelp u:object_r:audio_device:s0
  1151. /dev/msm_qcelp_in u:object_r:audio_device:s0
  1152. /dev/msm_rotator u:object_r:graphics_device:s0
  1153. /dev/msm_rtac u:object_r:audio_device:s0
  1154. /dev/msm_sps u:object_r:input_device:s0
  1155. /dev/msm_vidc_.* u:object_r:audio_device:s0
  1156. /dev/msm_wma u:object_r:audio_device:s0
  1157. /dev/msm_wmapro u:object_r:audio_device:s0
  1158. /dev/msm_wma_pro u:object_r:audio_device:s0
  1159. /dev/network_latency u:object_r:radio_device:s0
  1160. /dev/network_throughput u:object_r:radio_device:s0
  1161. /dev/nmea u:object_r:radio_device:s0
  1162. /dev/pmem_audio u:object_r:audio_device:s0
  1163. /dev/pta u:object_r:pta_device:s0
  1164. /dev/qmi[0-9]* u:object_r:radio_device:s0
  1165. # conflict with Qcom BSP, /dev/rmnet_mux_ctrl u:object_r:radio_device:s0
  1166. /dev/rtc[0-9]* u:object_r:clock_device:s0
  1167. /dev/sg[0-9]* u:object_r:sg_device:s0
  1168. /dev/smd_cxm_qmi u:object_r:smd_cxm_qmi_device:s0
  1169. /dev/smdcntl[0-9]* u:object_r:smd_cntl_device:s0
  1170. /dev/socket/audio u:object_r:audio_socket:s0
  1171. /dev/socket/mpctl u:object_r:mpctl_socket:s0
  1172. /dev/socket/mpdecision(/.*)? u:object_r:mpdecision_socket:s0
  1173. # conflict with Qcom BSP, /dev/socket/pps u:object_r:pps_socket:s0
  1174. /dev/socket/radio u:object_r:radio_socket:s0
  1175. # conflict with Qcom BSP, /dev/subsys_esoc[0-9]* u:object_r:esoc_device:s0
  1176. /dev/tspdrv u:object_r:vibrator_device:s0
  1177. # conflict with Qcom BSP, /dev/ttyHSL[0-9]* u:object_r:radio_device:s0
  1178. /dev/usf1 u:object_r:usf_device:s0
  1179. /dev/umts_ipc0 u:object_r:radio_device:s0
  1180. /dev/v4l-subdev[0-9]* u:object_r:camera_device:s0
  1181. #####/dev/v4l-subdev[0-9]* u:object_r:video_device:s0
  1182. # conflict with Qcom BSP, /dev/wcnss_wlan u:object_r:wifi_device:s0
  1183. #############################
  1184. # Device node of slsi_common
  1185. #
  1186. /dev/akm8963 u:object_r:akm8963_device:s0
  1187. /dev/b\.L_.* u:object_r:ap_device:s0
  1188. /dev/bbd_control u:object_r:bbd_device:s0
  1189. /dev/bbd_packet u:object_r:bbd_device:s0
  1190. /dev/bbd_patch u:object_r:bbd_device:s0
  1191. /dev/bbd_reliable u:object_r:bbd_device:s0
  1192. /dev/bbd_sensor u:object_r:bbd_device:s0
  1193. /dev/bbd_sio u:object_r:bbd_device:s0
  1194. /dev/bL.* u:object_r:ap_device:s0
  1195. /dev/cpu.* u:object_r:ap_device:s0
  1196. /dev/dir_enc_report u:object_r:report_device:s0
  1197. /dev/ecryptfs u:object_r:ecryptfs_device:s0
  1198. /dev/ehci_power u:object_r:mif_device:s0
  1199. /dev/exynos-mem u:object_r:graphics_device:s0
  1200. /dev/fimg2d(/.*)? u:object_r:fimg2d_video_device:s0
  1201. /dev/gps_geofence_wake u:object_r:gps_device:s0
  1202. /dev/invensense u:object_r:sensors_device:s0
  1203. /dev/keychord u:object_r:keychord_device:s0
  1204. /dev/kfc_freq_min u:object_r:ap_device:s0
  1205. /dev/link_pm u:object_r:radio_device:s0
  1206. # exynos5433 libhw1shotjpm1 and libscaler
  1207. /dev/m2m1shot_jpeg u:object_r:m2m1shot_device:s0
  1208. /dev/m2m1shot_scaler.* u:object_r:m2m1shot_device:s0
  1209. /dev/mali u:object_r:gpu_device:s0
  1210. /dev/mali[0-9] u:object_r:gpu_device:s0
  1211. /dev/mbin[0-9] u:object_r:mbin_device:s0
  1212. /dev/mdns u:object_r:mdns_device:s0
  1213. /dev/multipdp u:object_r:multipdp_device:s0
  1214. /dev/psaux u:object_r:psaux_device:s0
  1215. /dev/pts(/.*)? u:object_r:pts_device:s0
  1216. /dev/pvr_sync u:object_r:pvrsync_device:s0
  1217. /dev/s5p-smem u:object_r:s5p_smem_device:s0
  1218. /dev/seiren u:object_r:seiren_device:s0
  1219. /dev/spi_boot_link u:object_r:spi_boot_device:s0
  1220. /dev/srp u:object_r:srp_device:s0
  1221. /dev/sw_sync u:object_r:sync_device:s0
  1222. /dev/ttyBCM[0-9]* u:object_r:bbd_device:s0
  1223. /dev/ttySAC[0-9]* u:object_r:uart_device:s0
  1224. /dev/ump u:object_r:gpu_device:s0
  1225. /dev/umts.* u:object_r:mif_device:s0
  1226. ####################################
  1227. # sysfs files of sec_common
  1228. #
  1229. # no need because of genfscon /sys(/.*)? u:object_r:sysfs:s0
  1230. /sys/class/camera(/.*)? -- u:object_r:sysfs_camera_writable:s0
  1231. /sys/class/devfreq/exynos5-busfreq-mif(/.*)? -- u:object_r:sysfs_exynos_writable:s0
  1232. /sys/class/graphics/fb[0-9](/.*)? -- u:object_r:sysfs_graphics:s0
  1233. /sys/class/lcd(/.*)? -- u:object_r:sysfs_lcd_writable:s0
  1234. /sys/class/mdnie(/.*)? -- u:object_r:sysfs_mdnie_writable:s0
  1235. /sys/class/mst/mst_ftmdrv/transmit u:object_r:sysfs_mst_writable:s0
  1236. /sys/class/mstldo/mst_drv/transmit u:object_r:sysfs_mst_writable:s0
  1237. /sys/class/power_supply/battery(/.*)? -- u:object_r:sysfs_battery_supply:s0
  1238. /sys/class/power_supply/battery/music -- u:object_r:sysfs_music_power_writable:s0
  1239. /sys/class/rfkill/rfkill[0-9]*/state -- u:object_r:sysfs_bluetooth_writable:s0
  1240. /sys/class/rfkill/rfkill[0-9]*/type -- u:object_r:sysfs_bluetooth_writable:s0
  1241. /sys/class/sec(/.*)? -- u:object_r:sysfs_sec:s0
  1242. /sys/class/sensors(/.*)? -- u:object_r:sysfs_sensor_writable:s0
  1243. /sys/class/tcon(/.*)? -- u:object_r:sysfs_tcon_writable:s0
  1244. /sys/devices/virtual/sec/sec_epen(/.*)? -- u:object_r:sysfs_sec:s0
  1245. # Remove because of restorecon_recursive_symlink /sys/devices/virtual/sec(/.*)? -- u:object_r:sysfs_sec:s0
  1246. #/sys/qemu_trace(/.*)? -- u:object_r:sysfs_writable:s0
  1247. /sys/kernel/config(/.*)? u:object_r:configfs:s0
  1248. ### start : supporting Factory app.
  1249. /sys/bus/i2c/drivers/fsa9480/7-0025/syssleep u:object_r:sysfs_ss_writable:s0
  1250. /sys/bus/i2c/drivers/sm5502/7-0025/syssleep u:object_r:sysfs_ss_writable:s0
  1251. /sys/class/android_usb/android0(/.*)? -- u:object_r:sysfs_android_usb:s0
  1252. /sys/class/backlight(/.*)? -- u:object_r:sysfs_ss_writable:s0
  1253. /sys/class/dsm/maxdsm_cal(/.*)? -- u:object_r:sysfs_ss_writable:s0
  1254. /sys/class/earsmart/control/always_stream_fs_on u:object_r:sysfs_ss_writable:s0
  1255. /sys/class/host_notify(/.*)? -- u:object_r:sysfs_ss_writable:s0
  1256. /sys/class/timed_output/vibrator/enable u:object_r:sysfs_ss_writable:s0
  1257. /sys/class/ultrasonic/ultrasonic/data u:object_r:sysfs_ss_writable:s0
  1258. /sys/class/usb/otg/test u:object_r:sysfs_ss_writable:s0
  1259. /sys/devices/14ac0000\.mali/power_policy u:object_r:sysfs_ss_writable:s0
  1260. /sys/devices/platform/omapdss/display1/sec_timing u:object_r:sysfs_ss_writable:s0
  1261. /sys/devices/virtual/misc/umts_dm0/dm_state u:object_r:sysfs_ss_writable:s0
  1262. # Remove because of restorecon_recursive_symlink /sys/devices/virtual/sec_param/sec_param/power_onoff u:object_r:sysfs_ss_writable:s0
  1263. /sys/class/sec_param/sec_param/power_onoff u:object_r:sysfs_ss_writable:s0
  1264. /sys/kernel/usb_atparser/uart_wakelock u:object_r:sysfs_ss_writable:s0
  1265. /sys/module/cpuidle/parameters/allow_coupled_idle u:object_r:sysfs_ss_writable:s0
  1266. /sys/module/cpuidle/parameters/enable_mask u:object_r:sysfs_ss_writable:s0
  1267. /sys/module/cpuidle_exynos4/parameters/enable_mask u:object_r:sysfs_ss_writable:s0
  1268. /sys/module/cpuidle_exynos4415/parameters/enable_mask u:object_r:sysfs_ss_writable:s0
  1269. /sys/module/cpuidle_exynos5433/parameters/enable_mask u:object_r:sysfs_ss_writable:s0
  1270. /sys/module/cpuidle_exynos64/parameters/enable_mask u:object_r:sysfs_ss_writable:s0
  1271. /sys/module/lpm_levels/parameters/secdebug u:object_r:sysfs_ss_writable:s0
  1272. /sys/module/exynos3470_cpuidle/parameters/enable_mask u:object_r:sysfs_ss_writable:s0
  1273. /sys/module/pm_8x60/modes/cpu0/power_collapse/idle_enabled u:object_r:sysfs_ss_writable:s0
  1274. /sys/module/pm_8x60/modes/cpu0/standalone_power_collapse/idle_enabled u:object_r:sysfs_ss_writable:s0
  1275. /sys/module/pm_8x60/modes/cpu1/standalone_power_collapse/idle_enabled u:object_r:sysfs_ss_writable:s0
  1276. /sys/module/qpnp_power_on/parameters/reset_enabled u:object_r:sysfs_ss_writable:s0
  1277. /sys/module/qpnp_int/parameters/debug_mask u:object_r:sysfs_ss_writable:s0
  1278. /sys/module/qpnp_power_on/parameters/wake_enabled u:object_r:sysfs_ss_writable:s0
  1279. /sys/power/ftm_sleep u:object_r:sysfs_ss_writable:s0
  1280. ### end : supporting Factory app.
  1281. # VR inflight write
  1282. /sys/power/cpuhotplug/enabled u:object_r:sysfs_ss_writable:s0
  1283. #secure touch
  1284. /sys/class/input/input[0-9]+/secure_touch_enable u:object_r:sysfs_ss_writable:s0
  1285. #############################
  1286. # System files of sec_common
  1287. #
  1288. /sbin/dm_verity_signature_checker u:object_r:dm_verity_signature_checker_exec:s0
  1289. /system/bin/reactived u:object_r:actlmand_exec:s0
  1290. /system/bin/androidshmservice u:object_r:androidshmservice_exec:s0
  1291. /system/bin/apaservice u:object_r:apaservice_exec:s0
  1292. #/system/bin/app_process u:object_r:zygote_exec:s0
  1293. /system/bin/at_distributor u:object_r:at_distributor_exec:s0
  1294. /system/bin/mksh u:object_r:shell_exec:s0
  1295. /system/bin/bauthserver u:object_r:bauthserver_exec:s0
  1296. /system/bin/bintvoutservice u:object_r:bintvoutservice_exec:s0
  1297. /system/bin/bootchecker u:object_r:bootchecker_exec:s0
  1298. /system/bin/bugreport u:object_r:bugreport_exec:s0
  1299. /system/bin/cellgeofenced u:object_r:cellgeofenced_exec:s0
  1300. /system/bin/charon u:object_r:charon_exec:s0
  1301. /system/bin/connfwexe u:object_r:connfwexe_exec:s0
  1302. /system/bin/corehelper\.sh u:object_r:corehelper_sh_file:s0
  1303. /system/bin/createsystemfile u:object_r:createsystemfile_exec:s0
  1304. /system/bin/cs u:object_r:cs_exec:s0
  1305. /system/bin/ddexe u:object_r:ddexe_exec:s0
  1306. /system/bin/dmm_v2 u:object_r:DMM-daemon_exec:s0
  1307. # conflict with Qcom BSP, /system/bin/diag_uart_log u:object_r:diag_uart_log_exec:s0
  1308. /system/bin/dttexe u:object_r:dttexe_exec:s0
  1309. /system/bin/dumpsys u:object_r:dumpsys_exec:s0
  1310. /system/bin/eris u:object_r:eris_exec:s0
  1311. /system/bin/factory\.adsp u:object_r:factory_adsp_exec:s0
  1312. /system/bin/fsck\.exfat -- u:object_r:fsck_exec:s0
  1313. /system/bin/icd u:object_r:icd_exec:s0
  1314. /system/bin/insthk u:object_r:insthk_exec:s0
  1315. /system/bin/imsd u:object_r:imsd_exec:s0
  1316. /system/bin/ipruleset u:object_r:ipruleset_exec:s0
  1317. /system/bin/IPSecService u:object_r:IPSecService_exec:s0
  1318. /system/bin/jackservice u:object_r:jackservice_exec:s0
  1319. /system/bin/kiesexe u:object_r:kiesexe_exec:s0
  1320. /system/bin/launcher u:object_r:launcher_exec:s0
  1321. #/system/bin/logwrapper u:object_r:logwrapper_exec:s0
  1322. /system/bin/lptcpController u:object_r:lptcpgc_exec:s0
  1323. #/system/bin/mdnsd u:object_r:mdnsd_exec:s0
  1324. /system/bin/mkfs\.exfat -- u:object_r:fsck_exec:s0
  1325. /system/bin/mobicore-startup\.sh u:object_r:mobicore_sh_file:s0
  1326. #/system/bin/netmgrd u:object_r:netmgrd_exec:s0
  1327. /system/bin/npsmobex u:object_r:mobexdaemon_exec:s0
  1328. /system/bin/nqs u:object_r:nqs_exec:s0
  1329. /system/bin/olsrd u:object_r:olsrd_exec:s0
  1330. /system/bin/p2p_supplicant u:object_r:p2p_supplicant_exec:s0
  1331. /system/bin/pppoewrapper u:object_r:pppoewrapper_exec:s0
  1332. /system/bin/prepare_param\.sh u:object_r:prepare_param_sh_file:s0
  1333. /system/bin/rtc_log\.sh u:object_r:rtc_log_sh_file:s0
  1334. /system/bin/samsungpowersoundplay u:object_r:samsungpowersoundplay_exec:s0
  1335. /system/bin/scs u:object_r:scs_exec:s0
  1336. /system/bin/sdp_cryptod u:object_r:sdp_cryptod_exec:s0
  1337. /system/bin/sec-ril u:object_r:sec-ril_exec:s0
  1338. /system/bin/secure_storage_daemon u:object_r:secure_storage_exec:s0
  1339. /system/bin/sem_daemon u:object_r:sem_exec:s0
  1340. /system/bin/sensorhubservice u:object_r:sensorhubservice_exec:s0
  1341. /system/bin/selinux-network\.sh u:object_r:selinux_net_exec:s0
  1342. /system/bin/ss_conn_daemon u:object_r:ss_conn_daemon_exec:s0
  1343. /system/bin/ss_kbservice_daemon u:object_r:ss_kbservice_daemon_exec:s0
  1344. /system/bin/smdexe u:object_r:smdexe_exec:s0
  1345. /system/bin/sshd u:object_r:sshd_exec:s0
  1346. /system/bin/taadaemon u:object_r:tzdaemon_exec:s0
  1347. /system/bin/tzdaemon u:object_r:tzdaemon_exec:s0
  1348. /system/bin/sysprof u:object_r:sysprof_exec:s0
  1349. /system/bin/sysmon u:object_r:sysmon_exec:s0
  1350. /system/bin/tima_dump_log u:object_r:tima_dump_exec:s0
  1351. /system/bin/tlc_server u:object_r:tlc_server_exec:s0
  1352. /system/bin/tunman u:object_r:tunman_exec:s0
  1353. /system/bin/otp_server u:object_r:otp_server_exec:s0
  1354. /system/bin/vcsFPService u:object_r:vcsFPService_exec:s0
  1355. /system/bin/vfmService u:object_r:vcsFPService_exec:s0
  1356. /system/bin/vpnclientd u:object_r:vpnclientd_exec:s0
  1357. # conflict with Qcom BSP, /system/bin/wcnss_service u:object_r:wcnss_service_exec:s0
  1358. /system/bin/wldu u:object_r:wldu_exec:s0
  1359. /system/bin/wpa_supplicant_real u:object_r:wpa_exec:s0
  1360. #ISDBT
  1361. /system/bin/broadcastProcessObserver_ltn u:object_r:oneseg_mw_exec:s0
  1362. /system/bin/OneSegControl u:object_r:oneseg_mw_exec:s0
  1363. /system/bin/OneSegDsmcc_ltn u:object_r:oneseg_mw_exec:s0
  1364. /system/bin/OneSegGinga u:object_r:oneseg_mw_exec:s0
  1365. /system/bin/OneSegTsDemux_ltn u:object_r:oneseg_mw_exec:s0
  1366. /system/bin/SMPlayer_fullseg u:object_r:oneseg_mw_exec:s0
  1367. /system/etc/event-log-tags u:object_r:event_log_tags_file:s0
  1368. /system/etc/dhcpcd(/.*)? u:object_r:dhcp_system_file:s0
  1369. /system/etc/init\.sec\.boot\.sh u:object_r:sec-sh_exec:s0
  1370. /system/etc/install-recovery\.sh u:object_r:flash_recovery_sh_file:s0
  1371. /system/etc/ppp(/.*)? u:object_r:ppp_system_file:s0
  1372. /system/lib(/.*)? u:object_r:system_library_file:s0
  1373. #############################
  1374. # System files of knox_common
  1375. #
  1376. /system/bin/auditd u:object_r:auditd_exec:s0
  1377. /system/bin/edmaudit u:object_r:edmaudit_exec:s0
  1378. /system/bin/epmd u:object_r:epmd_exec:s0
  1379. /system/bin/epmlogd u:object_r:epmlogd_exec:s0
  1380. #############################
  1381. # System files of qcom_common
  1382. #
  1383. # conflict with Qcom BSP, /system/bin/adsprpcd u:object_r:adsprpcd_exec:s0
  1384. # conflict with Qcom BSP, /system/bin/charger_monitor u:object_r:charger_monitor_exec:s0
  1385. # conflict with Qcom BSP, /system/bin/dpmd u:object_r:dpmd_exec:s0
  1386. /system/bin/efsks u:object_r:efsks_exec:s0
  1387. /system/bin/energy-awareness u:object_r:energy-awareness_exec:s0
  1388. /system/bin/geomagneticd u:object_r:geomagneticd_exec:s0
  1389. # conflict with Qcom BSP, /system/bin/gpsone_daemon u:object_r:gpsone_daemon_exec:s0
  1390. /system/bin/gpu_snapshotd u:object_r:gpu_snapshotd_exec:s0
  1391. # conflict with Qcom BSP, /system/bin/gsiff_daemon u:object_r:gsiff_daemon_exec:s0
  1392. # conflict with Qcom BSP, /system/bin/imsqmidaemon u:object_r:imsqmidaemon_exec:s0
  1393. # conflict with Qcom BSP, /system/bin/ks u:object_r:ks_exec:s0
  1394. # conflict with Qcom BSP, /system/bin/location-mq u:object_r:location-mq_exec:s0
  1395. # conflict with Qcom BSP, /system/bin/lowi-server u:object_r:lowi-server_exec:s0
  1396. /system/bin/macloader u:object_r:macloader_exec:s0
  1397. /system/bin/mcDriverDaemon u:object_r:mobicoredaemon_exec:s0
  1398. /system/bin/mcDriverDaemonQC u:object_r:mobicoredaemon_exec:s0
  1399. # conflict with Qcom BSP, /system/bin/mdm_helper u:object_r:mdm_helper_exec:s0
  1400. # conflict with Qcom BSP, /system/bin/mdm_helper_proxy u:object_r:mdm_helper_proxy_exec:s0
  1401. /system/bin/mfgloader u:object_r:mfgloader_exec:s0
  1402. # conflict with Qcom BSP, /system/bin/mm-pp-daemon u:object_r:mm-pp-daemon_exec:s0
  1403. # conflict with Qcom BSP, /system/bin/mm-qcamera-daemon u:object_r:mm-qcamera-daemon_exec:s0
  1404. # conflict with Qcom BSP, /system/bin/mpdecision u:object_r:mpdecision_exec:s0
  1405. /system/bin/ptt_socket_app u:object_r:ptt_socket_app_exec:s0
  1406. /system/bin/qcks u:object_r:qcks_exec:s0
  1407. # conflict with Qcom BSP, /system/bin/qcom-system-daemon u:object_r:qcom-system-daemon_exec:s0
  1408. /system/bin/qmiproxy u:object_r:qmiproxy_exec:s0
  1409. /system/bin/qosmgr u:object_r:qosmgr_exec:s0
  1410. /system/bin/qrngd u:object_r:qrngd_exec:s0
  1411. # conflict with Qcom BSP, /system/bin/qseecomd u:object_r:qseecomd_exec:s0
  1412. # conflict with Qcom BSP, /system/bin/quipc_igsn u:object_r:quipc_igsn_exec:s0
  1413. # conflict with Qcom BSP, /system/bin/quipc_main u:object_r:quipc_main_exec:s0
  1414. # conflict with Qcom BSP, /system/bin/rfs_access u:object_r:rfs_access_exec:s0
  1415. # conflict with Qcom BSP, /system/bin/rmt_storage u:object_r:rmt_storage_exec:s0
  1416. /system/bin/scranton_RD u:object_r:playready_exec:s0
  1417. /system/bin/secstarter u:object_r:secstarter_exec:s0
  1418. # conflict with Qcom BSP, /system/bin/ssr_diag u:object_r:ssr_diag_exec:s0
  1419. /system/bin/thermal-engine u:object_r:thermal-engine_exec:s0
  1420. /system/bin/thermald u:object_r:thermald_exec:s0
  1421. # conflict with Qcom BSP, /system/bin/time_daemon u:object_r:time_daemon_exec:s0
  1422. /system/bin/wiperiface u:object_r:wiperiface_exec:s0
  1423. /system/bin/wlandutservice u:object_r:wlandutservice_exec:s0
  1424. #############################
  1425. # System files of slsi_common
  1426. #
  1427. /system/bin/argosd u:object_r:argosd_exec:s0
  1428. /system/bin/brcm_patchram_plus u:object_r:brcm_patchram_plus_exec:s0
  1429. /system/bin/bridge_relay u:object_r:debug_interface_proxy_exec:s0
  1430. /system/bin/debug_interface_proxy u:object_r:debug_interface_proxy_exec:s0
  1431. /system/bin/diagexe u:object_r:diagexe_exec:s0
  1432. /system/bin/exyrngd u:object_r:exyrngd_exec:s0
  1433. /system/bin/gpsd u:object_r:gpsd_exec:s0
  1434. /system/bin/secgpsd u:object_r:gpsd_exec:s0
  1435. /system/bin/lhd u:object_r:lhd_exec:s0
  1436. /system/bin/mld u:object_r:debug_interface_proxy_exec:s0
  1437. /system/bin/mlexe u:object_r:mlexe_exec:s0
  1438. /system/bin/mmd u:object_r:debug_interface_proxy_exec:s0
  1439. /system/bin/rpmbd u:object_r:rpmbd_exec:s0
  1440. /system/etc/security/\.drm u:object_r:drm_security_system_file:s0
  1441. /system/bin/sced u:object_r:sced_exec:s0
  1442. /system/etc/ymc/setup u:object_r:setup_ymc_etc_system_file:s0
  1443. /system/lib/drm u:object_r:drm_lib_system_file:s0
  1444. /system/bin/vcd u:object_r:vcd_exec:s0
  1445. #############################
  1446. # DATA file of sec_common
  1447. #
  1448. /data/app-lib(/.*)? u:object_r:app_library_file:s0
  1449. /data/app/rpmbd u:object_r:rpmbd_socket:s0
  1450. /data/bcmnfc(/.*)? u:object_r:nfc_data_file:s0
  1451. /data/biometrics(/.*)? u:object_r:biometrics_data_file:s0
  1452. #changeBySEA : /data/data/.* u:object_r:app_data_file:s0
  1453. #/data/data/\.drm(/.*)? u:object_r:drm_data_file:s0
  1454. #/data/data/com\.android\.providers\.downloads/cache u:object_r:download_file:s0
  1455. /data/data/com\.android\.settings/files/wallpaper u:object_r:wallpaper_file:s0
  1456. /data/data/com\.android\.shell(/.*)? u:object_r:shell_data_file:s0
  1457. /data/data/imsqmisocket u:object_r:system_data_file:s0
  1458. /data/data/lptcpSocket u:object_r:lptcp_data_file:s0
  1459. /data/dipconfs(/.*)? u:object_r:debug_interface_data_file:s0
  1460. /data/DownFilters/Lib(/.*)? u:object_r:downfilters_lib_file:s0
  1461. /data/DownFilters/Lib64(/.*)? u:object_r:downfilters_lib_file:s0
  1462. /data/DxDrm(/.*)? u:object_r:drm_playready_file:s0
  1463. /data/firmware(/.*)? u:object_r:mediaserver_data_file:s0
  1464. /data/fota(/.*)? u:object_r:fota_data_file:s0
  1465. /data/fpSnrTest(/.*)? u:object_r:shared_data_file:s0
  1466. /data/KEqvTaYEYkuJr1Mn+t-SwFvbgYo_(/.*)? u:object_r:tima_keystore_file:s0
  1467. /data/log(/.*)? u:object_r:dumplog_data_file:s0
  1468. /data/media\.tmp(/.*)? u:object_r:media_rw_data_file:s0
  1469. /data/media/obb(/.*)? u:object_r:obb_apk_file:s0
  1470. #from nsa
  1471. /data/misc/audit(/.*)? u:object_r:audit_log:s0
  1472. /data/misc/eris(/.*)? u:object_r:eris_data_file:s0
  1473. /data/misc/jack(/.*)? u:object_r:jack_data_file:s0
  1474. /data/misc/multimedia(/.*)? u:object_r:mediaserver_data_file:s0
  1475. /data/misc/radio(/.*)? u:object_r:radio_data_file:s0
  1476. /data/misc/tima(/.*)? u:object_r:tima_log:s0
  1477. /data/misc/tima_keystore(/.*)? u:object_r:tima_keystore_file:s0
  1478. /data/misc/tz_esecomm(/.*)? u:object_r:tima_keystore_file:s0
  1479. /data/misc/vpnclientd(/.*)? u:object_r:vpnclientd_data_file:s0
  1480. /data/otp(/.*)? u:object_r:otp_data_file:s0
  1481. /data/one-seg(/.*)? u:object_r:oneseg_data_file:s0
  1482. # For DCM
  1483. /data/misc/tz_dcm(/.*)? u:object_r:dcm_data_file:s0
  1484. # personalpage path is not used by (hyojin45.son)
  1485. # /data/personalpage(/.*)? u:object_r:personal_page_file:s0
  1486. # new path for personalpage is privatemode.K is first model for personalpage.
  1487. /data/privatemode(/.*)? u:object_r:personal_page_file:s0
  1488. /data/sc(/.*)? u:object_r:smartcard_data_file:s0
  1489. /data/snd(/.*)? u:object_r:audio_data_file:s0
  1490. /data/ss_kbservice_daemon u:object_r:ss_kbservice_daemon_socket:s0
  1491. /data/system/gps(/.*)? u:object_r:gps_data_file:s0
  1492. /data/system/hdcp2_1013(/.*)? u:object_r:mediaserver_data_file:s0
  1493. /data/system/kb\.bin u:object_r:drm_data_file:s0
  1494. /data/system/secure_storage(/.*)? u:object_r:secure_storage_data_file:s0
  1495. /data/system/users(/.*)? u:object_r:users_system_data_file:s0
  1496. # Fingerprint data
  1497. /data/system/users/[0-9]*/fpdata(/.*)? u:object_r:fingerprintd_data_file:s0
  1498. /data/system/users(/.*)/wallpaper u:object_r:wallpaper_file:s0
  1499. /data/system/users(/.*)/wallpaper2 u:object_r:wallpaper_file:s0
  1500. /data/validity(/.*)? u:object_r:vcsFPService_data_file:s0
  1501. /data/tee(/.*)? u:object_r:tee_data_file:s0
  1502. # DATA file of slsi_common
  1503. /data/local/log(/._*0-9)? u:object_r:cbd_log_data:s0
  1504. /data/local/slog(/._*0-9)? u:object_r:dmd_log_data:s0
  1505. /data/data/com\.android\.providers\.telephony/opname\.db u:object_r:ril_db_file:s0
  1506. #SEContainer clipboard
  1507. /data/clipboard/secontainer/102(/.*)? u:object_r:good_app_data_file:s0
  1508. # request from CP system(leo.nam)
  1509. /data/\.attipv6(/.*)? u:object_r:rild_data_file:s0
  1510. /data/\.data_usage_rx(/.*)? u:object_r:rild_data_file:s0
  1511. /data/\.data_usage_tx(/.*)? u:object_r:rild_data_file:s0
  1512. /data/\.dcmdrm(/.*)? u:object_r:drm_playready_file:s0
  1513. /data/\.fido(/.*)? u:object_r:fido_data_file:s0
  1514. /data/\.sktdrm(/.*)? u:object_r:drm_playready_file:s0
  1515. /data/\.wifiver\.info u:object_r:wifiver_data_file:s0
  1516. /data/\.otp\.info u:object_r:wifiver_data_file:s0
  1517. /data/EP_save\.bak u:object_r:mediaserver_data_file:s0
  1518. #############################
  1519. # DATA file of knox_common
  1520. #
  1521. /data/\.container_[1-9](/.*)? u:object_r:container_app_data_backend:s0
  1522. /data/clipboard/knox(/.*)? u:object_r:knox_clipboard_file:s0
  1523. /data/clipboard1[0-9][0-9](/.*)? u:object_r:knox_clipboard_file:s0
  1524. /data/container(/.*)? u:object_r:container_app_data_backend:s0
  1525. /data/container2\.0(/.*)? u:object_r:bbccontainer_app_data_backend:s0
  1526. /data/knox_otp(/.*)? u:object_r:otp_data_file:s0
  1527. /data/knox(/.*)? u:object_r:container_app_data_backend:s0
  1528. /data/knox/data/19[5-9](/.*)? u:object_r:bbccontainer_app_data_backend:s0
  1529. /data/knox/sdcard/19[5-9](/.*)? u:object_r:bbccontainer_app_data_backend:s0
  1530. /data/knox/secure_fs/enc_media(/.*)? u:object_r:media_rw_data_file:s0
  1531. #/data/knox/secure_fs/enc_user(/.*)? u:object_r:media_rw_data_file:s0
  1532. /data/security/aasa(/.*)? u:object_r:security_spota_file:s0
  1533. /data/security/spota(/.*)? u:object_r:security_spota_file:s0
  1534. /data/system/container(/.*)? u:object_r:container_system_file:s0
  1535. # KNOX package root
  1536. /data/user/1[0-8][0-9](/.*)? u:object_r:container_app_data_backend:s0
  1537. /data/user/19[0-4](/.*)? u:object_r:container_app_data_backend:s0
  1538. /data/user/19[5-9](/.*)? u:object_r:bbccontainer_app_data_backend:s0
  1539. # /mnt/runtime/
  1540. /mnt/runtime/(default|read|write)/emulated/[0-9](/.*)? u:object_r:media_rw_data_file:s0
  1541. # /storage/emulated/
  1542. /storage/emulated/[0-9](/.*)? u:object_r:media_rw_data_file:s0
  1543. /storage/(emulated|knox-emulated)/1[0-8][0-9](/.*)? u:object_r:container_app_data_backend:s0
  1544. /storage/(emulated|knox-emulated)/19[0-4](/.*)? u:object_r:container_app_data_backend:s0
  1545. /storage/(emulated|knox-emulated)/19[5-9](/.*)? u:object_r:bbccontainer_app_data_backend:s0
  1546. # /mnt/knox/
  1547. /mnt/knox/(default|read|write)/(emulated|knox-emulated)/1[0-8][0-9](/.*)? u:object_r:container_app_data_backend:s0
  1548. /mnt/knox/(default|read|write)/(emulated|knox-emulated)/19[0-4](/.*)? u:object_r:container_app_data_backend:s0
  1549. /mnt/knox/(default|read|write)/(emulated|knox-emulated)/19[5-9](/.*)? u:object_r:bbccontainer_app_data_backend:s0
  1550. /mnt/shell/emulated/([1-9])?[0-9](/.*)? u:object_r:media_rw_data_file:s0
  1551. /mnt/shell/emulated/1[0-8][0-9](/.*)? u:object_r:container_app_data_backend:s0
  1552. /mnt/shell/emulated/19[0-4](/.*)? u:object_r:container_app_data_backend:s0
  1553. /mnt/shell/emulated/19[5-9](/.*)? u:object_r:bbccontainer_app_data_backend:s0
  1554. /mnt/shell/enc_emulated/[0-9](/.*)? u:object_r:media_rw_data_file:s0
  1555. /mnt/shell/enc_media/[0-9](/.*)? u:object_r:media_rw_data_file:s0
  1556. /mnt/shell/knox-emulated/1[0-8][0-9](/.*)? u:object_r:container_app_data_backend:s0
  1557. /mnt/shell/knox-emulated/19[0-4](/.*)? u:object_r:container_app_data_backend:s0
  1558. /mnt/shell/knox-emulated/19[5-9](/.*)? u:object_r:bbccontainer_app_data_backend:s0
  1559. #/mnt/user/1[0-8][0-9](/.*)? u:object_r:container_app_data_backend:s0
  1560. #/mnt/user/19[0-4](/.*)? u:object_r:container_app_data_backend:s0
  1561. #/mnt/user/19[5-9](/.*)? u:object_r:bbccontainer_app_data_backend:s0
  1562. # AfW
  1563. /data/media/[1-9][0-9](/.*)? u:object_r:container_app_data_backend:s0
  1564. /mnt/runtime/(default|read|write)/emulated/[1-9][0-9](/.*)? u:object_r:container_app_data_backend:s0
  1565. /mnt/shell/enc_emulated/[1-9][0-9](/.*)? u:object_r:container_app_data_backend:s0
  1566. /mnt/shell/enc_media/[1-9][0-9](/.*)? u:object_r:container_app_data_backend:s0
  1567. /storage/emulated/[1-9][0-9](/.*)? u:object_r:container_app_data_backend:s0
  1568. #############################
  1569. # DATA file of qcom_common
  1570. #
  1571. /data/misc/gpsone_d(/.*)? u:object_r:gps_data_file:s0
  1572. /data/misc/sshdcpapp(/.*)? u:object_r:data_qsee_file:s0
  1573. # conflict with Qcom BSP, /data/misc/location(/.*)? u:object_r:gps_data_file:s0
  1574. /data/time(/.*)? u:object_r:time_data_file:s0
  1575. #############################
  1576. # EFS file of sec_common
  1577. #
  1578. /cpefs(/.*)? u:object_r:sec_efs_file:s0
  1579. /efs/bluetooth(/.*)? u:object_r:bluetooth_efs_file:s0
  1580. /efs/carrier(/.*)? u:object_r:carrier_efs_file:s0
  1581. /efs/cirrus(/.*)? u:object_r:sec_efs_file:s0
  1582. /efs/cpk(/.*)? u:object_r:cpk_efs_file:s0
  1583. /efs/drx(/.*)? u:object_r:sec_efs_file:s0
  1584. /efs/FactoryApp(/.*)? u:object_r:app_efs_file:s0
  1585. /efs/imei(/.*)? u:object_r:imei_efs_file:s0
  1586. /efs/ims_setting(/.*)? u:object_r:sec_efs_file:s0
  1587. /efs/iss(/.*)? u:object_r:iss_efs_file:s0
  1588. /efs/logguard(/.*)? u:object_r:iss_efs_file:s0
  1589. /efs/maxim(/.*)? u:object_r:sec_efs_file:s0
  1590. /efs/mc(/.*)? u:object_r:prov_efs_file:s0
  1591. /efs/\.nv_core\.bak(.*) u:object_r:nv_core_efs_file:s0
  1592. /efs/otadm(/.*)? u:object_r:otadm_efs_file:s0
  1593. /efs/otadm_sw_version u:object_r:otadm_efs_file:s0
  1594. /efs/pfw_data(/.*)? u:object_r:pfw_efs_file:s0
  1595. /efs/prov(/.*)? u:object_r:prov_efs_file:s0
  1596. /efs/prov_data(/.*)? u:object_r:prov_efs_file:s0
  1597. /efs/recovery(/.*)? u:object_r:sec_efs_file:s0
  1598. /efs/root(/.*)? u:object_r:app_efs_file:s0
  1599. /efs/sec_efs(/.*)? u:object_r:sec_efs_file:s0
  1600. /efs/sec_efs/retailmode(/.*)? u:object_r:retailmode_efs_file:s0
  1601. /efs/security(/.*)? u:object_r:prov_efs_file:s0
  1602. /efs/sktdm_mem(/.*)? u:object_r:sec_efs_file:s0
  1603. /efs/SMS(/.*)? u:object_r:sec_efs_file:s0
  1604. /efs/SlideCount u:object_r:app_efs_file:s0
  1605. /efs/TEE(/.*)? u:object_r:prov_efs_file:s0
  1606. /efs/wifi(/.*)? u:object_r:wifi_efs_file:s0
  1607. /efs_gsm(/.*)? u:object_r:efs_gsm_file:s0
  1608. /efs/calibration_data u:object_r:sec_efs_file:s0
  1609. /efs/grip_cal_data u:object_r:sec_efs_file:s0
  1610. /efs/gyro_cal_data u:object_r:sec_efs_file:s0
  1611. /efs/hw_offset u:object_r:sec_efs_file:s0
  1612. /efs/osc_trim u:object_r:sec_efs_file:s0
  1613. /efs/prox_cal u:object_r:sec_efs_file:s0
  1614. #############################
  1615. # EFS file of qcom_common
  1616. #
  1617. /efs/drm(/.*)? u:object_r:drm_efs_file:s0
  1618. /efs/\.drm(/.*)? u:object_r:drm_efs_file:s0
  1619. #############################
  1620. # EFS file of slsi_common
  1621. #
  1622. /efs/nv_data\.bin(.*) u:object_r:bin_nv_data_efs_file:s0
  1623. /efs/nv.log u:object_r:cbd_log_data:s0
  1624. #############################
  1625. # MISC partition file of sec_common
  1626. #
  1627. /custom(/.*)? u:object_r:sbfs_file:s0
  1628. /fw(/.*)? u:object_r:device_firmware_file:s0
  1629. #/hidden(/.*)? u:object_r:hidden_file:s0
  1630. #/persdata(/.*)? u:object_r:persdata_data_file:s0
  1631. /persdata/absolute(/.*)? u:object_r:abt_pers_data_file:s0
  1632. # conflict with Qcom BSP, /persist(/.*)? u:object_r:persist_data_file:s0
  1633. #/preload(/.*)? u:object_r:hidden_file:s0
  1634. /sbfs(/.*)? u:object_r:sbfs_file:s0
  1635. #/tombstone(/.*)? u:object_r:tombstone_data_file:s0
  1636. #/tombstones(/.*)? u:object_r:tombstone_data_file:s0
  1637. #############################
  1638. # MNT of sec_common
  1639. #
  1640. /mnt/obb(/.*)? u:object_r:obb_apk_file:s0
  1641. /mnt/secure/asec(/.*)? u:object_r:asec_apk_file:s0
  1642. /mnt/secure/staging(/.*)? u:object_r:asec_image_file:s0
  1643. #############################
  1644. # MNT of bcom_common
  1645. #
  1646. /mnt/modemfsro(/.*)? u:object_r:modem_firmware:s0
  1647. /mnt/modemfsro_fix(/.*)? u:object_r:modem_firmware:s0
  1648. /mnt/modemfsrw(/.*)? u:object_r:modem_firmware:s0
  1649. /mnt/modemfw(/.*)? u:object_r:modem_firmware:s0
  1650. /mnt/modemlog(/.*)? u:object_r:modem_firmware:s0
  1651. /mnt/securityro(/.*)? u:object_r:security_firmware:s0
  1652. /mnt/securityrw(/.*)? u:object_r:security_firmware:s0
  1653. #############################
  1654. # Carrier file of sec_common
  1655. # carrier folder for Sprint(Qualcomm and SLSI)
  1656. /carrier(/.*)? u:object_r:carrier_file:s0
  1657. #############################
  1658. # PROC INFO / LOCK FILE
  1659. # for preventing migration issue, this files were created by type_transition rules.
  1660. #
  1661. /data/local/olsrd\.lock u:object_r:proc_info_file:s0
  1662. /data/ss_conn_daemon\.pid u:object_r:proc_info_file:s0
  1663. /data/\.cid\.info u:object_r:proc_info_file:s0
  1664. #line 1 "vendor/samsung/common/sepolicy/carrier/carrier_spr/file_contexts"
  1665. #### Kineto for secsprextension/java/com/oem/smartwifisupport
  1666. /dev/socket/cfiat u:object_r:cfiat_socket:s0
  1667. /dev/socket/kipc u:object_r:kipc_socket:s0
  1668. #############################
  1669. # ItsOn file
  1670. #
  1671. #/system/vendor/itson(/.*)? u:object_r:sprintitson_file:s0
  1672. #/vendor/app(/.*)? u:object_r:sprintitson_file:s0
  1673. /carrier/itson(/.*)? u:object_r:sprintitson_file:s0
  1674. /dev/socket/itson(/.*)? u:object_r:itson_socket:s0
  1675. /data/itson(/.*)? u:object_r:sprintitson_file:s0
  1676. /system/vendor/itson/itson-bootstrapper\.sh u:object_r:itsonbs_exec:s0
  1677. #line 1 "vendor/samsung/common/sepolicy/carrier/carrier_tfntmo/file_contexts"
  1678. /system/bin/tsdaemon u:object_r:tsdaemon_exec:s0
  1679. #line 1 "vendor/samsung/common/sepolicy/carrier/carrier_kor/file_contexts"
  1680. /system/bin/dmbserver u:object_r:dmb_exec:s0
  1681. /dev/tdmb u:object_r:tdmb_device:s0
  1682. /data/playready(/.*)? u:object_r:playready_file:s0
  1683. ############ LGT #############
  1684. /data/LGTContents(/.*)? u:object_r:lgt_contents_file:s0
  1685. /system/bin/diag_knight u:object_r:ss_diagknight_daemon_exec:s0
  1686. /system/bin/mwlan_helper u:object_r:mwlan_helper_exec:s0
  1687. /dev/mwlan_aarp u:object_r:mwlan_aarp_device:s0
  1688. /dev/ipsecdrvtl u:object_r:mwlan_ipsecdrvtl_device:s0
  1689. ############ SKT #############
  1690. /system/bin/iwland u:object_r:iwland_exec:s0
  1691. /dev/iwland(/.*)? u:object_r:skt_socket:s0
  1692. /system/bin/tbased u:object_r:tbased_exec:s0
  1693. #line 1 "vendor/samsung/common/sepolicy/carrier/carrier_jpn/file_contexts"
  1694. #felica start
  1695. # JPN Felica Temporary Workaround
  1696. /dev/ttyHSL2 u:object_r:nfcfelica_device:s0
  1697. #/dev/ttyHSL1 u:object_r:nfcfelica_device:s0
  1698. /dev/snfc_uart u:object_r:nfc_device:s0
  1699. /dev/snfc_pon u:object_r:nfc_device:s0
  1700. /dev/snfc_hsel u:object_r:nfc_device:s0
  1701. /dev/snfc_intu_poll u:object_r:nfc_device:s0
  1702. /dev/snfc_available_poll u:object_r:nfc_device:s0
  1703. /dev/snfc_rfs u:object_r:nfc_device:s0
  1704. /dev/snfc_rfs_poll u:object_r:nfc_device:s0
  1705. /dev/uartcc u:object_r:nfc_device:s0
  1706. /dev/felica_cen u:object_r:nfcfelica_device:s0
  1707. /dev/snfc_cen u:object_r:nfcfelica_device:s0
  1708. /dev/felica u:object_r:felica_device:s0
  1709. /dev/felica_pon u:object_r:felica_device:s0
  1710. /dev/felica_rfs u:object_r:felica_device:s0
  1711. /dev/felica_rws u:object_r:felica_device:s0
  1712. /dev/felica_ant u:object_r:felica_device:s0
  1713. /dev/felica_int_poll u:object_r:felicashell_device:s0
  1714. /dev/felica_uid u:object_r:felica_device:s0
  1715. /dev/felica_uicc u:object_r:felica_device:s0
  1716. #felica end
  1717. #felica start
  1718. /system/bin/fsslcmnd u:object_r:fsslcmnd_exec:s0
  1719. /system/bin/mfdp u:object_r:mfdp_exec:s0
  1720. /system/bin/mfsc u:object_r:mfsc_exec:s0
  1721. #felica end
  1722. #secprov_nexti
  1723. /system/bin/secprov_nexti u:object_r:secprov_nexti_exec:s0
  1724. /data/dxprdy(/.*)? u:object_r:drm_playready_file:s0
  1725. #TMM
  1726. /system/bin/MmbCaCasDrmMw u:object_r:mmb_mw_exec:s0
  1727. /system/bin/MmbFcCtlMw u:object_r:mmb_mw_exec:s0
  1728. /system/bin/MmbStCtlMwService u:object_r:mmb_mw_exec:s0
  1729. /system/bin/MmbFcMp4MwServer u:object_r:mmb_mw_exec:s0
  1730. /system/bin/MmbFcLiceMwServer u:object_r:mmb_mw_exec:s0
  1731. /system/bin/MmbStRecCmMwService u:object_r:mmb_mw_exec:s0
  1732. /data/mmb(/.*)? u:object_r:mmb_data_file:s0
  1733. # for fullseg
  1734. /system/bin/dtvserver u:object_r:dtvserver_exec:s0
  1735. # for oneseg and mmcblk0p16
  1736. /system/bin/nexprocess u:object_r:oneseg_mw_exec:s0
  1737. /system/bin/broadcastProcessObserver u:object_r:oneseg_mw_exec:s0
  1738. /system/bin/BMLEngineServer u:object_r:oneseg_mw_exec:s0
  1739. /system/bin/OneSegDsmcc u:object_r:oneseg_mw_exec:s0
  1740. /system/bin/OneSegTsDemux u:object_r:oneseg_mw_exec:s0
  1741. /system/bin/SDtvService u:object_r:oneseg_mw_exec:s0