blob: 8f4fb019b3e2e8fe81d244b90484dbd9fcc4af0c [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001diff --git a/system/core/init/service.cpp b/system/core/init/service.cpp
2index ac4070c..a040632 100644
3--- a/system/core/init/service.cpp
4+++ b/system/core/init/service.cpp
5@@ -860,13 +860,16 @@ void ServiceParser::EndSection() {
6 }
7
8 bool ServiceParser::IsValidName(const std::string& name) const {
9- if (name.size() > 16) {
10+ if (name.size() > 92) {
11 return false;
12 }
13- for (const auto& c : name) {
14+
15+ /*
16+ for (const auto& c : name) {
17 if (!isalnum(c) && (c != '_') && (c != '-')) {
18 return false;
19 }
20- }
21+ }
22+ */
23 return true;
24 }