Nick Kralevich
0a316829fb
am 398ade81: am 7bb72b73: Merge "seclabel use on services out of system partition"
...
* commit '398ade817b64308cabbf10883ab5a74e4850e43d':
seclabel use on services out of system partition
2015-02-26 01:13:24 +00:00
Nick Kralevich
3178c83a02
am 895623e5: Merge "check if uid=0 before attempting remount"
...
* commit '895623e5cafc35450bc6cef5f6d4ca7195c6b08c':
check if uid=0 before attempting remount
2015-02-26 01:07:13 +00:00
Nick Kralevich
398ade817b
am 7bb72b73: Merge "seclabel use on services out of system partition"
...
* commit '7bb72b73b0291636721d83a45adad175163361ec':
seclabel use on services out of system partition
2015-02-26 01:07:12 +00:00
Nick Kralevich
895623e5ca
Merge "check if uid=0 before attempting remount"
2015-02-26 00:28:43 +00:00
Nick Kralevich
268eb4f384
check if uid=0 before attempting remount
...
If "adb remount" is done without having done "adb root" first,
scary looking SELinux denials are emitted before the operation
eventually fails. Avoid the scary looking messages by refusing
remount attempts if we're not running with privileges.
Change-Id: I298621251a10e38345ef77875003a97c8b5a0270
2015-02-25 16:27:31 -08:00
Nick Kralevich
7bb72b73b0
Merge "seclabel use on services out of system partition"
2015-02-26 00:23:19 +00:00
Mark Salyzyn
80783dea1d
am f7690b03: am 15e625f7: am da261978: Merge "logcat: Add -D print dividers flag"
...
* commit 'f7690b03999b66e8c7a28f761d3ebf671239b5d6':
logcat: Add -D print dividers flag
2015-02-25 23:52:43 +00:00
Mark Salyzyn
f7690b0399
am 15e625f7: am da261978: Merge "logcat: Add -D print dividers flag"
...
* commit '15e625f7dc24890603f30db5cdac75daf323a39d':
logcat: Add -D print dividers flag
2015-02-25 23:48:54 +00:00
Mark Salyzyn
15e625f7dc
am da261978: Merge "logcat: Add -D print dividers flag"
...
* commit 'da26197873c97515d1e59137b8347667689ced42':
logcat: Add -D print dividers flag
2015-02-25 23:42:42 +00:00
Mark Salyzyn
da26197873
Merge "logcat: Add -D print dividers flag"
2015-02-25 23:34:47 +00:00
Dan Albert
8d21303482
am 9206c1c2: am a100a2ef: am a2fc0f86: Merge "Test readx/writex (now renamed)."
...
* commit '9206c1c20b22e65a04b0b523bbef92ceb92d97ba':
Test readx/writex (now renamed).
2015-02-25 23:32:45 +00:00
Dan Albert
9206c1c20b
am a100a2ef: am a2fc0f86: Merge "Test readx/writex (now renamed)."
...
* commit 'a100a2efd6674faf919bec18b7da8611e0efdb7f':
Test readx/writex (now renamed).
2015-02-25 23:24:34 +00:00
Dan Albert
a100a2efd6
am a2fc0f86: Merge "Test readx/writex (now renamed)."
...
* commit 'a2fc0f86a1618fe9605a085c34ec7f088f0872f5':
Test readx/writex (now renamed).
2015-02-25 23:17:54 +00:00
Dan Albert
a2fc0f86a1
Merge "Test readx/writex (now renamed)."
2015-02-25 23:11:06 +00:00
Dan Albert
cc731cc767
Test readx/writex (now renamed).
...
Renamed readx/writex to ReadFdExactly/WriteFdExactly respectively.
These read/write a full fixed-size buffer. If the whole buffer cannot
be read/written, these functions return an error.
Rename write_string to WriteStringFully.
Move the TEMP_FAILURE_RETRY definition in sysdeps.h out of the
!Windows section. It seems Windows won't actually interrupt a call,
but it's easier to just define it than to #ifdef each call.
Change-Id: Ia8ddffa2a52764a2f9a281c96c937660e002b9b9
2015-02-25 15:07:57 -08:00
Mark Salyzyn
7b30ff8d87
logcat: Add -D print dividers flag
...
Permits a single thread to collect several log buffer and
to separate them out into named buckets by keying off the
dividers ---------
Change-Id: I5a92c67383a73ea566cb9b9732d26d88d9c41c66
2015-02-25 23:03:40 +00:00
Dan Albert
0bcf1a5741
am 2e850d8d: am ac3bbfad: am a035d500: Merge "Remove _(GNU|XOPEN)_SOURCE makefile cruft."
...
* commit '2e850d8d96a27c6a47194854933e7d3f6efca203':
Remove _(GNU|XOPEN)_SOURCE makefile cruft.
2015-02-25 19:31:21 +00:00
Dan Albert
003015d564
am 72c6ed35: am e4fe476e: am 948ae1b9: Merge "Add some basic tests to adb."
...
* commit '72c6ed35e25cb57c14ac29d4919ce6c5b959bc46':
Add some basic tests to adb.
2015-02-25 19:26:50 +00:00
Dan Albert
2e850d8d96
am ac3bbfad: am a035d500: Merge "Remove _(GNU|XOPEN)_SOURCE makefile cruft."
...
* commit 'ac3bbfadb931737705adbee5ddf09cf424f6932c':
Remove _(GNU|XOPEN)_SOURCE makefile cruft.
2015-02-25 19:24:28 +00:00
Dan Albert
72c6ed35e2
am e4fe476e: am 948ae1b9: Merge "Add some basic tests to adb."
...
* commit 'e4fe476e38ff3bbdac619b5a9cf65b3133137cff':
Add some basic tests to adb.
2015-02-25 19:19:20 +00:00
Dan Albert
ac3bbfadb9
am a035d500: Merge "Remove _(GNU|XOPEN)_SOURCE makefile cruft."
...
* commit 'a035d5003ea593322ba565df9a4f4d0dd6647acf':
Remove _(GNU|XOPEN)_SOURCE makefile cruft.
2015-02-25 19:18:32 +00:00
Dan Albert
e4fe476e38
am 948ae1b9: Merge "Add some basic tests to adb."
...
* commit '948ae1b9353545119a89b6fb8fe8380d4039a366':
Add some basic tests to adb.
2015-02-25 19:13:05 +00:00
Dan Albert
a035d5003e
Merge "Remove _(GNU|XOPEN)_SOURCE makefile cruft."
2015-02-25 19:11:14 +00:00
Dan Albert
7fd821e907
Remove _(GNU|XOPEN)_SOURCE makefile cruft.
...
None of the functions that require these are used.
Change-Id: I10cffab127795b94340131f8737f7924b9138f9e
2015-02-25 11:08:21 -08:00
Dan Albert
948ae1b935
Merge "Add some basic tests to adb."
2015-02-25 19:06:39 +00:00
Elliott Hughes
7f4e0138ab
am 0beef09b: am 58b81bf8: am a82f2b25: Merge "Support "fastboot reboot bootloader"."
...
* commit '0beef09b1c10ca7d1699078f7b9f2e0912854160':
Support "fastboot reboot bootloader".
2015-02-25 18:57:43 +00:00
Dan Albert
055f1aa4ff
Add some basic tests to adb.
...
Change-Id: I946b5b1e5650540db3b4f75892214c4218b3baf3
2015-02-25 10:57:26 -08:00
Elliott Hughes
0beef09b1c
am 58b81bf8: am a82f2b25: Merge "Support "fastboot reboot bootloader"."
...
* commit '58b81bf81b2fc67cffe5908a38291f32256a0ea2':
Support "fastboot reboot bootloader".
2015-02-25 18:50:40 +00:00
Dan Albert
b5cec1ea5c
am 3b7ccba7: am 186a38bc: am d75d6c91: Merge "Fix the mac build."
...
* commit '3b7ccba743db3a8922658f728232f9584b40ff83':
Fix the mac build.
2015-02-25 18:47:40 +00:00
Elliott Hughes
58b81bf81b
am a82f2b25: Merge "Support "fastboot reboot bootloader"."
...
* commit 'a82f2b259076135017a2665bfbc3344826e9112f':
Support "fastboot reboot bootloader".
2015-02-25 18:47:07 +00:00
Elliott Hughes
a82f2b2590
Merge "Support "fastboot reboot bootloader"."
2015-02-25 18:43:04 +00:00
Dan Albert
3b7ccba743
am 186a38bc: am d75d6c91: Merge "Fix the mac build."
...
* commit '186a38bc7be031af7211dd9a4ecbd071a573fd9a':
Fix the mac build.
2015-02-25 18:40:55 +00:00
Dan Albert
186a38bc7b
am d75d6c91: Merge "Fix the mac build."
...
* commit 'd75d6c91d24c071534ed36db85a1e72b33dc5a10':
Fix the mac build.
2015-02-25 18:34:26 +00:00
Dan Albert
d75d6c91d2
Merge "Fix the mac build."
2015-02-25 18:27:41 +00:00
Dan Albert
dc0f8ecb24
Fix the mac build.
...
Change-Id: Ieb6f2650ce5f39f1d8c938d0ca8cbec459d8e2fd
2015-02-25 10:26:17 -08:00
Mark Salyzyn
581a20b8ed
am ac947104: am f5579498: am 110166c1: Merge "liblog: introduce ANDROID_LOG_* flags"
...
* commit 'ac9471041e5c2d2903ce6470a35ba5b3baf80aa0':
liblog: introduce ANDROID_LOG_* flags
2015-02-25 18:24:17 +00:00
Mark Salyzyn
ac9471041e
am f5579498: am 110166c1: Merge "liblog: introduce ANDROID_LOG_* flags"
...
* commit 'f5579498d93e1ba56aaf23765f3693dfddab8599':
liblog: introduce ANDROID_LOG_* flags
2015-02-25 18:16:47 +00:00
Mark Salyzyn
f5579498d9
am 110166c1: Merge "liblog: introduce ANDROID_LOG_* flags"
...
* commit '110166c1dbcbe26e510ac3fdaf2e1fcc7efbcc4e':
liblog: introduce ANDROID_LOG_* flags
2015-02-25 18:12:48 +00:00
Mark Salyzyn
110166c1db
Merge "liblog: introduce ANDROID_LOG_* flags"
2015-02-25 18:07:02 +00:00
Elliott Hughes
ca85df0662
Support "fastboot reboot bootloader".
...
This matches the more general adb syntax, though the fastboot
protocol doesn't support rebooting into the recovery image.
Change-Id: I6d93d4c63d4a9b81c71e681e7a7bf76867fba019
2015-02-25 10:02:00 -08:00
Mark Salyzyn
2d3f38a6b8
liblog: introduce ANDROID_LOG_* flags
...
Move away from using POSIX open(2) flags and introduce ANDROID_LOG_* flags to
replace them. Add security by preventing random mode flags from getting into
underlying POSIX calls. ANDROID_LOG_* flags overlap POSIX O_* flag definitions.
Change-Id: Ib32bb64c287e8bf150be62242e1ba46bb37839fc
2015-02-25 17:44:18 +00:00
Dan Albert
533d53fb44
am 5127e557: am 16f3d361: am 72bf2a71: Merge "Move transport declarations into transport.h."
...
* commit '5127e55718ef3bcdd239ef6c4e2af8ac48844317':
Move transport declarations into transport.h.
2015-02-25 17:00:00 +00:00
Dan Albert
f61d2c1935
am 1ed23507: am 01eed218: am f5f9dd57: Merge "Add .clang-format file."
...
* commit '1ed23507f751d0d9c6636b6b5f179fd85fd65266':
Add .clang-format file.
2015-02-25 16:59:57 +00:00
Dan Albert
57d4744f74
am 5caa1907: am 290a6b33: am 5329d3fd: Merge "Add a project wide clang switch."
...
* commit '5caa19077ab32c7ba58c345e1c57bfa1c38abdfb':
Add a project wide clang switch.
2015-02-25 16:59:55 +00:00
Elliott Hughes
1ec46c5e2c
am 85497fb9: am 47b0946b: am 70385f30: Merge "Remove the emulator special case from the "adb root" code."
...
* commit '85497fb9148e498b5f4123b6fb68dd712ee3f0d5':
Remove the emulator special case from the "adb root" code.
2015-02-25 16:59:54 +00:00
Dan Albert
588436007c
am 292a9c12: am e780a43e: am 17f26790: Merge "Make Python tests only check the current device."
...
* commit '292a9c12a3d1bc9155652d232fd6aade7277c7de':
Make Python tests only check the current device.
2015-02-25 16:59:53 +00:00
Mark Salyzyn
0a20f28945
am 4bb4e626: am cd9ea7ad: am 5526a897: Merge "init: grab-bootchart.sh: run bootchart and display results"
...
* commit '4bb4e626c30e64142a49593e82d0391f179ffd64':
init: grab-bootchart.sh: run bootchart and display results
2015-02-25 16:59:51 +00:00
Dan Albert
e022bed7e2
am 01ba7582: am 2c504467: am d6e9a1f5: Merge "Fix Mac build."
...
* commit '01ba75828232da74cc066df5376812f3387676b9':
Fix Mac build.
2015-02-25 16:59:50 +00:00
Dan Albert
d302d84cc5
am 7998e6c5: am 4868ec8c: am a63b7d59: Merge "Fix Windows SDK build."
...
* commit '7998e6c50f94486d4ac9bb268d73a73c6eb5d592':
Fix Windows SDK build.
2015-02-25 16:59:49 +00:00
Elliott Hughes
cd7fc17698
am 34af320e: am aaa61ab9: am db3a5d98: Merge "Add missing <stdlib.h> to adb_listeners.c."
...
* commit '34af320ed70c67077c43929bf177afa02d59d11a':
Add missing <stdlib.h> to adb_listeners.c.
2015-02-25 16:59:46 +00:00