Skip to content
Snippets Groups Projects
Commit ab7dfabb authored by Lorenzo Colitti's avatar Lorenzo Colitti
Browse files

Fix clatd, broken by selinux policing /dev/tun

Bug: 10175701
Change-Id: I185df22bdbaafd56725760ec6c71340b67455046
parent 32c0dbd2
No related branches found
No related tags found
No related merge requests found
# 464xlat daemon
type clatd, domain;
permissive clatd;
type clatd_exec, exec_type, file_type;
init_daemon_domain(clatd)
net_domain(clatd)
unconfined_domain(clatd)
......@@ -151,6 +151,7 @@
/system/bin/ping u:object_r:ping_exec:s0
/system/bin/dnsmasq u:object_r:dnsmasq_exec:s0
/system/bin/hostapd u:object_r:hostapd_exec:s0
/system/bin/clatd u:object_r:clatd_exec:s0
#############################
# Vendor files
#
......
......@@ -47,6 +47,10 @@ allow netd hostapd:process signal;
domain_auto_trans(netd, dnsmasq_exec, dnsmasq)
allow netd dnsmasq:process signal;
# Allow netd to start clatd in its own domain
domain_auto_trans(netd, clatd_exec, clatd)
allow netd clatd:process signal;
# Support netd running mdnsd
# TODO: prune this back further
allow netd ctl_default_prop:property_service set;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment