Merge (-sours) commit 'ae7b91b68008ab09635a97a18e7d07a35e8404aa' into HEAD

* commit 'ae7b91b68008ab09635a97a18e7d07a35e8404aa':
  debuggerd: Show function names in tombstone backtraces
Merge (-sours) commit 'c6793c5290763362e70fd60a8d735c49af09c76e' into HEAD

* commit 'c6793c5290763362e70fd60a8d735c49af09c76e':
  Include the linenoise.h header in a cleaner way.
  Move linenoise to its own static library.
  Add simple readline-like input editing to the android shell.
Merge commit '6ac3aa157493ef24bc837b679dd8292fad8961e0' into HEAD

* commit '6ac3aa157493ef24bc837b679dd8292fad8961e0':
  libusbhost: Remove global data to allow multiple instances in the same process.
Merge commit '36b99e4cac293ae4b2400ae3fcc06b7056893060' into HEAD

* commit '36b99e4cac293ae4b2400ae3fcc06b7056893060':
  adb: Adjust usb_linux.c for changes in libusbhost API.
Do not flash recovery on boot.

Change-Id: Idc287d249e5a3d4a3a85fdac2f0c83c4f18b1ba0
adb shell should favor /sbin/sh if it exists. This lets you use adb shell from recovery without using the /system/bin/sh and loading /system/lib/libc.so and leaving it in memory. This causes umount /system issues.

adb shell command should also prefer /sbin/sh if a command is passed in directly, such as "adb shell date"
unpackbootimg (squashed)

unpackbootimg ported forward from eclair

Change-Id: I74d2df0b47d40e7105cc58c2b05f8f383dc7f8a0

port forward pagesize arg from eclair

Change-Id: Ia789a4f392a3890aa0efa7efb42032482b48beb0

unpackbootimg should output BOARD_PAGE_SIZE

Change-Id: Ieb5cda01943a33da97eee4d025f56c2c6e7560e8

output page size in mkbootimg

add an option to override the pagesize for boot images created by nubs. ie, acer liquid mkliquidbootimg.

Change-Id: Ie0c7e67edf5ae59019517e72b9be8c0b81388e41

Fix module tags.

Change-Id: If6ee3fef025f568f8a8953cdd3cabb2cf9078dbd

Fix compile warnings in mkbootimg

Change-Id: I24789dbed52d6977b1462724f5722dd32d386c63
Signed-off-by: Eddie Ringle <eddie.ringle@gmail.com>
Skip some symlinks if TINY_TOOLBOX is set.

Change-Id: I34f0dbf60df17f9d29c40f3a683af5cd51b2f40a

toolbox: Don't link lsof if TINY_TOOLBOX is set

Change-Id: I5618c0a0a8449d3e87baf569a4b7b994469071f9

Build mkdir only for TINY_TOOLBOX

Change-Id: I1b074a81c18ec8241f77826b33049cad4dfdc562
FM: Set hcitool permissons for FM radio support

This patch will go away when the need to call hcitool directly is fixed.
add sd-ext mount point

Change-Id: I9e315c38048f98d8f0aaa28c80b4b7ea38db6187
set system/etc/init.d/ permissions

Change-Id: Iedbe7939fc8842a519143cd0fe81b7a8731c4707
Add support for exec command in init.

Fix do_exec.

Set ANDROID_PROPERTY_WORKSPACE in exec.
core: port forward load /system/etc/init.rc.local & run /system/bin/sysinit

Change-Id: Ic691c646558ddf842856f97236d055f5664b65f7
Added umount to init

Change-Id: I0ef73be781d4e6bf7d127b4ef83d0e86ef52e70a
Allow 'system' user to modify cpufreq control files

This is needed by new CPU Settings in CMParts

Change-Id: I0ec4e0b1705670034a433df549b2895985c476af
allow 'radio' user to set properties 'net.pdp0'

samsung uses pdp0 for mobile dataconnection.

Change-Id: I856dd346d29842f2a5ee68a8e28f8f6ef7d54889
add libreboot static library

this is a simple library that implements the "reboot_wrapper()"
call, which allows some nifty hax to happen before reboot for
devices that require it, without the need for identical code to
be maintained in multiple locations.

the idea is that ALL PARTS OF ANDROID will use this library to
reboot the system.

Change-Id: Id2c17191ebeb3bb171463f5e6683d6fdf2fff795

fixups for recovery, using __system rather than system

Change-Id: Ia50ab9a0d0e9cd4a62c14ea7ea02fed5470f5ce7

Allow overriding reboot with a default reason if none is provided.

Change-Id: I7ecc979775f5a8852a16693aae10dbcdb81bafa6
Set screenshot helper permissions

The screenshot tool needs direct access to the framebuffer on
devices which can't access it with EGL (lack of OpenGLES 2)

Change-Id: Ib2313a80b3a120541d3efb591552fe590b4a79fb
Include utilities in user builds
Revert "FM: Set hcitool permissons for FM radio support"

This reverts commit 1ac888582fddf93a9f9f4e53ca7487b40bbf147f.