platform_system_sepolicy/private/vdc.te
Keith Mok a216b0d1b9 Add vehicle_binding_util SELinux context
Adds required context for 'vehicle_binding_util' to 'vold' interactions.
The vehicle_binding_util actually fork/execvp vdc.
And vdc will call vold to set the binding seed value.

Test: manual 'make'
Bug: 157501579
Change-Id: I5194c9cd0f5a910b1309b547aabf66bb9c397738
2021-06-28 22:17:50 +00:00

6 lines
142 B
Text

typeattribute vdc coredomain;
init_daemon_domain(vdc)
# Allow stdin/out back to vehicle_binding_util
allow vdc vehicle_binding_util:fd use;