diff options
author | Kenny Root <kroot@android.com> | 2012-11-02 11:05:23 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-11-02 11:05:23 -0700 |
commit | 2a3bb9204e779d1bbee5b2367a16c1e4665130e9 (patch) | |
tree | e3bed1b07e56fc9053486195c07b2c9b2ddf5f02 | |
parent | 025e0ac2552a25304d01b1620d4bf8132c0624f1 (diff) | |
parent | 7125a5598354d08acbd697ae0241905142cf1823 (diff) | |
download | device_samsung_tuna-2a3bb9204e779d1bbee5b2367a16c1e4665130e9.zip device_samsung_tuna-2a3bb9204e779d1bbee5b2367a16c1e4665130e9.tar.gz device_samsung_tuna-2a3bb9204e779d1bbee5b2367a16c1e4665130e9.tar.bz2 |
am 8f589b7c: am 906ccac6: Merge "SELinux policy additions."
* commit '7125a5598354d08acbd697ae0241905142cf1823':
SELinux policy additions.
-rw-r--r-- | BoardConfig.mk | 7 | ||||
-rw-r--r-- | sepolicy/file_contexts | 30 | ||||
-rw-r--r-- | sepolicy/genfs_contexts | 2 |
3 files changed, 39 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk index b07c668..58f877a 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -85,3 +85,10 @@ BOARD_HAVE_BLUETOOTH_BCM := true BOARD_LIB_DUMPSTATE := libdumpstate.tuna BOARD_USES_SECURE_SERVICES := true + +BOARD_SEPOLICY_DIRS := \ + device/samsung/tuna/sepolicy + +BOARD_SEPOLICY_UNION := \ + genfs_contexts \ + file_contexts diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts new file mode 100644 index 0000000..1602cce --- /dev/null +++ b/sepolicy/file_contexts @@ -0,0 +1,30 @@ +#rild +/data/radio/nv_data.bin.* u:object_r:radio_data_file:s0 +/dev/block/mmcblk0p4 u:object_r:radio_device:s0 +/dev/block/mmcblk0p9 u:object_r:radio_device:s0 +/dev/block/platform/omap/omap_hsmmc.0/by-name/radio u:object_r:radio_device:s0 +/dev/cdma_.* u:object_r:radio_device:s0 +/dev/dsscomp u:object_r:video_device:s0 +/dev/lte_.* u:object_r:radio_device:s0 +/dev/tiler u:object_r:video_device:s0 +/dev/ttyFIQ0 u:object_r:console_device:s0 +/dev/ttyGS0 u:object_r:radio_device:s0 +/dev/ttyGS1 u:object_r:radio_device:s0 +/dev/umts_boot0 u:object_r:radio_device:s0 +/dev/umts_boot1 u:object_r:radio_device:s0 +/dev/umts_ipc0 u:object_r:radio_device:s0 +/dev/umts_ramdump0 u:object_r:radio_device:s0 +/dev/umts_rfs0 u:object_r:radio_device:s0 +/factory(/.*)? u:object_r:efs_file:s0 +/factory/bluetooth(/.*)? u:object_r:bluetooth_efs_file:s0 +/factory/nv_data.bin.* u:object_r:radio_data_file:s0 + +#nfc +/dev/ttyO3 u:object_r:nfc_device:s0 + +#The devices and files used by the hciattach service are device specific +/system/bin/brcm_patchram_plus u:object_r:hci_attach_exec:s0 +/dev/ttyO1 u:object_r:hci_attach_dev:s0 + +# In Samsung Tuna Board, ttyO0 is for uart driver. gps_device is device specific +/dev/ttyO0 u:object_r:gps_device:s0 diff --git a/sepolicy/genfs_contexts b/sepolicy/genfs_contexts new file mode 100644 index 0000000..56ef603 --- /dev/null +++ b/sepolicy/genfs_contexts @@ -0,0 +1,2 @@ +# This proc entry is for CSR GPS chip on Samsung Tuna Board. +genfscon proc /mcspi1_cs3_ctrl u:object_r:gps_control:s0 |