blob: dc0f15e13ce09daf2a3d468973b602337f3bf497 [file] [log] [blame]
Stephen Smalley2dd4e512012-01-04 12:33:27 -05001# servicemanager - the Binder context manager
2type servicemanager, domain;
Stephen Smalleycfb2e992013-10-29 14:42:39 -04003permissive servicemanager;
Stephen Smalley2dd4e512012-01-04 12:33:27 -05004type servicemanager_exec, exec_type, file_type;
5
6init_daemon_domain(servicemanager)
Stephen Smalleycfb2e992013-10-29 14:42:39 -04007
8# Note that we do not use the binder_* macros here.
9# servicemanager is unique in that it only provides
10# name service (aka context manager) for Binder.
11# As such, it only ever receives and transfers other references
12# created by other domains. It never passes its own references
13# or initiates a Binder IPC.
14allow servicemanager self:binder set_context_mgr;
15allow servicemanager domain:binder transfer;