Finer grained permissions for ctl. properties
Currently, permissions for ctl. property apply to each action verb, so if a domain has permissions for controlling service 'foo', then it can start, stop, and restart foo. This change implements finer grainer permissions such that permission can be given to strictly start a given service, but not stop or restart it. This new permission scheme is mandatory for the new control functions, sigstop_on, sigstop_off, interface_start, interface_stop, interface_restart. Bug: 78511553 Test: see appropriate successes and failures based on permissions Merged-In: Ibe0cc0d6028fb0ed7d6bcba626721e0d84cc20fa Change-Id: Ibe0cc0d6028fb0ed7d6bcba626721e0d84cc20fa (cherry picked from commit 2208f96e)
Showing
- prebuilts/api/26.0/26.0.cil 1 addition, 1 deletionprebuilts/api/26.0/26.0.cil
- private/compat/26.0/26.0.cil 1 addition, 1 deletionprivate/compat/26.0/26.0.cil
- private/compat/26.0/26.0.ignore.cil 4 additions, 0 deletionsprivate/compat/26.0/26.0.ignore.cil
- private/compat/27.0/27.0.cil 1 addition, 1 deletionprivate/compat/27.0/27.0.cil
- private/compat/27.0/27.0.ignore.cil 4 additions, 0 deletionsprivate/compat/27.0/27.0.ignore.cil
- private/hwservicemanager.te 1 addition, 2 deletionsprivate/hwservicemanager.te
- private/property_contexts 10 additions, 0 deletionsprivate/property_contexts
- public/property.te 28 additions, 0 deletionspublic/property.te
Please register or sign in to comment