Reserve some AIDs for OEMs

OEMs frequently add some AIDs on their own. Reserve some range
for them to use.

Change-Id: I3c729c889c9bd3e105ae4f6fb0c04a42a10eb25c
Merge "Reserve some AIDs for OEMs"
bionic's struct stat is now POSIX-compliant.

Right now we still have the kernel names, but they're only there by
"virtue" of macro namespace pollution, so I'd like to get rid of them.

Bug: 18298106
Change-Id: Ifed0b3a9238c79a99d8a2b62e0f5897c50a725d1
Merge "bionic's struct stat is now POSIX-compliant."
init isn't built for platforms without dirent::d_type.

Change-Id: Icd4b431576f2ba619ff4ae6fb871bb0210d3b2f2
Merge "init isn't built for platforms without dirent::d_type."
When new error happend,then errno should be updated accordingly.
Otherwise, need to keep previous errno.

Reproduced steps:
pre-condition:
DUT support external SDcard or Usb mass storage;

1. Insert blank(no partition) SDcard or UMS to DUT;

Expected result:
Should prompt user with storage error.

Test result:
There is no notification for error.

Error log:
01-01 01:06:49.239 I/fsck_msdos( 200): fsck_msdos terminated by exit(8)
01-01 01:06:49.239 E/Vold ( 200): /dev/block/vold/179:16 failed FS checks (I/O error)
01-01 01:06:49.239 D/Vold ( 200): Volume sdcard1 state changing 3 (Checking) -> 1 (Idle-Unmounted)
01-01 01:06:49.239 W/Vold ( 200): Returning OperationFailed - no handler for errno 0)

Root cause analysis:
1.Volume::setState will call senBroadcase to send out state notification;
2.Finally, SocketClient::sendDataLockedv was called to sent message.
In sendDataLockedv funtion,  when current == iovcnt,  e is 0 by default.
So Vold get incorrect errno.

Change-Id: Icb32a4193f02f22b5e3feaba177bc278f8f1f41b
Signed-off-by: Bo Huang <bo.b.huang@intel.com>
Merge "When new error happend,then errno should be updated accordingly. Otherwise, need to keep previous errno."
Fix formatting in 4df4dfedf6beef891d05d4e80704f5f4a594a885.

Change-Id: I1ad219285cb1f4a39cfe2bdef224b78eff843317
Merge "Fix formatting in 4df4dfedf6beef891d05d4e80704f5f4a594a885."
kill HAVE_POSIX_FILEMAP

Bug: 18315579
Change-Id: I0bd5fb946b12cb90e0c9c73a478df41609b8c3e2
Merge "kill HAVE_POSIX_FILEMAP"
property_service: Added vendor build properties to load_all_props

Change-Id: I267bd848e1f6e2978024c07e603b25f1f41f5fbf
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Merge "property_service: Added vendor build properties to load_all_props"
Remove the stlport linked libbacktrace.

Rename the libc++ linked libbacktrace to the normal name.

Bug: 15193147
Change-Id: I75caf1ee527e3703825e0db757497fb8fa3dd122
Move some tests to libc++.

Bug: 15193147
Change-Id: I93244e4a5d0c751056910ec8005a92401d305716
Merge "Move some tests to libc++."
Move liblog tests and benchmarks to libc++.

Bug: 15193147
Change-Id: Ib063eb9490e40f9d10c0b0f29b7808c729e4fff9
Merge "Move liblog tests and benchmarks to libc++."
Revert "Move some tests to libc++."

The build system is still linking both libgcc and libcompiler-rt,
which is causing duplicate symbol errors on some architectures. This
requires a fix in the build system, so reverting for now.

This reverts commit e3cccbfd4776644c7cb705d52f51ca948df34f9a.