aboutsummaryrefslogtreecommitdiff
path: root/toys/android/setprop.c
AgeCommit message (Collapse)Author
2017-01-25Remove name length limit for system propertiesDimitry Ivanov
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
2016-12-28Switch to bionic <sys/system_properties.h>.Elliott Hughes
Removes the dependency on libcutils for everything except ps.
2016-10-24Android O allows '@' in property names.Elliott Hughes
Bug: http://b/32371104
2015-04-20Switch setprop to use TOYBOX_ON_ANDROID and fix getprop include.Rob Landley
(I commented out the android-only #include in getprop to do what compile testing I could, and then forgot to uncomment it.)
2015-04-18Android getprop and setprop from Elliott Hughes.Rob Landley