commit | 69154df9efd3ffb7580b72a0138f58a2f5443db6 | [log] [tgz] |
---|---|---|
author | Riley Spahn <rileyspahn@google.com> | Thu Jun 05 11:07:18 2014 -0700 |
committer | Riley Spahn <rileyspahn@google.com> | Thu Jun 12 20:46:24 2014 +0000 |
tree | 6d06d0bd3b39c7cb0de64484d51aa6513a58c693 | |
parent | 7281ca65d00171b846497abca357a005a401e16b [diff] |
Add SELinux checks when adding a service. Add a MAC check to the svc_can_register function in service_manager. The types are defined in external/sepolicy/service.te and the mapping from service names is defined in external/sepolicy/service_contexts. Currently uses the property context backend to parse the contexts file. Bug: 12909011 Change-Id: I5d90a614263c60571c7c70c2882e6fa929911ca5