diff options
| author | Peng Xu <pengxu@google.com> | 2017-04-19 23:47:53 -0700 |
|---|---|---|
| committer | Peng Xu <pengxu@google.com> | 2017-04-24 15:04:03 -0700 |
| commit | 0adcee2cf2f9da60cffabd8335c38df66668775b (patch) | |
| tree | 59aa1b004f7d372e9046112a0d6485905b8a8249 /ueventd.common.rc | |
| parent | 6c7b6dbc994a36fd2dff96d471483f7de9edc2c2 (diff) | |
SELinux rule and rc file update for sensor and contexthub
Update sensor and contexthub SELinux rule to conform to Treble
HAL sandbox and allow dynamic sensor driver to access hidraw
devices.
Bug: 34980308
Bug: 36576923
Bug: 31026607
Test: no selinux violation after flashall -w; sensor cal files
correctly created and updated; nanohub_lock is created after boot;
dynamic sensor feature is able to detect with usb sensor devices
connection and is able to receive sensor events; nanohub lock
is able to halt sensor hal thread.
Change-Id: I773f88207483fbf12321fc9f52fc0b909f38cc65
marlin: ueventd.rc & file_context change for dynamic sensor
Test: works with usb device without trigger security exception
Change-Id: Icf2248a19a3ad533264ef44cf662129347b401bc
Diffstat (limited to 'ueventd.common.rc')
| -rw-r--r-- | ueventd.common.rc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ueventd.common.rc b/ueventd.common.rc index 45a2586e..6dbe36c5 100644 --- a/ueventd.common.rc +++ b/ueventd.common.rc @@ -250,3 +250,6 @@ # Storage: for factory reset protection feature /dev/block/platform/soc/624000.ufshc/by-name/frp 0660 system system + +# hid sensor device +/dev/hidraw* 0660 root system |
