summaryrefslogtreecommitdiff
path: root/init/action_parser.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2018-05-03 16:57:19 -0700
committerTom Cherry <tomcherry@google.com>2018-05-22 13:44:34 -0700
commit5ab2e1c8f7d19713869e45c3f006b9ad7abb7753 (patch)
treeb2522ab9894cf5965fde32bb692a21d7b293e635 /init/action_parser.cpp
parent827de1993271f28110696df6ff809947184ba550 (diff)
init: 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: I6ce915ae39954a67eb6fe1795a93cf715c352ae4 Change-Id: I6ce915ae39954a67eb6fe1795a93cf715c352ae4 (cherry picked from commit 1debdcf1cf3d45ba9185ab47a265995c676280d8)
Diffstat (limited to 'init/action_parser.cpp')
0 files changed, 0 insertions, 0 deletions