platform_system_core/toolbox
Tom Cherry 65a1ee83a8 toolbox: add setprop, start, and stop
Move these from toybox as they're Android specific and more easily
maintained here.

A few changes during the conversion:
* Report error in setprop if value is not a UTF8 string; this would
  previously fail only after attempting to set the property
* Inform users to check dmesg for further failure messages for all
  three programs
* Only start/stop zygote_secondary if the device is not single arch

Bug: 117321744
Bug: 133901248
Test: setprop works, start and stop work on single and multi-arch.

Change-Id: Id2194cf2b65221bde38aff91f0e86b33edb37f42
2019-06-06 11:20:29 -07:00
..
upstream-netbsd/usr.bin/grep grep: fix ASan heap-buffer-overflow. 2019-04-01 10:58:38 -07:00
Android.bp toolbox: add setprop, start, and stop 2019-06-06 11:20:29 -07:00
generate-input.h-labels.py Fix the generated getevent labels. 2016-06-29 14:12:29 -07:00
getevent.c toolbox: getevent: disable stdout buffering 2019-01-15 16:42:59 +01:00
getprop.cpp newfs_msdos: switch to external/newfs_msdos. 2018-06-13 13:21:24 -07:00
MODULE_LICENSE_APACHE2 newfs_msdos: switch to external/newfs_msdos. 2018-06-13 13:21:24 -07:00
NOTICE newfs_msdos: switch to external/newfs_msdos. 2018-06-13 13:21:24 -07:00
OWNERS Add OWNERS. 2017-12-07 13:30:03 -08:00
setprop.cpp toolbox: add setprop, start, and stop 2019-06-06 11:20:29 -07:00
start.cpp toolbox: add setprop, start, and stop 2019-06-06 11:20:29 -07:00
toolbox.c Fix toolbox failure return to match similar tools. 2016-04-12 08:40:43 -07:00
tools.h toolbox: add setprop, start, and stop 2019-06-06 11:20:29 -07:00