diff options
Diffstat (limited to 'sepolicy/camera.te')
-rw-r--r-- | sepolicy/camera.te | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sepolicy/camera.te b/sepolicy/camera.te index aa20255..2433061 100644 --- a/sepolicy/camera.te +++ b/sepolicy/camera.te @@ -6,8 +6,8 @@ type camera_exec, exec_type, file_type; init_daemon_domain(camera) # Interact with other media devices -allow camera camera_device:dir search; -allow camera { gpu_device video_device camera_device }:chr_file rw_file_perms; +allow camera video_device:dir search; +allow camera { gpu_device video_device }:chr_file rw_file_perms; allow camera { surfaceflinger mediaserver }:fd use; # Create front and back camera sockets (/data/cam_socket[12]) |