Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
e
devices
android_device_sony_kitakami-common
Commits
082fa12b
Commit
082fa12b
authored
Aug 05, 2020
by
TARKZiM
Committed by
Bernhard Thoben
Aug 11, 2020
Browse files
kitakami-common: sepolicy: Address camera and secd denials
Change-Id: Ie0794b16e6898d162cc392dce9d9d55ce5f3bbd7
parent
1b0e0cdf
Changes
2
Hide whitespace changes
Inline
Side-by-side
sepolicy/vendor/qcamerasvr.te
View file @
082fa12b
...
...
@@ -8,7 +8,7 @@ init_daemon_domain(qcamerasvr)
allow qcamerasvr camera_data_file:dir { add_name remove_name write };
allow qcamerasvr camera_data_file:sock_file { create unlink };
allow qcamerasvr hal_camera_default:fd use;
allow qcamerasvr ion_device:chr_file { open read };
allow qcamerasvr ion_device:chr_file { open read
ioctl
};
allow qcamerasvr mediaserver:fd use;
allow qcamerasvr sysfs:file { open read write };
allow qcamerasvr video_device:chr_file { ioctl open read write };
...
...
@@ -18,5 +18,6 @@ allow qcamerasvr camera_data_file:dir search;
allow qcamerasvr camera_socket:sock_file unlink;
allow qcamerasvr sysfs_graphics:file { open read };
allow qcamerasvr ta_data_file:dir search;
allow qcamerasvr ion_device:chr_file ioctl;
allow qcamerasvr secd_exec:file { getattr read };
allow qcamerasvr vendor_camera_data_file:dir { add_name remove_name write };
allow qcamerasvr vendor_camera_data_file:sock_file { create unlink };
sepolicy/vendor/shell.te
View file @
082fa12b
...
...
@@ -106,3 +106,4 @@ allow shell wifi_prop:file { getattr open };
allow shell wififtmd_prop:file { getattr open };
allow shell wigig_prop:file { getattr open };
allow shell xlat_prop:file { getattr open };
allow shell secd_exec:file { getattr read };
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment