Commit Graph

59638 Commits

Author SHA1 Message Date
android-build-team Robot 9f801c2054 Make change and version bump to r_aml_300802900 for mainline module file: adb/apex/apex_manifest.json
Change-Id: Ibe5237d97cbd821ce052dbaa42c4974a55e6dd53
2020-06-27 03:30:07 +00:00
android-build-team Robot 340ad8a612 Make change and version bump to r_aml_300802800 for mainline module file: adb/apex/apex_manifest.json
Change-Id: Iffcf3b70c83e67142600fecf899d1d838cc40378
2020-06-26 03:15:15 +00:00
Josh Gao 2402853e58 Merge "adbd: check auth id." into rvc-dev am: d389d983bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/11988040

Change-Id: Id26a088311daf27e8957038696d5ac2cd4ca1923
2020-06-25 23:10:44 +00:00
Josh Gao d389d983bc Merge "adbd: check auth id." into rvc-dev 2020-06-25 22:45:47 +00:00
android-build-team Robot 9ccd27ecff Make change and version bump to r_aml_300802700 for mainline module file: adb/apex/apex_manifest.json
Change-Id: I789140f4f9a6e86e876485a988f66fa603952636
2020-06-25 03:20:03 +00:00
Josh Gao a5c24c323d adbd: check auth id.
When multiple auth requests come in (e.g. if someone connects over TCP
and USB, or if we send a USB request, and then kill adb and try again),
we need to disambiguate.

Bug: http://b/159061108
Test: manual
Change-Id: I0768dc3c1830456cb8cbd4395c23ef8f193cc420
2020-06-24 16:25:49 -07:00
Keun-young Park 8281a9b4b7 Merge "Start statsd before starting zygote" into rvc-dev am: 163548736a
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/11975342

Change-Id: Icea48aca861bffa7a7716a94581f99d2436dfdda
2020-06-24 21:38:50 +00:00
Keun-young Park 163548736a Merge "Start statsd before starting zygote" into rvc-dev 2020-06-24 21:18:18 +00:00
android-build-team Robot 2a4f9a3faa Version bump to r_aml_300802600 [adb/apex/apex_manifest.json]
Change-Id: Ide7c0d333abd042892716facef373aa2ff3a5772
2020-06-24 16:53:22 +00:00
Keun young Park 6423ccd96b Start statsd before starting zygote
- zygote needs statsd for logging boot time event.
- statsd starting later leads into stats logging failure which
  is reported by all child processes of zygote later.
  This brings lots of noise in statsd error.

Bug: 159664734
Test: reboot and check if error log does not show up
  E statsd  : Found dropped events: 1 error -19 last atom tag 240 from uid 10169
Change-Id: Ie585febb50a9668671c8fda41a872595baae8385
2020-06-23 20:40:19 -07:00
android-build-team Robot 5a073667df Make change and version bump to r_aml_300802500 for mainline module file: adb/apex/apex_manifest.json
Change-Id: I9f1cc1af57de4fbe2384577de2a9d90ee74ddb9c
2020-06-24 03:15:47 +00:00
Maciej Zenczykowski c0e29a1d1a Merge "add a new trigger for launching the bpfloader" into rvc-dev am: 227635182f
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/11976442

Change-Id: I101aee462811cd0530cc7032727379f814cf865d
2020-06-24 03:10:47 +00:00
Maciej Zenczykowski 227635182f Merge "add a new trigger for launching the bpfloader" into rvc-dev 2020-06-24 02:52:51 +00:00
Maciej Żenczykowski c1ca9f75f9 add a new trigger for launching the bpfloader
Test: built and booted
Bug: 150040815
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Merged-In: If80758b3d7bf499d428880efa5ed555076bfc291
Change-Id: If80758b3d7bf499d428880efa5ed555076bfc291
2020-06-23 14:08:27 -07:00
Tom Cherry 5ff7eaa46b logd: make drop_privs work if neither klogd or auditd are used am: 8b637c8824
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/11959141

Change-Id: I9acfb8ecdb009c6b3fbccc868af639e8a8e05a4d
2020-06-23 18:59:21 +00:00
android-build-team Robot f1db70008a Make change and version bump to r_aml_300802400 for mainline module file: adb/apex/apex_manifest.json
Change-Id: I6bd0d2709a2d06a7cc49c28ddbdf37b643af8e94
2020-06-23 03:15:35 +00:00
Tom Cherry 8b637c8824 logd: make drop_privs work if neither klogd or auditd are used
Fix a bug that was causing cap_set_flag() fail and logd to exit.

Bug: 159588327
Test: caps are set correctly and logd functions with both, one of, or
      none of klogd and auditd enabled.
Merged-In: Ia51f078ad848535ce1ac29edd8a56a2b686a12cc
Change-Id: Ia51f078ad848535ce1ac29edd8a56a2b686a12cc
(cherry picked from commit 54b00a9e3c)
2020-06-22 14:57:43 -07:00
Nikita Ioffe a8e962b5c9 Merge "Explicitly call restorecon_recursive on /metadata/apex" into rvc-dev am: 6a8602a8c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/11955299

Change-Id: Id504019ed77bf7c65fc1ae2252a8911804c32630
2020-06-22 21:54:16 +00:00
Nikita Ioffe 6a8602a8c9 Merge "Explicitly call restorecon_recursive on /metadata/apex" into rvc-dev 2020-06-22 21:27:08 +00:00
TreeHugger Robot aff8c12bff Merge "modprobe: Use more inclusive language for libmodprobe (Part Deux)" into rvc-dev am: a8c92eaae7
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/11930457

Change-Id: Ia7d2bdc8f01d80f764a5cc7f707ee638d99614c8
2020-06-22 18:28:34 +00:00
TreeHugger Robot a8c92eaae7 Merge "modprobe: Use more inclusive language for libmodprobe (Part Deux)" into rvc-dev 2020-06-22 18:12:14 +00:00
TreeHugger Robot 0268c01391 Merge "llkd: Use more inclusive language" into rvc-dev am: da0a2ae786
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/11930692

Change-Id: I163846505c652a9281f6564e6aa0d5c272a95bb2
2020-06-22 18:05:41 +00:00
TreeHugger Robot da0a2ae786 Merge "llkd: Use more inclusive language" into rvc-dev 2020-06-22 17:47:17 +00:00
Nikita Ioffe cf7b6bad55 Explicitly call restorecon_recursive on /metadata/apex
On some devices we see a weird in which /metadata/apex will have a wrong
selinux label. This will effectively prevent such devices from getting
any apex updates. Since we haven't figured out a root cause for this
bug, it's safer to explicitly call restorecon on /metadata/apex to make
sure it's correct.

This change shouldn't affect a normal boot flow, since /metadata/apex
will already have a correct label and restorecon_recursive will be a
no-op.

Test: rm -Rf /metadata/apex && \
    mkdir /metadata/apex &&
    mkdir /metadata/apex/sessions
Bug: 149317789
Change-Id: I971ffe35c93bb79d9e71106c24515ec0ee70333a
2020-06-22 16:56:38 +00:00
android-build-team Robot 56fa8079a1 Make change and version bump to r_aml_300802300 for mainline module file: adb/apex/apex_manifest.json
Change-Id: I007eb3724220351cd44183c1d4455b795c34220f
2020-06-22 03:15:28 +00:00
android-build-team Robot ff388b339d Make change and version bump to r_aml_300802200 for mainline module file: adb/apex/apex_manifest.json
Change-Id: I19f83a4b7dc4be37734945e9c1ee2bf0a676ae9a
2020-06-20 03:20:06 +00:00
David Anderson 961e68654a Merge "remount: Do not allow remounting during checkpoints." into rvc-dev am: 20d78e3323
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/11914026

Change-Id: I1702d186c75a78fec29a9db09695f3da1236cacd
2020-06-19 20:22:02 +00:00
David Anderson 20d78e3323 Merge "remount: Do not allow remounting during checkpoints." into rvc-dev 2020-06-19 20:04:54 +00:00
TreeHugger Robot a04a7a34b5 Merge "fastboot: copy AVB footer on boot image to end of partition" into rvc-dev am: 5062ea0564
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/11917941

Change-Id: I3a257701a74e2de4e0b7aaad94cbb31ee804d088
2020-06-19 19:50:29 +00:00
TreeHugger Robot 5062ea0564 Merge "fastboot: copy AVB footer on boot image to end of partition" into rvc-dev 2020-06-19 19:38:11 +00:00
Steve Muckle 618ca3400d fastboot: copy AVB footer on boot image to end of partition
If the flashed boot image is smaller than the block device, the AVB
footer will not be at the end of the partition. Although images are
normally created to match the partition size the GKI boot.img must work
on all devices, and the size of the boot partition will vary.

Copy the AVB footer to the end of the partition before flashing, if it
is not there already.

Bug: 159377163
Change-Id: I5a5e25fb54dc9d6a2930fda63434968808ffa1f0
Merged-In: I5a5e25fb54dc9d6a2930fda63434968808ffa1f0
2020-06-19 11:35:01 -07:00
Mark Salyzyn 4ca9fa9e10 llkd: Use more inclusive language
Documentation is synchronized to match external, to ease updating.

blacklist is replaced with ignorelist or ignore depending on context.

Bug: 159345740
Test: none
Merged-In: I6db7ad321684759e3c5ac1f66f940b6e8a5709a0
Change-Id: I6db7ad321684759e3c5ac1f66f940b6e8a5709a0
2020-06-19 06:51:59 -07:00
Mark Salyzyn 21c02bbd4b modprobe: Use more inclusive language for libmodprobe (Part Deux)
Remove blacklist

Test: none
Bug: 151950334
Merged-In: I14ed08390a7db0b4b962343c61d60230751047ce
Change-Id: I14ed08390a7db0b4b962343c61d60230751047ce
2020-06-19 06:33:08 -07:00
android-build-team Robot 86c26e68fd Make change and version bump to r_aml_300802100 for mainline module file: adb/apex/apex_manifest.json
Change-Id: I59280498d251551e09708a21ec060d9640bb64e9
2020-06-19 07:16:03 +00:00
David Anderson 9aeae82f69 remount: Do not allow remounting during checkpoints.
Bug: 157540389
Test: manual test
Change-Id: I5931a583e48ddac05f319629ae2f7f5f0f6cf032
Merged-In: I5931a583e48ddac05f319629ae2f7f5f0f6cf032
2020-06-18 23:10:10 +00:00
TreeHugger Robot a243f6d9c2 Merge "Don't call block checkpoint functions above dm-default-key" into rvc-dev am: 507d21905b
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/11886201

Change-Id: Iab8fd254f90f004ba05e640bcd8507e63ab915da
2020-06-18 22:35:55 +00:00
TreeHugger Robot 507d21905b Merge "Don't call block checkpoint functions above dm-default-key" into rvc-dev 2020-06-18 22:22:57 +00:00
Paul Lawrence 39c7961c90 Don't call block checkpoint functions above dm-default-key
Bug: 156225476
Test: Build for f2fs and ext4 device, make sure checkpoints roll back
and commit

Merged-In: I7a772ff712dec9e69df175de840d69d296c65923
Change-Id: I7a772ff712dec9e69df175de840d69d296c65923
2020-06-18 21:58:57 +00:00
TreeHugger Robot 11f646715b Merge "modprobe: Use more inclusive language for modprobe and libmodprobe" into rvc-dev am: 54e693e6d7
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/11915103

Change-Id: Idc8e7547d830397c6c993b98a957f1820c05409b
2020-06-18 20:59:17 +00:00
TreeHugger Robot 54e693e6d7 Merge "modprobe: Use more inclusive language for modprobe and libmodprobe" into rvc-dev 2020-06-18 20:46:11 +00:00
Tim Murray 56c222246e Merge "Move zygote64 into the top-app stune group." into rvc-dev am: 4dc1d5f3de
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/11884893

Change-Id: I68ff2f1e7aca8f128aeb22b7d396688e51f4df81
2020-06-18 19:37:37 +00:00
Tim Murray 4dc1d5f3de Merge "Move zygote64 into the top-app stune group." into rvc-dev 2020-06-18 19:15:39 +00:00
Tim Murray e2318a2fce Move zygote64 into the top-app stune group.
Improve app startup performance before the new app is in the top-app
cpuset.

Test: boots, zygote64 in top-app stune group
Bug: 159201879

Change-Id: I3aad4b4b1d2f54db9e7ba86db8a655d8552bad0a
2020-06-18 10:43:01 -07:00
Mark Salyzyn 502cb7af75 modprobe: Use more inclusive language for modprobe and libmodprobe
blacklist is replaced with blocklist.

Test: none
Bug: 151950334
Merged-In: I59f9fde5900b9aee82aca1eab4a6ded3d136063b
Change-Id: I59f9fde5900b9aee82aca1eab4a6ded3d136063b
2020-06-18 09:46:37 -07:00
Narayan Kamath 0a043f18bd Merge "Fix Deadlock Issue On AppFuseBridge" into rvc-dev am: 17fcd95f64
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/11888503

Change-Id: I7b4d33a152e959774a8ae0292bab2a927586a7de
2020-06-18 10:35:04 +00:00
Narayan Kamath 17fcd95f64 Merge "Fix Deadlock Issue On AppFuseBridge" into rvc-dev 2020-06-18 10:15:55 +00:00
android-build-team Robot 6204414809 Make change and version bump to r_aml_300802000 for mainline module file: adb/apex/apex_manifest.json
Change-Id: I74a98a83b018b40df0711373ab9b5b7103d68836
2020-06-18 07:15:57 +00:00
Tom Cherry 70bd4b1a58 liblog: fix reading pmsg am: 709d569241
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/11899686

Change-Id: I9f2448268928c18343a2e22964437c8edd3a2cad
2020-06-17 22:41:43 +00:00
Tom Cherry 709d569241 liblog: fix reading pmsg
d3ecc66b9c "liblog: support extended logger_entry headers" removed
the logger_entry::msg variable and instead uses hdr_size as an offset
from logger_entry to where the message starts in parent log_msg
buffer.

In pmsg, hdr_size is not recorded and therefore uninitialized when it
was referenced, causing corruption when reading last logcat.  This
change uses sizeof(log_msg->entry) instead.

Bug: 158263230
Test: last logcat works
Merged-In: Ic01e73bf4d8ba8419cc770138565aa1210a6078b
Change-Id: Ic01e73bf4d8ba8419cc770138565aa1210a6078b
(cherry picked from commit 34d7bd98ad)
2020-06-17 13:54:58 -07:00
android-build-team Robot 1687e42a75 Make change and version bump to r_aml_300801900 for mainline module file: adb/apex/apex_manifest.json
Change-Id: I6304f8f10109fbdb5ecedb9e829b3d6334a761ad
2020-06-17 19:56:28 +00:00