diff options
| author | Ricardo Cerqueira <ricardo@cyngn.com> | 2015-06-24 01:57:48 +0100 |
|---|---|---|
| committer | Ricardo Cerqueira <ricardo@cyngn.com> | 2015-06-24 15:04:59 +0100 |
| commit | ad10c2dfe32ea18790d063f514a1a07f7debc754 (patch) | |
| tree | 564c414f192a6b639861b7c3d9a035f658116fe5 /sepolicy | |
| parent | 0f25f850516674aa51794e2bda228bbe57ae4a74 (diff) | |
msm8916-common: Bootstrap from lettuce
Diffstat (limited to 'sepolicy')
| -rw-r--r-- | sepolicy/bootanim.te | 2 | ||||
| -rw-r--r-- | sepolicy/file.te | 2 | ||||
| -rw-r--r-- | sepolicy/file_contexts | 2 | ||||
| -rw-r--r-- | sepolicy/system_server.te | 5 |
4 files changed, 7 insertions, 4 deletions
diff --git a/sepolicy/bootanim.te b/sepolicy/bootanim.te new file mode 100644 index 0000000..6e874f2 --- /dev/null +++ b/sepolicy/bootanim.te @@ -0,0 +1,2 @@ +allow bootanim mpctl_socket:dir search; +unix_socket_send(bootanim, mpctl, perfd) diff --git a/sepolicy/file.te b/sepolicy/file.te index 8a03e4d..702117e 100644 --- a/sepolicy/file.te +++ b/sepolicy/file.te @@ -1 +1 @@ -type touchpanel_sysfs, fs_type, sysfs_type;
\ No newline at end of file +type display_sysfs, sysfs_type, file_type; diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 5222c5d..95b7660 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -6,4 +6,4 @@ /dev/smd3 u:object_r:hci_attach_dev:s0 -/sys/devices/soc.0/78b9000.i2c/i2c-5/5-0040/gesture u:object_r:touchpanel_sysfs:s0 +/sys/devices/virtual/graphics/fb0/rgb u:object_r:display_sysfs:s0 diff --git a/sepolicy/system_server.te b/sepolicy/system_server.te index ea39880..f17b695 100644 --- a/sepolicy/system_server.te +++ b/sepolicy/system_server.te @@ -1,2 +1,3 @@ -allow system_server touchpanel_sysfs:file rw_file_perms; -allow system_server touchpanel_sysfs:dir { search };
\ No newline at end of file +allow system_server time_daemon:unix_stream_socket connectto; +# CmHardwareService access to Color Calibration +allow system_server display_sysfs:file rw_file_perms; |
