commit | fc6faf8396059abe3de5be99289e641510e5c237 | [log] [tgz] |
---|---|---|
author | Iliyan Malchev <malchev@google.com> | Mon Sep 19 22:16:19 2016 -0700 |
committer | Steven Moreland <smoreland@google.com> | Mon Oct 24 08:46:06 2016 -0700 |
tree | 548e4e8e2a434ac099d4a8fad81f2c40eec3e273 | |
parent | 733cb57aa31a2835c5dcfc66096f4d0ad3155591 [diff] |
init: account for "init.svc." prefix in IsValidName For each service ${service} described in a .rc file, init creates the property init.svc.${service}. This implies that service-name lengths are bound by the maximum size of a property. This patch accounts for the "init.svc." prefix and the maximum property-name length when validating a service name. Test: pass Change-Id: I32dffa37363b41a8211f7644600b81973d30a3b2 Signed-off-by: Iliyan Malchev <malchev@google.com>