Commit graph

13401 commits

Author SHA1 Message Date
Elliott Hughes
1ef8498d02 am 4ce3c828: am 0cd316a4: am 5db3936d: Merge "Log more timing information from init."
* commit '4ce3c8288ba030c2d2a80cf94ceb5d2f84a66d26':
  Log more timing information from init.
2015-03-28 17:10:38 +00:00
Elliott Hughes
4ce3c8288b am 0cd316a4: am 5db3936d: Merge "Log more timing information from init."
* commit '0cd316a46b7903b7d014280cca1f4b67748bc517':
  Log more timing information from init.
2015-03-28 16:58:34 +00:00
Elliott Hughes
0cd316a46b am 5db3936d: Merge "Log more timing information from init."
* commit '5db3936dbe6fa73d45ab0f02b7166f43680084d3':
  Log more timing information from init.
2015-03-28 16:50:35 +00:00
Elliott Hughes
5db3936dbe Merge "Log more timing information from init." 2015-03-28 16:46:06 +00:00
Elliott Hughes
da40c00137 Log more timing information from init.
Also make important events in init's life NOTICE rather than INFO,
and ensure that NOTICE events actually make it to the kernel log.

Also fix the logging so that if you have a printf format string
error, the compiler now catches it.

Also give messages from init, ueventd, and watchdogd distinct tags.
(Previously they'd all call themselves "init", and dmesg doesn't
include pids, so you couldn't untangle them.)

Also include the tag in SELinux messages.

Bug: 19544788
Change-Id: Ica6daea065bfdb80155c52c0b06f346a7df208fe
2015-03-28 00:25:22 -07:00
Dan Albert
d854481f6c am bfebb61b: am 10cc88c1: am e29744d9: Merge "Remove uses of libcxx.mk."
* commit 'bfebb61b4c0c63e5ecc2043354f07318b0e576ef':
  Remove uses of libcxx.mk.
2015-03-27 23:11:43 +00:00
Dan Albert
bfebb61b4c am 10cc88c1: am e29744d9: Merge "Remove uses of libcxx.mk."
* commit '10cc88c1a5b935c7850658b8b5fa2eda7a36807e':
  Remove uses of libcxx.mk.
2015-03-27 20:39:44 +00:00
Dan Albert
10cc88c1a5 am e29744d9: Merge "Remove uses of libcxx.mk."
* commit 'e29744d94df787fa83307572d90a954b1592f69b':
  Remove uses of libcxx.mk.
2015-03-27 18:43:43 +00:00
Dan Albert
e29744d94d Merge "Remove uses of libcxx.mk." 2015-03-27 18:33:41 +00:00
Dan Albert
d0a793dca3 Remove uses of libcxx.mk.
This is a no-op.

Change-Id: Iecbcd5f6d818abbf98767a2e996c10f454b652e4
2015-03-27 11:24:04 -07:00
Dan Albert
c38eb8f390 am 552d827f: am a6ad2e7e: am 42f11922: Merge "Pull in Windows compatibility header."
* commit '552d827f7e12e8b838c8f5c7e935ed2c9f1952f5':
  Pull in Windows compatibility header.
2015-03-27 07:00:31 +00:00
Dan Albert
73da2ec080 am 22d9450d: am a82875c6: am 5188d556: Merge "Include what we use."
* commit '22d9450d870d6c484a7c542649206bc8616957d4':
  Include what we use.
2015-03-27 07:00:30 +00:00
Dan Albert
ac197dd2af am 1188a4d8: am a596623f: am 6ccfabcf: Merge "O_CLOEXEC is O_NOINHERIT on Windows."
* commit '1188a4d856f6c840a2d39c44e35ba3f3cd86b3a5':
  O_CLOEXEC is O_NOINHERIT on Windows.
2015-03-27 06:55:14 +00:00
Dan Albert
552d827f7e am a6ad2e7e: am 42f11922: Merge "Pull in Windows compatibility header."
* commit 'a6ad2e7ed87e57b857b55e7256e64617e3d1faf0':
  Pull in Windows compatibility header.
2015-03-27 06:48:43 +00:00
Dan Albert
22d9450d87 am a82875c6: am 5188d556: Merge "Include what we use."
* commit 'a82875c6fde9cc07fd08bf49bc3d8896ce11e2f2':
  Include what we use.
2015-03-27 06:48:42 +00:00
Dan Albert
1188a4d856 am a596623f: am 6ccfabcf: Merge "O_CLOEXEC is O_NOINHERIT on Windows."
* commit 'a596623fbf3c38e08ee5b3d2663f96258492e452':
  O_CLOEXEC is O_NOINHERIT on Windows.
2015-03-27 06:41:07 +00:00
Dan Albert
a6ad2e7ed8 am 42f11922: Merge "Pull in Windows compatibility header."
* commit '42f1192273f3d05531c3fcfc8ce0fe5c437f6b7f':
  Pull in Windows compatibility header.
2015-03-27 06:40:49 +00:00
Dan Albert
a82875c6fd am 5188d556: Merge "Include what we use."
* commit '5188d556d1530b3675dab2fc30dcc17432aa0718':
  Include what we use.
2015-03-27 06:40:48 +00:00
Dan Albert
42f1192273 Merge "Pull in Windows compatibility header." 2015-03-27 06:35:54 +00:00
Dan Albert
5188d556d1 Merge "Include what we use." 2015-03-27 06:35:14 +00:00
Dan Albert
a596623fbf am 6ccfabcf: Merge "O_CLOEXEC is O_NOINHERIT on Windows."
* commit '6ccfabcf5d547a04a1e6c5237f20670230a7f6a4':
  O_CLOEXEC is O_NOINHERIT on Windows.
2015-03-27 06:34:45 +00:00
Dan Albert
94d1360f7e Pull in Windows compatibility header.
Needed for O_CLOEXEC, O_NOFOLLOW, and DEFFILEMODE.

Change-Id: Id6c0465a6559c30ac8c085c28be0d47c9738f02a
2015-03-26 23:33:28 -07:00
Dan Albert
6ccfabcf5d Merge "O_CLOEXEC is O_NOINHERIT on Windows." 2015-03-27 06:29:40 +00:00
Dan Albert
c6b30f376d O_CLOEXEC is O_NOINHERIT on Windows.
Change-Id: I714aa08344fa10684c99651f953834086cc162c7
2015-03-26 23:24:15 -07:00
Dan Albert
4b3f533be9 Include what we use.
Change-Id: If510431d3d445de94f781b4fdec2e1b445f7c294
2015-03-26 23:23:43 -07:00
Dan Albert
efc6379e29 am 43ac22f4: am be1eb6d4: am 87378814: Merge "adb shell: Win32: fix Ctrl-C, tab completion, line editing, server echo"
* commit '43ac22f49ffabd59cc1cd1edbea46addeeafc717':
  adb shell: Win32: fix Ctrl-C, tab completion, line editing, server echo
2015-03-27 05:54:22 +00:00
Dan Albert
43ac22f49f am be1eb6d4: am 87378814: Merge "adb shell: Win32: fix Ctrl-C, tab completion, line editing, server echo"
* commit 'be1eb6d4358dc3e66f2717d2d5da570b67a00415':
  adb shell: Win32: fix Ctrl-C, tab completion, line editing, server echo
2015-03-27 05:41:41 +00:00
Dan Albert
be1eb6d435 am 87378814: Merge "adb shell: Win32: fix Ctrl-C, tab completion, line editing, server echo"
* commit '87378814a06f6fa2d22026cbcb2f54be4b65e6c6':
  adb shell: Win32: fix Ctrl-C, tab completion, line editing, server echo
2015-03-27 05:34:47 +00:00
Dan Albert
87378814a0 Merge "adb shell: Win32: fix Ctrl-C, tab completion, line editing, server echo" 2015-03-27 05:28:38 +00:00
Andreas Gampe
7a27eec9f2 am 3aa8dfe7: am ebc903e3: am 6e014d77: Merge "Libbacktrace: Use frame-pointer on host"
* commit '3aa8dfe7ed7708004e007eb9ba0e4b7f520f2e4c':
  Libbacktrace: Use frame-pointer on host
2015-03-27 01:14:58 +00:00
Andreas Gampe
3aa8dfe7ed am ebc903e3: am 6e014d77: Merge "Libbacktrace: Use frame-pointer on host"
* commit 'ebc903e3d15990c8a3d9ea5a52ea2763e398caaa':
  Libbacktrace: Use frame-pointer on host
2015-03-27 00:54:56 +00:00
Andreas Gampe
ebc903e3d1 am 6e014d77: Merge "Libbacktrace: Use frame-pointer on host"
* commit '6e014d774d5ff1fc05d619b348813a5e567f40d2':
  Libbacktrace: Use frame-pointer on host
2015-03-27 00:48:25 +00:00
Andreas Gampe
6e014d774d Merge "Libbacktrace: Use frame-pointer on host" 2015-03-27 00:43:15 +00:00
Andreas Gampe
dce8f2923d Libbacktrace: Use frame-pointer on host
Otherwise it may have problems unwinding over itself.

Change-Id: I9b0d108018ae3f5d98b9ae6fb62d0af83a77d18e
2015-03-26 16:21:13 -07:00
Nick Kralevich
1c71245353 am b242c279: am 5e49911c: am de52ebc3: Merge "libaudit: limit to 5 selinux denials per sec"
* commit 'b242c279dea499d87cfb67cd124ba409864deb58':
  libaudit: limit to 5 selinux denials per sec
2015-03-26 22:45:51 +00:00
Nick Kralevich
b242c279de am 5e49911c: am de52ebc3: Merge "libaudit: limit to 5 selinux denials per sec"
* commit '5e49911c4a4d6c807afa0bc74f15888484670a61':
  libaudit: limit to 5 selinux denials per sec
2015-03-26 22:31:01 +00:00
Nick Kralevich
5e49911c4a am de52ebc3: Merge "libaudit: limit to 5 selinux denials per sec"
* commit 'de52ebc3f97500e7d618c32cf5d627a1beb0ead7':
  libaudit: limit to 5 selinux denials per sec
2015-03-26 22:24:26 +00:00
Nick Kralevich
de52ebc3f9 Merge "libaudit: limit to 5 selinux denials per sec" 2015-03-26 21:33:02 +00:00
Nick Kralevich
a15db51bbf libaudit: limit to 5 selinux denials per sec
watchdog is triggering on shamu. This may be due to an excessive
number of SELinux denials. Drop the limit from 20/sec to 5/sec.

Bug: 19950451
Bug: 19949988
Change-Id: I979f11e17c241ff2ebda4dec9694ef441dc5d0ed
2015-03-26 14:04:13 -07:00
Spencer Low
50184062b8 adb shell: Win32: fix Ctrl-C, tab completion, line editing, server echo
The 'adb shell' command on Windows has had problems:

* Ctrl-C killed the local Windows adb.exe process instead of sending the
Ctrl-C to the Android device.

* Local echo was enabled, causing everything typed to be displayed twice.

* Line input was enabled, so the Android device only received input
after hitting enter. This meant that tab completion did not work because
the tab wasn't seen by the shell until pressing enter.

* The usual input line editing keys did not work (Ctrl-A to go to the
beginning of the line, etc.).

This commit fixes these issues by reconfiguring the Win32 console and
then translating input into what Gnome Terminal would send, in effect
somewhat emulating a Unix terminal.

This does not fix all Win32 console issues, but is designed to be better
than what we had before, and to make the common day-to-day usage much
more comfortable and usable.

Change-Id: Idb10e0b634e27002804fa99c09a64e7176cf7c09
Signed-off-by: Spencer Low <CompareAndSwap@gmail.com>
2015-03-26 12:26:08 -07:00
Sami Tolvanen
c1d6685b15 am 825c2655: am 6ca1dbd4: am 6baab44e: Merge "Fix build"
* commit '825c2655b7bbd5f88d316a5a9b3a746c50282c24':
  Fix build
2015-03-26 16:27:48 +00:00
Sami Tolvanen
b042a2e8bd am c28e2598: am 3fdc2f2b: am d33c6c0e: Merge "Use structured format for verity metadata"
* commit 'c28e2598af394834dbf6532f1cf252705fabd76b':
  Use structured format for verity metadata
2015-03-26 16:27:46 +00:00
Elliott Hughes
0f0db60837 am 6b77ef94: am f6a683f1: am cfead6da: Merge " isn\'t set for continuous builds."
* commit '6b77ef94805dcfb110094a4823a13744a8e9cc27':
  $ANDROID_BUILD_TOP isn't set for continuous builds.
2015-03-26 16:27:45 +00:00
Elliott Hughes
6702a7871d am 0142cccd: am bde9b386: am 09b66b93: Merge "Auto-generate the getevent labels from <linux/input.h>."
* commit '0142cccd6450bcb7740ac04f4890e99eed600806':
  Auto-generate the getevent labels from <linux/input.h>.
2015-03-26 16:27:38 +00:00
Paul Lawrence
02955af0e9 Merge "Revert "Adding e4crypt support"" 2015-03-26 14:58:45 +00:00
Paul Lawrence
84b0bab58f Revert "Adding e4crypt support"
This reverts commit 6095afc115.

Change-Id: Icedfe0036223d7f42eaaefc4a35ad0f2efb14e4e
2015-03-26 14:53:19 +00:00
Paul Lawrence
a7c02b7ee6 Merge "Adding e4crypt support" 2015-03-26 14:16:25 +00:00
Sami Tolvanen
825c2655b7 am 6ca1dbd4: am 6baab44e: Merge "Fix build"
* commit '6ca1dbd442016c41244c59d05d9b3c680aa2d27a':
  Fix build
2015-03-26 12:10:35 +00:00
Sami Tolvanen
6ca1dbd442 am 6baab44e: Merge "Fix build"
* commit '6baab44eed58ed647cfd18a117e6ea9f9a52c2a5':
  Fix build
2015-03-26 12:02:35 +00:00
Sami Tolvanen
6baab44eed Merge "Fix build" 2015-03-26 11:56:53 +00:00