platform_system_sepolicy/private/vdc.te
Keith Mok f00a6f9381 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.

Cherry-picks aosp/1723726

Test: manual 'make'
Bug: 157501579
Change-Id: I5194c9cd0f5a910b1309b547aabf66bb9c397738
Merged-In: I5194c9cd0f5a910b1309b547aabf66bb9c397738
2021-07-15 19:44:27 +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;