Skip to content
Snippets Groups Projects
Commit 28a711c8 authored by Nick Kralevich's avatar Nick Kralevich Committed by Gerrit Code Review
Browse files

Merge "Move unconfined domains out of permissive mode."

parents 84d88314 353c72e3
No related branches found
No related tags found
No related merge requests found
# adbd seclabel is specified in init.rc since
# it lives in the rootfs and has no unique file type.
type adbd, domain;
permissive adbd;
unconfined_domain(adbd)
domain_auto_trans(adbd, shell_exec, shell)
# this is an entrypoint
......
# bluetooth subsystem
type bluetooth, domain;
permissive bluetooth;
app_domain(bluetooth)
unconfined_domain(bluetooth)
# 464xlat daemon
type clatd, domain;
permissive clatd;
type clatd_exec, exec_type, file_type;
init_daemon_domain(clatd)
......
# debugger interface
type debuggerd, domain;
permissive debuggerd;
type debuggerd_exec, exec_type, file_type;
init_daemon_domain(debuggerd)
......
type dhcp, domain;
permissive dhcp;
type dhcp_exec, exec_type, file_type;
type dhcp_data_file, file_type, data_file_type;
type dhcp_system_file, file_type, data_file_type;
......
type dnsmasq, domain;
permissive dnsmasq;
type dnsmasq_exec, exec_type, file_type;
init_daemon_domain(dnsmasq)
......
# drmserver - DRM service
type drmserver, domain;
permissive drmserver;
type drmserver_exec, exec_type, file_type;
init_daemon_domain(drmserver)
......
# gpsd - GPS daemon
type gpsd, domain;
permissive gpsd;
type gpsd_exec, exec_type, file_type;
init_daemon_domain(gpsd)
......
type hci_attach, domain;
permissive hci_attach;
type hci_attach_exec, exec_type, file_type;
init_daemon_domain(hci_attach)
......
# healthd seclabel is specified in init.rc since
# it lives in the rootfs and has no unique file type.
type healthd, domain;
permissive healthd;
type healthd_exec, exec_type, file_type;
init_daemon_domain(healthd)
......
type hostapd, domain;
permissive hostapd;
type hostapd_exec, exec_type, file_type;
init_daemon_domain(hostapd)
......
# Restricted domain for shell processes spawned by init
type init_shell, domain;
permissive init_shell;
domain_auto_trans(init, shell_exec, init_shell)
unconfined_domain(init_shell)
type keystore, domain;
permissive keystore;
type keystore_exec, exec_type, file_type;
# keystore daemon
......
......@@ -3,7 +3,6 @@
###
type media_app, domain;
permissive media_app;
app_domain(media_app)
platform_app_domain(media_app)
# Access the network.
......
# mediaserver - multimedia daemon
type mediaserver, domain;
permissive mediaserver;
type mediaserver_exec, exec_type, file_type;
net_domain(mediaserver)
......
# vpn tunneling protocol manager
type mtp, domain;
permissive mtp;
type mtp_exec, exec_type, file_type;
init_daemon_domain(mtp)
......
# nfc subsystem
type nfc, domain;
permissive nfc;
app_domain(nfc)
unconfined_domain(nfc)
type ping, domain;
permissive ping;
type ping_exec, exec_type, file_type;
domain_auto_trans(shell, ping_exec, ping)
unconfined_domain(ping)
......@@ -3,7 +3,6 @@
###
type platform_app, domain;
permissive platform_app;
app_domain(platform_app)
platform_app_domain(platform_app)
# Access the network.
......
# Point to Point Protocol daemon
type ppp, domain;
permissive ppp;
type ppp_device, dev_type;
type ppp_exec, exec_type, file_type;
type ppp_system_file, file_type;
......
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