History log of /external/toybox/toys/android/setprop.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
11c385314ac0fac9694509639b03aa88a2ee5f6c 12-Oct-2017 Tom Cherry <tomcherry@google.com> Allow ro. properties to have arbitrary lengths

Android now allows ro. properties to have arbitrary lengths. Two
changes need to happen to support this:

1) The length check in setprop.c before attempting to set a property
needs to be removed for ro. properties
2) __system_property_read_callback() must be used in place of
__system_property_get() in getprop.c as only the former is capable
of reading properties with size > 92 characters.

Bug: 23102347
Bug: 34954705
Change-Id: Ib8565a3e6d987dd5e6a5fe790e804ecf8ad1e020
/external/toybox/toys/android/setprop.c
51a1e91d263ad14ffd4b57ff0c22d3ff02799ceb 31-May-2017 Elliott Hughes <enh@google.com> Allow ':' in property names.

Bug: http://b/62114389
Test: setprop
Change-Id: I165bcc01bb2422d991f746c5e6490cbdfb74472f
/external/toybox/toys/android/setprop.c
102841199bee9cc76f3fff4335d6dbdd3c0cc8ab 25-Jan-2017 Dimitry Ivanov <dimitry@google.com> Remove name length limit for system properties

Android O removes name length limit for system properties.

Use __system_property_read_callback instead of deprecated
__system_property_read in getprop and remove check for
property name length in setprop.

Test: adb shell setprop debug.test.very.very.long.property.name valueforpropertywithlongname
Test: adb shell getprop | grep debug.test.very.very.long.property.name
Bug: http://b/33926793
Change-Id: I57ca99ea33283d069cd1b7b9f110ec9fb27f3d19
/external/toybox/toys/android/setprop.c
45c6b12a0a0f09054ab1fee9197860aee27b2e8a 27-Dec-2016 Elliott Hughes <enh@google.com> Switch to bionic <sys/system_properties.h>.

Removes the dependency on libcutils for everything except ps.
/external/toybox/toys/android/setprop.c
4a17bdf4a7b4db001e9602410587be83be8bce3b 25-Oct-2016 Elliott Hughes <enh@google.com> Android O allows '@' in property names.

Bug: http://b/32371104
/external/toybox/toys/android/setprop.c
e5fb6a28ffb09782e4df08251956f42c48445147 21-Apr-2015 Rob Landley <rob@landley.net> Switch setprop to use TOYBOX_ON_ANDROID and fix getprop include.

(I commented out the android-only #include in getprop to do what compile
testing I could, and then forgot to uncomment it.)
/external/toybox/toys/android/setprop.c
d5566b3bf443b19ec511d702b4f03e352afafc86 19-Apr-2015 Rob Landley <rob@landley.net> Android getprop and setprop from Elliott Hughes.
/external/toybox/toys/android/setprop.c