Jiyong Park
06a982691c
Proper mount namespace configuration for bionic am: 6866041ff0 am: 43505e3f22
...
am: 9829a8c5aa
Change-Id: I624273bf06ad96dfee5def80dc16050c52a7a640
2019-01-30 21:29:34 -08:00
Jiyong Park
9829a8c5aa
Proper mount namespace configuration for bionic am: 6866041ff0
...
am: 43505e3f22
Change-Id: Ia29bf355c839bc9f8d5b8f1b6210a147c2fe6ccf
2019-01-30 21:12:38 -08:00
Jiyong Park
43505e3f22
Proper mount namespace configuration for bionic
...
am: 6866041ff0
Change-Id: I2bcb6f2d3e855f1c8b7c3df36c8c3c1ca9e88a4e
2019-01-30 20:59:10 -08:00
Christopher Ferris
c4bb4518e5
Merge "Replace libbacktrace with libunwindstack directly." am: 8926f1a945 am: 1783fa1940
...
am: c2ad098718
Change-Id: I27f63e510707ddfdcf017c1d6f258a45123f2882
2019-01-30 20:44:23 -08:00
Christopher Ferris
c2ad098718
Merge "Replace libbacktrace with libunwindstack directly." am: 8926f1a945
...
am: 1783fa1940
Change-Id: Ia55d280485efffe88309d3eb2d3123c19b9c1066
2019-01-30 20:40:12 -08:00
Christopher Ferris
1783fa1940
Merge "Replace libbacktrace with libunwindstack directly."
...
am: 8926f1a945
Change-Id: Ic0934d94327f358cfb1f63c702f456098ba10677
2019-01-30 20:36:00 -08:00
Christopher Ferris
8926f1a945
Merge "Replace libbacktrace with libunwindstack directly."
2019-01-31 04:24:18 +00:00
Paul Lawrence
76c5111561
Merge "Improved libdm and dmctl to handle very large numbers of extents" am: 083797adfd am: 7cead3429e
...
am: da06c3453c
Change-Id: I937d3170b89d28e2f40196bdf1e7f956121cfaa5
2019-01-30 18:40:34 -08:00
Bowgo Tsai
229633c739
Merge "Enable AVB for dynamic GSI (f.k.a. Live Image)" am: c1c624a132 am: 83e42a6d22
...
am: e79717c2a3
Change-Id: I6f770212f790c51f97fafadcc8b2eddbab36b01e
2019-01-30 18:24:32 -08:00
Christopher Ferris
3a95a0e695
Merge "Avoid signed extension of chars for build ids." am: d451f39245 am: 959013f3bd
...
am: a050cd0669
Change-Id: Ied303553db98450ed7607de99ffac2668a1d5d85
2019-01-30 18:23:29 -08:00
Paul Lawrence
da06c3453c
Merge "Improved libdm and dmctl to handle very large numbers of extents" am: 083797adfd
...
am: 7cead3429e
Change-Id: I3cd1afc653245e508c52f6ff7960db33588a5f87
2019-01-30 18:16:42 -08:00
Bowgo Tsai
e79717c2a3
Merge "Enable AVB for dynamic GSI (f.k.a. Live Image)" am: c1c624a132
...
am: 83e42a6d22
Change-Id: I541b0c06cc9218a9d090a5fe04dfabd17b9c6551
2019-01-30 18:15:10 -08:00
Christopher Ferris
a050cd0669
Merge "Avoid signed extension of chars for build ids." am: d451f39245
...
am: 959013f3bd
Change-Id: Iefd9ff5e72dd2e9d552de2ee952dfa3e8a45dd00
2019-01-30 18:10:43 -08:00
Paul Lawrence
7cead3429e
Merge "Improved libdm and dmctl to handle very large numbers of extents"
...
am: 083797adfd
Change-Id: I5dd3c352f63916d912fd6e46c2aafb7abf52e057
2019-01-30 18:05:35 -08:00
Bowgo Tsai
83e42a6d22
Merge "Enable AVB for dynamic GSI (f.k.a. Live Image)"
...
am: c1c624a132
Change-Id: I3c7a04947ccc7d60f163a2ef292f9f703495a193
2019-01-30 18:04:49 -08:00
Christopher Ferris
959013f3bd
Merge "Avoid signed extension of chars for build ids."
...
am: d451f39245
Change-Id: Ia9145e164bc4e959c93618cd130b7337186a6e01
2019-01-30 18:01:07 -08:00
Treehugger Robot
083797adfd
Merge "Improved libdm and dmctl to handle very large numbers of extents"
2019-01-31 02:00:32 +00:00
Bowgo Tsai
c1c624a132
Merge "Enable AVB for dynamic GSI (f.k.a. Live Image)"
2019-01-31 01:56:12 +00:00
Christopher Ferris
d451f39245
Merge "Avoid signed extension of chars for build ids."
2019-01-31 01:47:29 +00:00
Xiaoyong Zhou
539be5560a
Merge "Add a tool to add keys to keyring." am: ae7aaab94d am: 0d2d068600
...
am: 288e5d91b6
Change-Id: I99b506b5c9d5c67b537ac6888a80533d2bfd64c8
2019-01-30 15:59:28 -08:00
Xiaoyong Zhou
288e5d91b6
Merge "Add a tool to add keys to keyring." am: ae7aaab94d
...
am: 0d2d068600
Change-Id: Ic28a7f9967ee1bc2afcdf22da20c0e68aa0c3eb2
2019-01-30 15:54:18 -08:00
Xiaoyong Zhou
0d2d068600
Merge "Add a tool to add keys to keyring."
...
am: ae7aaab94d
Change-Id: I3a8a215c960948d67646f48af2ed83251ab5a83d
2019-01-30 15:48:43 -08:00
Treehugger Robot
ae7aaab94d
Merge "Add a tool to add keys to keyring."
2019-01-30 23:19:56 +00:00
Bowgo Tsai
ee6114fb1d
Enable AVB for dynamic GSI (f.k.a. Live Image)
...
Bug: 117960205
Test: Use the dynamic Android to start GSI, checks verity is enabled.
Change-Id: I93b321808ba278b162fec5e231bff7229cac3937
2019-01-31 07:06:14 +08:00
Dario Freni
a7be4fd34f
Merge "Fix: Propagate cmd args to multi-package sessions." am: 2dc8b4cec8 am: f5a2df770b
...
am: e03d955c62
Change-Id: I4409db1d4dd0eb6223c00532e0469303a7f6afe4
2019-01-30 14:08:35 -08:00
Dario Freni
e03d955c62
Merge "Fix: Propagate cmd args to multi-package sessions." am: 2dc8b4cec8
...
am: f5a2df770b
Change-Id: I8e95520d2cc0517c97a6bca87bb537dbf6755849
2019-01-30 13:59:05 -08:00
Dario Freni
f5a2df770b
Merge "Fix: Propagate cmd args to multi-package sessions."
...
am: 2dc8b4cec8
Change-Id: Ib422b1dd4fa91971594af23d781ce2129cda6c39
2019-01-30 13:52:26 -08:00
Treehugger Robot
2dc8b4cec8
Merge "Fix: Propagate cmd args to multi-package sessions."
2019-01-30 21:42:25 +00:00
Paul Lawrence
605fef0e17
Improved libdm and dmctl to handle very large numbers of extents
...
Enables performance testing with very large numbers of dm-linear devices
Test: Can create device with 16384 extents, and can get its table
Bug: 123261135
Change-Id: I0e78a659eb7616e4db6a8276031e25a0d84f52ba
2019-01-30 13:29:41 -08:00
Xiaoyong Zhou
4a5c352e6d
Add a tool to add keys to keyring.
...
This CL adds a binary to load keys to a keyring.
Bug: 112038861
Test: mini-keyctl -k .fsverity -c PATH_CONTAINER_CERTS
Test: cat /proc/keys and find the newly added keys
Change-Id: Iead68618ea194e9412616c5c6cff885e3cf78520
2019-01-30 13:08:31 -08:00
Christopher Ferris
ce34d62351
Avoid signed extension of chars for build ids.
...
Added a unit test that fails before the change and passes afterwards.
Bug: 120606663
Test: All unit tests pass.
Change-Id: I054c7eac0c55abc3babe1d48a041f5819ad9db81
2019-01-30 12:09:11 -08:00
Erick Reyes
8544ce0407
Merge "meminfo: handle multiple buffer references in dmabufinfo" am: 627a37cad9 am: 0001c50d8e
...
am: effbe8dfa8
Change-Id: Ibcbd44419118bfb9b2bf4f79240a005bd6ed8a62
2019-01-30 11:40:53 -08:00
Erick Reyes
effbe8dfa8
Merge "meminfo: handle multiple buffer references in dmabufinfo" am: 627a37cad9
...
am: 0001c50d8e
Change-Id: I7dfb1e72765f1c28ce1c9abcec06c0e4757f1f59
2019-01-30 11:32:57 -08:00
Erick Reyes
0001c50d8e
Merge "meminfo: handle multiple buffer references in dmabufinfo"
...
am: 627a37cad9
Change-Id: I84dc681ee7eaeaea05b72853c4b072139b427d8e
2019-01-30 11:28:13 -08:00
Treehugger Robot
627a37cad9
Merge "meminfo: handle multiple buffer references in dmabufinfo"
2019-01-30 19:11:20 +00:00
David Anderson
1bc2cba163
Merge "libfiemap_writer: Remove Flush and Write methods." am: 98910920ba am: f258278929
...
am: 25743af30e
Change-Id: Ifbb3b09e579c6ae18ce5d3e80cfd0ef368c43464
2019-01-30 09:55:51 -08:00
David Anderson
25743af30e
Merge "libfiemap_writer: Remove Flush and Write methods." am: 98910920ba
...
am: f258278929
Change-Id: I2c0e54ece00e1a8784bd21c337a027ed98cabecf
2019-01-30 09:50:37 -08:00
David Anderson
0b13b7dc48
Merge "Add user/group for gsid." am: 9747a65380 am: 520aa5bfa1
...
am: a174c6e5b5
Change-Id: Ifb6c5fd099e407fd7b8634701dd42bc23a901ef7
2019-01-30 09:49:46 -08:00
David Anderson
f258278929
Merge "libfiemap_writer: Remove Flush and Write methods."
...
am: 98910920ba
Change-Id: Ie7b062606994032f49f534eeebe4813747aed5ea
2019-01-30 09:41:25 -08:00
David Anderson
a174c6e5b5
Merge "Add user/group for gsid." am: 9747a65380
...
am: 520aa5bfa1
Change-Id: I244794b8aca62983bb600ca214aedb09ef23a50a
2019-01-30 09:37:30 -08:00
David Anderson
520aa5bfa1
Merge "Add user/group for gsid."
...
am: 9747a65380
Change-Id: Ia3d0ddb8997e8c4739cb33c709bb9606e2a518dd
2019-01-30 09:34:17 -08:00
David Anderson
98910920ba
Merge "libfiemap_writer: Remove Flush and Write methods."
2019-01-30 17:34:13 +00:00
David Anderson
9747a65380
Merge "Add user/group for gsid."
2019-01-30 17:24:05 +00:00
Dario Freni
a2f3f9558f
Fix: Propagate cmd args to multi-package sessions.
...
Test: adb install-multi-package --staged file1.apk file2.apk. Verified
that --staged is propagated.
Bug: 118865310
Change-Id: I59cd5c49b4a60ab7bf7481732cd3bd3205820d7a
2019-01-30 16:40:02 +00:00
chenbruce
770bdd9ebe
Merge "Add more comments for resolv apex." am: dd70df2e69 am: 38944bba7f
...
am: 8a3db3d4fb
Change-Id: I13200df139dfd08d6d93b579daf89a1cd53cc51b
2019-01-30 06:21:55 -08:00
chenbruce
8a3db3d4fb
Merge "Add more comments for resolv apex." am: dd70df2e69
...
am: 38944bba7f
Change-Id: I0c4f62e58051473bb5b5306526e332ed6ec8a720
2019-01-30 06:16:44 -08:00
chenbruce
38944bba7f
Merge "Add more comments for resolv apex."
...
am: dd70df2e69
Change-Id: I5416ec379359227bde86b14708cfd7e0f93b6fe0
2019-01-30 06:11:34 -08:00
Treehugger Robot
dd70df2e69
Merge "Add more comments for resolv apex."
2019-01-30 13:56:30 +00:00
Jiyong Park
6866041ff0
Proper mount namespace configuration for bionic
...
This CL fixes the design problem of the previous mechanism for providing
the bootstrap bionic and the runtime bionic to the same path.
Previously, bootstrap bionic was self-bind-mounted; i.e.
/system/bin/libc.so is bind-mounted to itself. And the runtime bionic
was bind-mounted on top of the bootstrap bionic. This has not only caused
problems like `adb sync` not working(b/122737045), but also is quite
difficult to understand due to the double-and-self mounting.
This is the new design:
Most importantly, these four are all distinct:
1) bootstrap bionic (/system/lib/bootstrap/libc.so)
2) runtime bionic (/apex/com.android.runtime/lib/bionic/libc.so)
3) mount point for 1) and 2) (/bionic/lib/libc.so)
4) symlink for 3) (/system/lib/libc.so -> /bionic/lib/libc.so)
Inside the mount namespace of the pre-apexd processes, 1) is
bind-mounted to 3). Likewise, inside the mount namespace of the
post-apexd processes, 2) is bind-mounted to 3). In other words, there is
no self-mount, and no double-mount.
Another change is that mount points are under /bionic and the legacy
paths become symlinks to the mount points. This is to make sure that
there is no bind mounts under /system, which is breaking some apps.
Finally, code for creating mount namespaces, mounting bionic, etc are
refactored to mount_namespace.cpp
Bug: 120266448
Bug: 123275379
Test: m, device boots, adb sync/push/pull works,
especially with following paths:
/bionic/lib64/libc.so
/bionic/bin/linker64
/system/lib64/bootstrap/libc.so
/system/bin/bootstrap/linker64
Change-Id: Icdfbdcc1efca540ac854d4df79e07ee61fca559f
2019-01-30 19:18:22 +09:00
chenbruce
d771740030
Add more comments for resolv apex.
...
Describe the link of resolv apex detailedly.
Bug: 119527674
Test: make; flash; lsof -p $(pidof netd)
Change-Id: I0f6038eb9950c6b862a257d0a6f35f19cb83a328
2019-01-30 17:03:09 +08:00