diff options
| author | Iliyan Malchev <malchev@google.com> | 2016-09-19 22:16:19 -0700 |
|---|---|---|
| committer | Steven Moreland <smoreland@google.com> | 2016-10-24 08:46:06 -0700 |
| commit | 00860da2f053275442cc5475c52462df510fcaa3 (patch) | |
| tree | 548e4e8e2a434ac099d4a8fad81f2c40eec3e273 /libcutils/socket_local_server_unix.cpp | |
| parent | 0ca2fe4c43e4d525979befd0a59d80fb0a9fa649 (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>
Diffstat (limited to 'libcutils/socket_local_server_unix.cpp')
0 files changed, 0 insertions, 0 deletions
