Commit graph

66181 commits

Author SHA1 Message Date
Treehugger Robot
7d50d0c41b Merge "Removed RWLock fuzzer" am: 928910999f am: 48507b1c27 am: 01cf1878c9 am: 6579e89b78
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1434261

Change-Id: I5219190b735eeacc1acad151fc9845851b560747
2020-09-22 19:48:10 +00:00
David Anderson
5b714367fc Merge "libsnapshot: Make the new Open calls look more like MapUpdateSnapshot." am: 9ec8c31afb am: ef77597707 am: d24bfd33c9 am: 52c8bd65ce
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1433352

Change-Id: I7d2c168af5ec4df29c7fcc0a90144a79c962b819
2020-09-22 19:47:55 +00:00
Treehugger Robot
6579e89b78 Merge "Removed RWLock fuzzer" am: 928910999f am: 48507b1c27 am: 01cf1878c9
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1434261

Change-Id: I7d3375072bda9edc4dc06a9c5465a8c697cb0935
2020-09-22 19:32:40 +00:00
David Anderson
52c8bd65ce Merge "libsnapshot: Make the new Open calls look more like MapUpdateSnapshot." am: 9ec8c31afb am: ef77597707 am: d24bfd33c9
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1433352

Change-Id: I146b9f0d3c2f992d06bd6244f594b00dbd0611e2
2020-09-22 19:32:18 +00:00
Treehugger Robot
01cf1878c9 Merge "Removed RWLock fuzzer" am: 928910999f am: 48507b1c27
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1434261

Change-Id: I5f8a6f78dcfff5118ded304cae1e6e9bcf7c8e89
2020-09-22 19:17:04 +00:00
David Anderson
d24bfd33c9 Merge "libsnapshot: Make the new Open calls look more like MapUpdateSnapshot." am: 9ec8c31afb am: ef77597707
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1433352

Change-Id: I340a368fc8feab9fbafceb82e4cb221d88366ae2
2020-09-22 19:13:37 +00:00
Treehugger Robot
48507b1c27 Merge "Removed RWLock fuzzer" am: 928910999f
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1434261

Change-Id: Ibb967aee0ce0a97c81e0413a630a2133ed69da60
2020-09-22 19:13:20 +00:00
Treehugger Robot
928910999f Merge "Removed RWLock fuzzer" 2020-09-22 18:40:23 +00:00
David Anderson
ef77597707 Merge "libsnapshot: Make the new Open calls look more like MapUpdateSnapshot." am: 9ec8c31afb
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1433352

Change-Id: Ie2d6014607850c43c66192f82d8ec02eabb6993d
2020-09-22 18:10:19 +00:00
David Anderson
9ec8c31afb Merge "libsnapshot: Make the new Open calls look more like MapUpdateSnapshot." 2020-09-22 17:47:06 +00:00
Jooyung Han
57778c299f Merge "ueventd: change firmware location in apexes" am: fb2dafa538 am: 25dea8c25f am: 829aec970a am: b58fa0646b
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1429931

Change-Id: Ic38bd6dfdb74ae1b87f7f95b2c7a6e2739beafec
2020-09-22 03:34:43 +00:00
Treehugger Robot
c7e228e4c9 Merge "logd: additional logging if read_offset > buffer_it->write_offset()" am: 55d3e1f9b9 am: 27b3ddc2ea am: ac893b2674 am: 209bd16270
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1433571

Change-Id: I3f4ca60a27aba6027c7dc2034cad748f3e8c231e
2020-09-22 03:24:45 +00:00
Jooyung Han
b58fa0646b Merge "ueventd: change firmware location in apexes" am: fb2dafa538 am: 25dea8c25f am: 829aec970a
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1429931

Change-Id: Ifa8d6672d6b87212d8d48373e510b803dee828ea
2020-09-22 03:01:20 +00:00
Treehugger Robot
209bd16270 Merge "logd: additional logging if read_offset > buffer_it->write_offset()" am: 55d3e1f9b9 am: 27b3ddc2ea am: ac893b2674
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1433571

Change-Id: I50b19d7e17bbefec216766751f3c516c6894bf41
2020-09-22 03:01:05 +00:00
Jooyung Han
829aec970a Merge "ueventd: change firmware location in apexes" am: fb2dafa538 am: 25dea8c25f
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1429931

Change-Id: I6fdfa020076d472f03762ae8beb29b1439f3b88c
2020-09-22 02:26:29 +00:00
Treehugger Robot
ac893b2674 Merge "logd: additional logging if read_offset > buffer_it->write_offset()" am: 55d3e1f9b9 am: 27b3ddc2ea
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1433571

Change-Id: If225ce7d9bda8ff1b790c11b6ff1de9ac1752d24
2020-09-22 02:25:59 +00:00
Jooyung Han
25dea8c25f Merge "ueventd: change firmware location in apexes" am: fb2dafa538
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1429931

Change-Id: I0e399c78f3ac26808703623dc902b9da3dbc8d51
2020-09-22 01:55:23 +00:00
Treehugger Robot
27b3ddc2ea Merge "logd: additional logging if read_offset > buffer_it->write_offset()" am: 55d3e1f9b9
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1433571

Change-Id: I0370d07bf013f15e04e2444f2887ea3596311a5d
2020-09-22 01:51:27 +00:00
Jooyung Han
fb2dafa538 Merge "ueventd: change firmware location in apexes" 2020-09-22 01:36:35 +00:00
Treehugger Robot
55d3e1f9b9 Merge "logd: additional logging if read_offset > buffer_it->write_offset()" 2020-09-22 01:14:15 +00:00
Tom Cherry
5d1fbece58 logd: additional logging if read_offset > buffer_it->write_offset()
I didn't expect this to ever be hit, but apparently it is, so add
additional logging to track it down.

Bug: 168870781
Test: build
Change-Id: Ia472bc7458a3727e4d407365672f7394426ae515
2020-09-21 15:10:20 -07:00
Martijn Coenen
f8fb0f4bd4 Allow shell to write to /sdcard/Android/data and /sdcard/Android/obb. am: c3f71bc459
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/12640492

Change-Id: I5fc4de14e8c053821e1a46f5a0d54427d0459d24
2020-09-21 19:44:23 +00:00
Tom Cherry
573139cd64 Merge "logd: remove min heap in SerializedFlushToState" am: b92ac53aeb am: eb2b5408b6 am: 0a01b6da1b am: 009660b5b4
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1431987

Change-Id: I6dfa18f9b14e780de1dd34f7f134ee0db2026f1c
2020-09-21 19:42:19 +00:00
David Anderson
a1c52b448b Merge "libsnapshot: Prototype the new API for mapping writable snapshots." am: 32771b2aa3 am: 4d620fc341 am: 62b3360567 am: ae74bc43b0
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1430217

Change-Id: Ie57e7d3df4bf1381de47040df85ecff5a72eda2c
2020-09-21 19:42:05 +00:00
David Anderson
f53794d1af libsnapshot: Make the new Open calls look more like MapUpdateSnapshot.
To make the transition to these new calls easier, give them a very
similar signature to MapUpdateSnapshot. Also, allow them to work in
non-compression mode.

Bug: 168554689
Test: builds
Change-Id: I2eb6b41ba8a294dbde1763aabd7701a80c0789f3
2020-09-21 12:06:49 -07:00
Tom Cherry
009660b5b4 Merge "logd: remove min heap in SerializedFlushToState" am: b92ac53aeb am: eb2b5408b6 am: 0a01b6da1b
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1431987

Change-Id: Ic5a1f173bcae1248cb71bd7e7510277339022895
2020-09-21 19:05:04 +00:00
David Anderson
ae74bc43b0 Merge "libsnapshot: Prototype the new API for mapping writable snapshots." am: 32771b2aa3 am: 4d620fc341 am: 62b3360567
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1430217

Change-Id: Ib23860720fcc7ecbcad6a4e8cf7d48399f46dc1d
2020-09-21 19:04:52 +00:00
Tom Cherry
0a01b6da1b Merge "logd: remove min heap in SerializedFlushToState" am: b92ac53aeb am: eb2b5408b6
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1431987

Change-Id: I3440dde8a013ffac4db424be5e7dd27eca494cbe
2020-09-21 18:42:08 +00:00
David Anderson
62b3360567 Merge "libsnapshot: Prototype the new API for mapping writable snapshots." am: 32771b2aa3 am: 4d620fc341
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1430217

Change-Id: Ie1ddb6b1ef3805089e84d4179499305ba90b1aac
2020-09-21 18:41:55 +00:00
Tom Cherry
eb2b5408b6 Merge "logd: remove min heap in SerializedFlushToState" am: b92ac53aeb
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1431987

Change-Id: I599fecb6e1f797bfa5409e3b767f6c0a14766cb9
2020-09-21 18:24:18 +00:00
David Anderson
4d620fc341 Merge "libsnapshot: Prototype the new API for mapping writable snapshots." am: 32771b2aa3
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1430217

Change-Id: Ic96666a7c2e1cf7840b7f7bd778cce13327a56b8
2020-09-21 18:19:07 +00:00
Tom Cherry
b92ac53aeb Merge "logd: remove min heap in SerializedFlushToState" 2020-09-21 18:10:43 +00:00
David Anderson
32771b2aa3 Merge "libsnapshot: Prototype the new API for mapping writable snapshots." 2020-09-21 17:56:08 +00:00
Jooyung Han
c1a0c222fe Merge "fs_config: add bin paths of flattened apexes" am: 529ace17b6 am: 00fa8e7d5c am: e9b3d13722 am: faafdd2fe9
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1432791

Change-Id: I9776514b8157a5c0fd89a6906a46430a75d86be1
2020-09-21 17:08:36 +00:00
Tom Cherry
e47405bcd8 Merge "Use libcutils_headers for android_filesystem_config.h" am: 67e08784ed am: ec0ffbcff3 am: a330604594 am: f5dad71dfa
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1430209

Change-Id: Ia182e21a676f135b4fe088c2fc3a5f2b339ce64d
2020-09-21 17:08:28 +00:00
Jooyung Han
faafdd2fe9 Merge "fs_config: add bin paths of flattened apexes" am: 529ace17b6 am: 00fa8e7d5c am: e9b3d13722
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1432791

Change-Id: Ia5daf9e13b91528baeb35642e5014d1fceb03df6
2020-09-21 16:54:21 +00:00
Tom Cherry
f5dad71dfa Merge "Use libcutils_headers for android_filesystem_config.h" am: 67e08784ed am: ec0ffbcff3 am: a330604594
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1430209

Change-Id: Iaf07b40d69da3f69510fc853409bf7ed2e3d25cd
2020-09-21 16:52:22 +00:00
Jooyung Han
e9b3d13722 Merge "fs_config: add bin paths of flattened apexes" am: 529ace17b6 am: 00fa8e7d5c
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1432791

Change-Id: Ibf36805d5144cc9f8bf45a9e6ea7afeca1192645
2020-09-21 16:22:03 +00:00
Tom Cherry
a330604594 Merge "Use libcutils_headers for android_filesystem_config.h" am: 67e08784ed am: ec0ffbcff3
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1430209

Change-Id: I282c95d88f9ccc946055efd7728fc75e8723dcae
2020-09-21 16:21:50 +00:00
Jooyung Han
00fa8e7d5c Merge "fs_config: add bin paths of flattened apexes" am: 529ace17b6
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1432791

Change-Id: Ibf3fa90572503c4a8d3054d09c37648bd9c4075d
2020-09-21 15:52:10 +00:00
Tom Cherry
ec0ffbcff3 Merge "Use libcutils_headers for android_filesystem_config.h" am: 67e08784ed
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1430209

Change-Id: I361e212e084ea073c5eca6b3e1abc09a42004d8a
2020-09-21 15:51:52 +00:00
Jooyung Han
529ace17b6 Merge "fs_config: add bin paths of flattened apexes" 2020-09-21 15:47:59 +00:00
Tom Cherry
67e08784ed Merge "Use libcutils_headers for android_filesystem_config.h" 2020-09-21 15:29:41 +00:00
Jooyung Han
a70cea57a9 fs_config: add bin paths of flattened apexes
Added missing partitions (/product and /vendor).

APEXes can be put in /system, /system_ext, /product, and /vendor.
Binaries within "flattened" apexes should be marked as executable.

Bug: 167383491
Bug: 169025459
Test: OVERRIDE_TARGET_FLATTEN_APEX=true m vendorimage with a vendor apex
      simg2img $OUT/vendor.img vendor.img
      debugfs -R 'ls -l /vendor/apex/com.android.foo/bin' vendor.img
      => check if binaries are executable
Change-Id: I67284166d70c98a2a184b47e7052ade8b9039df9
2020-09-21 19:50:43 +09:00
Jooyung Han
2833e5d37d ueventd: change firmware location in apexes
To be consistent with other prebuilt modules within APEXes, the location
for firmware files is switched from /apex/*/firmware to
/apex/*/etc/firmware.

Bug: 167942098
Test: loading vibrator firmware from vibrator apex(sunfish)
Change-Id: Ia05735bf5a54482fded26525fa4a8f795dcfc029
2020-09-21 10:56:10 +09:00
Jooyung Han
1f7596f16a Merge "ueventd: scans /apex/*/firmware for firmwares" am: 62ccfa0c61 am: ed8016598a am: d77ba4d7dd am: c7b123050d
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1429856

Change-Id: I0463eb398ea9cee177167341ad30704053f60151
2020-09-20 00:41:46 +00:00
Jooyung Han
c7b123050d Merge "ueventd: scans /apex/*/firmware for firmwares" am: 62ccfa0c61 am: ed8016598a am: d77ba4d7dd
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1429856

Change-Id: I33fa7e43b03d76f2e2f37de936987b9017f151ed
2020-09-20 00:10:04 +00:00
Jooyung Han
d77ba4d7dd Merge "ueventd: scans /apex/*/firmware for firmwares" am: 62ccfa0c61 am: ed8016598a
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1429856

Change-Id: I655a58d1ffdd5251c19f5529d2ea03187e12946b
2020-09-19 23:42:36 +00:00
Jooyung Han
ed8016598a Merge "ueventd: scans /apex/*/firmware for firmwares" am: 62ccfa0c61
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1429856

Change-Id: I541c8c6ce99c3d47ede3e5524d0f4042f9ff52b9
2020-09-19 23:18:51 +00:00
Jooyung Han
62ccfa0c61 Merge "ueventd: scans /apex/*/firmware for firmwares" 2020-09-19 22:47:26 +00:00