Commit graph

45857 commits

Author SHA1 Message Date
Tao Bao
7fc71186c8 Merge "init: Remove the obsolete restorecon for /sbin files." am: 60fc999722
am: 34a080bf6b

Change-Id: Ic5dac0a0104a030d8c6d9560fb178328360e1cc8
2019-01-18 12:21:39 -08:00
Tao Bao
34a080bf6b Merge "init: Remove the obsolete restorecon for /sbin files."
am: 60fc999722

Change-Id: Ic5ddeb85f554ac4a34165454300fa8c5ade9a609
2019-01-18 11:57:36 -08:00
Treehugger Robot
60fc999722 Merge "init: Remove the obsolete restorecon for /sbin files." 2019-01-18 19:35:26 +00:00
Mark Salyzyn
eea99b5ef4 Merge "adb_remount_test allow to run on eng builds." am: 99ff4dd35d
am: 5fb43a8787

Change-Id: Iba994622994d6eac47133b99511fcacf21bfd517
2019-01-18 10:23:05 -08:00
Mark Salyzyn
5fb43a8787 Merge "adb_remount_test allow to run on eng builds."
am: 99ff4dd35d

Change-Id: Id4057f13145573cbf59ead2b59110eb7184adc28
2019-01-18 10:18:23 -08:00
Treehugger Robot
99ff4dd35d Merge "adb_remount_test allow to run on eng builds." 2019-01-18 18:03:56 +00:00
Branden Archer
d35e0b55ec [automerger skipped] Run BoringSSL self test during startup
am: 66d9e9231e -s ours
am skip reason: change_id I07a5dc73a314502c87de566bb26f4d73499d2675 with SHA1 d052118702 is in history

Change-Id: If1354cdf11a654b78d6217ac9c23314e96dcef76
2019-01-18 08:38:33 -08:00
Jiyong Park
e9f4339db8 Merge changes from topic "revert_move_bionic_to_apex" am: e0c7a8bbdd
am: 555b7ead70

Change-Id: Ibdd191f5e6e4c7fc953bc39a050afa7b23c4335e
2019-01-18 02:36:57 -08:00
Jiyong Park
555b7ead70 Merge changes from topic "revert_move_bionic_to_apex"
am: e0c7a8bbdd

Change-Id: I7d6857980fd2bcfcaeb320971b6b593d11415dbb
2019-01-18 02:33:09 -08:00
Treehugger Robot
e0c7a8bbdd Merge changes from topic "revert_move_bionic_to_apex"
* changes:
  Revert "Identify post-apexd crashing processes"
  Revert "Bionic libs and the dynamic linker are bind mounted"
  Revert "Don't create separate mount namespaces for pre-apexd processes"
2019-01-18 10:21:46 +00:00
Sandeep Patil
aec9eb017c Merge "fiemap_writer: Add PinStatus check for fiemap writes." am: db787a0b05
am: 49fd889a8a

Change-Id: I9fd33cbd6d2a3ca1af42da4556d02e381ef41d2c
2019-01-17 19:54:43 -08:00
Sandeep Patil
49fd889a8a Merge "fiemap_writer: Add PinStatus check for fiemap writes."
am: db787a0b05

Change-Id: Ia219be13c25f8e02c5ed07ef4eea1637de5afc14
2019-01-17 19:50:34 -08:00
Treehugger Robot
db787a0b05 Merge "fiemap_writer: Add PinStatus check for fiemap writes." 2019-01-18 03:40:28 +00:00
Jiyong Park
60b89aee4c Revert "Identify post-apexd crashing processes"
This reverts commit c661b660fe.
Reason: Breaks some 3p apps.

Bug: 122920047
Test: run the app, login.
Change-Id: Ie56ea5516887b885579764929e82e4fe684a7dcf
2019-01-18 12:30:54 +09:00
Jiyong Park
8b73dfc0a4 Revert "Bionic libs and the dynamic linker are bind mounted"
This reverts commit 2599088ff6.
Reason: Breaks some 3p apps.

Bug: 122920047
Test: run the app, login.
Change-Id: Idea332b1f91e9d2ac6ebd3879da7820c8ba2284f
2019-01-18 12:30:51 +09:00
Jiyong Park
80aec3f0f0 Revert "Don't create separate mount namespaces for pre-apexd processes"
This reverts commit 5ab1300481.

Reason: Breaks some 3p apps.

Bug: 122920047
Test: run the app, login.
Change-Id: Iec3347d7f35fbb6f32fd1192135a0cf87dc123a7
2019-01-18 12:30:39 +09:00
Cody Schuffelen
dfc2d87c7f Merge "Combine tcp_connect and socket_spec_connect." am: 539c4d427b
am: 6d05846ab0

Change-Id: I6339087d16b4f579e00fe608c5562702b0375c92
2019-01-17 18:41:16 -08:00
Cody Schuffelen
6d05846ab0 Merge "Combine tcp_connect and socket_spec_connect."
am: 539c4d427b

Change-Id: I9a77cde0bdda07c2a90e54c76fb5bc9abb2601a8
2019-01-17 18:37:05 -08:00
Cody Schuffelen
539c4d427b Merge "Combine tcp_connect and socket_spec_connect." 2019-01-18 02:28:50 +00:00
Evgenii Stepanov
18589dbbb0 Merge "Re-enable asan on /init." am: 9c334367fd
am: 17d5f8ad20

Change-Id: I36232326fbd18d6d8e065f2fd133c3a7ad6cd8b9
2019-01-17 18:14:23 -08:00
Evgenii Stepanov
17d5f8ad20 Merge "Re-enable asan on /init."
am: 9c334367fd

Change-Id: I2fc6aee86292034ae32136f430d5de3ae5d9c448
2019-01-17 18:10:13 -08:00
Treehugger Robot
9c334367fd Merge "Re-enable asan on /init." 2019-01-18 01:56:43 +00:00
Cody Schuffelen
af0e220fb1 Combine tcp_connect and socket_spec_connect.
This will make it easier to add new types of transports by combining the
logic the adb server and adb daemon use to connect to things.

Bug:121166534
Test: adb connect against a cuttlefish instance over the shm proxy.
Change-Id: Ic7fc848c60a85eef968c3735838c87cb7fdaf38b
2019-01-17 15:58:41 -08:00
Sandeep Patil
5ba1c068a2 fiemap_writer: Add PinStatus check for fiemap writes.
Note that the check needs the kernel built with latest f2fs.

Bug: 122138114
Test: fiemap_writer_test /dev/block/sda21 \
      --gtest_filter=VerifyBlockWritesF2fs.CheckWrites

Change-Id: I0afbc14241f74ed368438a64afbdb97e3376f1f6
Signed-off-by: Sandeep Patil <sspatil@google.com>
2019-01-17 15:57:40 -08:00
Tom Cherry
f096e2d931 Merge "Statically link liblog to logd/logcat and their tests" am: 77d895b739
am: f81d1979ff

Change-Id: Iaa45652fd1d1b2c16ba454c5df299967568f26ac
2019-01-17 15:38:11 -08:00
Jonglin Lee
80af251e39 Merge "init: dump less debug logs when unmount timeout" am: 1945fbef10
am: 31cd4f16b2

Change-Id: Ibf8223ec0469305a97cd4a2caf4323c50b168e05
2019-01-17 15:16:13 -08:00
Tom Cherry
f81d1979ff Merge "Statically link liblog to logd/logcat and their tests"
am: 77d895b739

Change-Id: I68cdff95f0143b87d9d4453aa350ad1720637e58
2019-01-17 15:06:25 -08:00
Jonglin Lee
31cd4f16b2 Merge "init: dump less debug logs when unmount timeout"
am: 1945fbef10

Change-Id: I78380e8ed273612698da63391c0c7bb103bed806
2019-01-17 15:03:21 -08:00
Tao Bao
a68d8c9ea3 init: Remove the obsolete restorecon for /sbin files.
These files, including their building rules, have been removed in favor
of their dynamically linked versions; we no longer need to explicitly
restorecon the actual files either, for the same reason as in commit
05f96a2561. When doing normal boot, these
files come from system.img, which have been labeled at build time; when
booting recovery, they don't need dedicated labels to be functional.

Test: Build and boot crosshatch.
Test: Factory reset under recovery on taimen (mke2fs).
Test: Factory reset under recovery on crosshatch (make_f2fs).
Change-Id: Icbcd24aad8be1e7f4ba7d379acd5855d256ae106
2019-01-17 14:52:29 -08:00
Tom Cherry
77d895b739 Merge "Statically link liblog to logd/logcat and their tests" 2019-01-17 22:27:43 +00:00
Xin Li
a36f0bc4c0 [automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190105.001) into master" am: c541731521 -s ours
am: 51d6a3cf71 -s ours
am skip reason: subject contains skip directive

Change-Id: If3ee4d79eb874ec3a22953adb950224fa80f6d54
2019-01-17 14:19:51 -08:00
Treehugger Robot
1945fbef10 Merge "init: dump less debug logs when unmount timeout" 2019-01-17 22:06:50 +00:00
Xin Li
a9edfd12f7 [automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.190105.001) into master am: 43a0d67e7b -s ours
am: fc58695ebf -s ours
am skip reason: subject contains skip directive

Change-Id: Ia28f8dc9a928b0edeff0d85b5598f303ba754e98
2019-01-17 14:05:52 -08:00
Evgenii Stepanov
dd02fa162d Re-enable asan on /init.
Fixed in the new toolchain.

Bug: 120561310
Test: asan build boots
Change-Id: I722c98467ed0ac5e18441cb659f26cd8a803eee0
2019-01-17 14:05:22 -08:00
Xin Li
51d6a3cf71 [automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190105.001) into master"
am: c541731521 -s ours
am skip reason: subject contains skip directive

Change-Id: I2b572df6c4f99921c15bc65c432582cb312f1a17
2019-01-17 13:58:46 -08:00
Xin Li
fc58695ebf [automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.190105.001) into master
am: 43a0d67e7b -s ours
am skip reason: subject contains skip directive

Change-Id: I3c4642ba3de24ad4f1b512430ead06fc3b52aa3f
2019-01-17 13:53:46 -08:00
Mark Salyzyn
546e76f1c7 adb_remount_test allow to run on eng builds.
Test: adb_remount_test.sh
Change-Id: I06e7a5e217e2769fc9eb95f6e9a6dcdfd56a8ad2
2019-01-17 13:42:25 -08:00
Henry Daitx
fbc48702ce Merge "Disable dexpreopt for deployagent" am: b42719bcd3
am: 2494a66c37

Change-Id: I878d824bfd54a50eab144cafb8687be343ed110b
2019-01-17 13:29:31 -08:00
Jaegeuk Kim
e44e429b30 Merge "zram: support zram_writeback" am: 2fdbdfddac
am: 2c90557d27

Change-Id: I67b48ca58248c564c71ba233dfd3289732de1c42
2019-01-17 13:25:59 -08:00
Henry Daitx
2494a66c37 Merge "Disable dexpreopt for deployagent"
am: b42719bcd3

Change-Id: Id6c190730f028c3cbf7c29917640796fe8c29419
2019-01-17 13:24:22 -08:00
Xin Li
c541731521 Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190105.001) into master" 2019-01-17 21:19:43 +00:00
Jaegeuk Kim
2c90557d27 Merge "zram: support zram_writeback"
am: 2fdbdfddac

Change-Id: I57bb13eb054fcf441485fa380a9f3091864f550f
2019-01-17 13:17:17 -08:00
Treehugger Robot
b42719bcd3 Merge "Disable dexpreopt for deployagent" 2019-01-17 21:13:35 +00:00
Jaegeuk Kim
2fdbdfddac Merge "zram: support zram_writeback" 2019-01-17 21:03:15 +00:00
Martijn Coenen
c3be3e8b2a Merge "Update AID_ISOLATED_START to include new range." am: 73992c7c00
am: 48ec9e7ce4

Change-Id: I4c95bf99639aeb3e22f6260f2905ba6f5ce592ad
2019-01-17 13:03:00 -08:00
Martijn Coenen
48ec9e7ce4 Merge "Update AID_ISOLATED_START to include new range."
am: 73992c7c00

Change-Id: I96a80abc0046b0a1023d6ba14985baa22a829782
2019-01-17 12:58:41 -08:00
Martijn Coenen
73992c7c00 Merge "Update AID_ISOLATED_START to include new range." 2019-01-17 20:49:19 +00:00
Tom Cherry
9e12433760 Statically link liblog to logd/logcat and their tests
logd/logcat use more symbols than the rest of the platform, so let's
statically link them for now while we understand the API that the
platform overall uses.

Test: build
Change-Id: I21ae1bd3ff9b310f099612fbe790f769712661df
2019-01-17 11:37:22 -08:00
David Anderson
eb9e14663a Merge "init: Add support for GSI installations in first-stage mount." am: b43440ba79
am: ece1e52ae1

Change-Id: I33a278e8bcfd2cec1b494730d5e94f28ce06bdd4
2019-01-17 11:15:57 -08:00
Jonglin Lee
28a2c9213b init: dump less debug logs when unmount timeout
Dump only uninterruptible tasks instead of all tasks when
unmount timeout. Also dump current CPU stack traces.

Bug: 122858312
Test: Reboot with and without timeout
Change-Id: I1412ace022b6d78e25fbe1337d1082d4be9c19c0
2019-01-17 19:14:46 +00:00