commit | 16b2a4de143a026b8d467b7d242126adcf67242b | [log] [tgz] |
---|---|---|
author | Dimitry Ivanov <dimitry@google.com> | Tue Jan 24 20:43:29 2017 +0000 |
committer | Dimitry Ivanov <dimitry@google.com> | Tue Jan 24 12:58:18 2017 -0800 |
tree | 56e0d6455248408f5c485c8a5403bb970441f7a8 | |
parent | 40250bb6837da0eb0f0882efd07bdaefb3f304b1 [diff] [blame] |
Revert "Revert "Remove limit of system property name length"" This reverts commit 489f58b5eaedd5a80635bb3a7b39e97037c585f6. Bug: http://b/33926793 Bug: http://b/34670529 Test: Run bionic-unit-tests --gtest_filter=prop* Change-Id: Id4e94652dc2310a21f5b7bd3af098bf79df3f380
diff --git a/libc/bionic/system_properties_compat.c b/libc/bionic/system_properties_compat.c index 6aeaa0c..ba73a2c 100644 --- a/libc/bionic/system_properties_compat.c +++ b/libc/bionic/system_properties_compat.c
@@ -43,6 +43,7 @@ #define TOC_NAME_LEN(toc) ((toc) >> 24) #define TOC_TO_INFO(area, toc) ((prop_info_compat*) (((char*) area) + ((toc) & 0xFFFFFF))) +#define SERIAL_VALUE_LEN(serial) ((serial) >> 24) struct prop_area_compat { unsigned volatile count;