Camera: Allow stream socket read/write with surfaceflinger
This is needed for the camera service to be able to use AChoreographer ndk. Test: adb shell dmesg | audit2allow -p policy Bug: 200306379 Change-Id: I191760f1cdd0a88c9d140fffd4470e9ae1956c52
This commit is contained in:
parent
f15d7e3ff5
commit
5ed0c50e86
1 changed files with 3 additions and 0 deletions
|
@ -36,6 +36,9 @@ allow cameraserver surfaceflinger_service:service_manager find;
|
|||
|
||||
allow cameraserver hidl_token_hwservice:hwservice_manager find;
|
||||
|
||||
# Allow to talk with surfaceflinger through unix stream socket
|
||||
allow cameraserver surfaceflinger:unix_stream_socket { read write };
|
||||
|
||||
###
|
||||
### neverallow rules
|
||||
###
|
||||
|
|
Loading…
Reference in a new issue