diff options
| author | Iliyan Malchev <malchev@google.com> | 2016-09-19 20:58:20 -0700 |
|---|---|---|
| committer | Steven Moreland <smoreland@google.com> | 2016-10-26 08:46:24 -0700 |
| commit | f655480b48b75e0ec295a2468cf3dd22ccb92ddd (patch) | |
| tree | 607372af3e09fad2e885af2122665596c7b0426b /libutils/ProcessCallStack.cpp | |
| parent | fbe0b4554480c0ba111f76a5a19dd60d952dfab7 (diff) | |
init: allow '.' and '@' in service names
Services implementing HIDL HALs must be named the same as the HIDL
package, e.g. android.hardware.nfc@1.0. Allow init to accept names
containing '.' and '@'.
Also combined logic for legal property names and legal service names.
Bug: 31458381
Bug: 32109611
Test: Tested creating service nfc@1.0-service which creates property
'init.svc.nfc@1.0-service' with and without this change. This service
successfully started only with this change.
Change-Id: Ie7a4310742bc03498d774d37b3b5fafa7c6068cc
Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions
