Vishwath Mohan
27a7aa0f59
Blacklist some vector functions for CFI.
...
This CL blacklists some vector functions (construct, copy, splat,
move) that use reinterpret_cast on freshly allocated memory (where the
object doesn't exist yet). This is technically correct, but not
friendly for CFI, which enforces stricter checking to catch type
confusion errors. Blacklisting these specific functions from CFI does
not cause an appreciable coverage loss though, so this should be fine.
Bug: 36219323
Test: Builds and boots, and the reinterpret error goes away on CFI builds.
Test: All 98 libutils_tests pass
Change-Id: I4944b179116bb1e1608d92697e95e182d8c0ac9f
2017-03-23 14:37:12 -07:00
Elliott Hughes
66e6c5a1b5
Merge "Switch "adb sideload" over to lseek/read." am: c0ca39c41a
...
am: 0cb8c69bf2
Change-Id: Icd04d5c95a46b1a334d8569beb36621a7e1a67cb
2017-03-23 21:31:53 +00:00
Elliott Hughes
0cb8c69bf2
Merge "Switch "adb sideload" over to lseek/read."
...
am: c0ca39c41a
Change-Id: Ia50ff02ed1e11f6bac3d5ef2e5d09c03fa6f216c
2017-03-23 21:21:34 +00:00
Adam Lesinski
aa1d43230c
Merge "libziparchive: fix mac os breakage" am: 390f3b364c
am: 7cfe1d69b0
...
am: cdbadafb4a
Change-Id: Ie327879eaea542911603640e36f0d867e05afd61
2017-03-23 21:12:58 +00:00
Adam Lesinski
cdbadafb4a
Merge "libziparchive: fix mac os breakage" am: 390f3b364c
...
am: 7cfe1d69b0
Change-Id: I0f1367d9fad529c3a65d7d3e6dc65343c4826889
2017-03-23 21:09:30 +00:00
Elliott Hughes
c0ca39c41a
Merge "Switch "adb sideload" over to lseek/read."
2017-03-23 21:06:51 +00:00
Adam Lesinski
7cfe1d69b0
Merge "libziparchive: fix mac os breakage"
...
am: 390f3b364c
Change-Id: Ib7e882634636f74092487766f4abc8d969b0468a
2017-03-23 21:05:03 +00:00
Treehugger Robot
390f3b364c
Merge "libziparchive: fix mac os breakage"
2017-03-23 20:58:58 +00:00
Mark Salyzyn
02842f2138
Merge "libcutils: fs_config() add check /odm/etc/fs_config_*" am: 1e62880f70
am: e1d2e3436e
...
am: cdbdf087bd
Change-Id: Ia4c97d29b9813c4ee233b0d62397f11bd79fb020
2017-03-23 20:05:44 +00:00
Mark Salyzyn
cdbdf087bd
Merge "libcutils: fs_config() add check /odm/etc/fs_config_*" am: 1e62880f70
...
am: e1d2e3436e
Change-Id: Ibf4e4a5afc7b37e27be3f819e27495b8d5e3f97d
2017-03-23 20:02:45 +00:00
Mark Salyzyn
e1d2e3436e
Merge "libcutils: fs_config() add check /odm/etc/fs_config_*"
...
am: 1e62880f70
Change-Id: Iad391f827bcb33cc03cb6fb8f602c48f1102d431
2017-03-23 19:59:45 +00:00
Treehugger Robot
1e62880f70
Merge "libcutils: fs_config() add check /odm/etc/fs_config_*"
2017-03-23 19:54:14 +00:00
Jeff Vander Stoep
5659c9cf1d
Merge "Create dir in /data for vendor customization" am: c39a31f002
am: bfc4da8369
...
am: bc4d384d49
Change-Id: Ic14d961fb28c1cbad6a2082a321a679580a69d2c
2017-03-23 19:48:45 +00:00
Jeff Vander Stoep
bc4d384d49
Merge "Create dir in /data for vendor customization" am: c39a31f002
...
am: bfc4da8369
Change-Id: Ib93262f3d44f879eca773f1050a72da7c456f563
2017-03-23 19:45:52 +00:00
Jeff Vander Stoep
bfc4da8369
Merge "Create dir in /data for vendor customization"
...
am: c39a31f002
Change-Id: Icc41ac9e849afd0250944ff8cc3b00e3b78ed52b
2017-03-23 19:43:21 +00:00
Treehugger Robot
c39a31f002
Merge "Create dir in /data for vendor customization"
2017-03-23 19:36:52 +00:00
Adam Lesinski
b02d690336
libziparchive: fix mac os breakage
...
Add ftruncate64 to utils/Compat.h definitions for mac.
Change-Id: I82cb46927be911e867b606f4f4429a5e1b1987f7
Test: builds on mac
2017-03-23 12:02:09 -07:00
Brian Carlstrom
6d1da7c607
Fix spelling error in warning
...
Test: m -j32 -k
Bug: 36450628
Change-Id: I0f6463f3de3dcf45f396c7f406f8c1d6b79bf7f9
2017-03-23 11:29:57 -07:00
Adam Lesinski
e80f0cc5fb
Merge "libziparchive: Add ability to backup in ZipWriter" am: 0e19795a62
am: a41597ba0e
...
am: 797852c435
Change-Id: I10f76ce5bec477f1e27ef7456e20cdedd9e3833f
2017-03-23 18:15:01 +00:00
Adam Lesinski
797852c435
Merge "libziparchive: Add ability to backup in ZipWriter" am: 0e19795a62
...
am: a41597ba0e
Change-Id: Iaab0c1908c7a936462ade0157de9e21434dbbce3
2017-03-23 18:09:55 +00:00
Adam Lesinski
a41597ba0e
Merge "libziparchive: Add ability to backup in ZipWriter"
...
am: 0e19795a62
Change-Id: Id15ab4bf8bd40640d2a301f0464230b620e8b603
2017-03-23 18:07:27 +00:00
Treehugger Robot
0e19795a62
Merge "libziparchive: Add ability to backup in ZipWriter"
2017-03-23 17:59:47 +00:00
Jeff Vander Stoep
61efb0dab8
Create dir in /data for vendor customization
...
Vendor owns /data/vendor.
HAL data must go in /data/vendor/hardware/.
Bug: 34980020
Test: build and boot AOSP Marlin. Observe /data/vendor and
/data/vendor/hardware exist and are empty.
Change-Id: I6fe96e3c76a10a5eb480ba10e10d4d006de56c12
2017-03-23 10:30:34 -07:00
Fernando Lugo
9e0c682e61
Merge changes I0ad349f2,I0f528cf1 am: 27a091d4a1
am: 69482cc127
...
am: 89573b397d
Change-Id: Id087881d88f87e2b31a77aab6f818118c04c25c6
2017-03-23 17:01:12 +00:00
Fernando Lugo
89573b397d
Merge changes I0ad349f2,I0f528cf1 am: 27a091d4a1
...
am: 69482cc127
Change-Id: I4871700c01aa89068992ccb04dd6cdfc152434ee
2017-03-23 16:59:13 +00:00
Fernando Lugo
69482cc127
Merge changes I0ad349f2,I0f528cf1
...
am: 27a091d4a1
Change-Id: Ifac25d45d429da636dbcac608b865163effffc93
2017-03-23 16:55:45 +00:00
Fernando Lugo
27a091d4a1
Merge changes I0ad349f2,I0f528cf1
...
* changes:
fs_mgr: allow using legacy A/B suffix
fs_mgr: adapt to new A/B support
2017-03-23 16:52:51 +00:00
Christopher Ferris
8b06f82bd9
Merge "Initialize si_code in siginfo." am: 446538b5ad
am: ab481277f1
...
am: 393fcff01a
Change-Id: I9346bcad28f3d6b0eb80598863d64114b4997ff5
2017-03-23 16:50:43 +00:00
Christopher Ferris
393fcff01a
Merge "Initialize si_code in siginfo." am: 446538b5ad
...
am: ab481277f1
Change-Id: I9abcd50a260a30d17ff59d50bd2820a71dc225f6
2017-03-23 16:48:11 +00:00
Christopher Ferris
ab481277f1
Merge "Initialize si_code in siginfo."
...
am: 446538b5ad
Change-Id: I0b51f6d4351f0f918ac4f78ba24400271505b74e
2017-03-23 16:45:42 +00:00
Christopher Ferris
446538b5ad
Merge "Initialize si_code in siginfo."
2017-03-23 16:38:11 +00:00
Wei Wang
e46aae2236
libcutils: only change cgroup when fd is initialized [ DO NOT MERGE ]
...
This is to avoid failues on setting non-exist cgroup
Bug: 34193533
Test: on marlin
Change-Id: I619dcba332fda9ec421df811745cf10311beddd3
2017-03-23 16:22:08 +00:00
Narayan Kamath
80855f5081
Merge "logwrapper: add a benchmark for android_fork_execvp_ext" am: 1620c51f75
am: 99e39e845b
...
am: 28cce76d43
Change-Id: I1fa6b24eb1f8d8f5e2e1ee299a3fd9d1328b6fd0
2017-03-23 12:04:58 +00:00
Narayan Kamath
28cce76d43
Merge "logwrapper: add a benchmark for android_fork_execvp_ext" am: 1620c51f75
...
am: 99e39e845b
Change-Id: Ic2a9d12086dadcb38666f285d757b4559fe31148
2017-03-23 12:02:26 +00:00
Narayan Kamath
99e39e845b
Merge "logwrapper: add a benchmark for android_fork_execvp_ext"
...
am: 1620c51f75
Change-Id: Ib0e80fda748782f52deedcdf699304a268002096
2017-03-23 11:59:56 +00:00
Treehugger Robot
1620c51f75
Merge "logwrapper: add a benchmark for android_fork_execvp_ext"
2017-03-23 11:56:10 +00:00
Narayan Kamath
f4605c2156
Merge "Logwrapper: Remove unused support for input / output processing." am: fa339a4f5c
am: 1e7180f598
...
am: 412f0ac41b
Change-Id: I3bbd3d6694863d8b51626e56cd7950029b36a5f9
2017-03-23 10:12:20 +00:00
Narayan Kamath
412f0ac41b
Merge "Logwrapper: Remove unused support for input / output processing." am: fa339a4f5c
...
am: 1e7180f598
Change-Id: I7e7969727b5ddf00b1a32552a911b2383cda2953
2017-03-23 10:09:49 +00:00
Narayan Kamath
1e7180f598
Merge "Logwrapper: Remove unused support for input / output processing."
...
am: fa339a4f5c
Change-Id: I118a761301df851ae21618a5097904ba84d654a1
2017-03-23 10:07:20 +00:00
Narayan Kamath
fa339a4f5c
Merge "Logwrapper: Remove unused support for input / output processing."
2017-03-23 10:04:26 +00:00
Narayan Kamath
f704193384
logwrapper: add a benchmark for android_fork_execvp_ext
...
Current results on an aosp_angler (32 bit) :
Benchmark Time CPU Iterations
-----------------------------------------------------------------
BM_android_fork_execvp_ext 15019207 ns 1002131 ns 700
Test: android_fork_execvp_ext_benchmark
Change-Id: I3d4339ff5cbb9a641cbb14f0b55d2b5fc18cdfde
2017-03-23 10:02:21 +00:00
Daichi Hirono
96c6aa4f20
Enable FuseBridgeLoop to accept new mount point after starting
...
The CL turns StartFuseBridgeLoop function into FuseBridgeLoop class, and
adds a method adding new appfuse mount to the loop.
After doing this, one FuseBridgeLoop can process FUSE commands from
multiple AppFuse mounts.
Bug: 34903085
Test: libappfuse_test
Change-Id: I54f11f54bc26c551281b9c32e9bb91f8f043774c
2017-03-23 16:22:03 +09:00
Steven Moreland
2b9a3391d0
Merge "Start hwservicemanager earlier." am: fcd509298d
am: 0a85db775e
...
am: 6c546660d9
Change-Id: Ifd4e04fef289f8ece3884434efa1a3c6d47890fa
2017-03-23 03:53:01 +00:00
Steven Moreland
6c546660d9
Merge "Start hwservicemanager earlier." am: fcd509298d
...
am: 0a85db775e
Change-Id: I244eae87c9545432d4fc93ccb6dab77b1a564448
2017-03-23 03:49:30 +00:00
Steven Moreland
0a85db775e
Merge "Start hwservicemanager earlier."
...
am: fcd509298d
Change-Id: I3abfc8e790b57f97503e507702aa184ae9fe0dca
2017-03-23 03:47:01 +00:00
Treehugger Robot
fcd509298d
Merge "Start hwservicemanager earlier."
2017-03-23 03:39:40 +00:00
TreeHugger Robot
2afb680967
Merge "Add FuseMessage::WriteWithBody function"
2017-03-23 02:48:20 +00:00
Fernando Lugo
ce9d7db979
fs_mgr: allow using legacy A/B suffix
...
Right now all platforms supporting A/B have not fixed
androidboot.slot_suffix kernel command line parameter. To avoid breaking
all those platform allow using legacy support bootloaders get fixed.
Bug: 36533366
Test: boot
Change-Id: I0ad349f262d0b7f4897f3e184cb053b1440b2d5b
Signed-off-by: Fernando Lugo <flugo@google.com>
2017-03-22 19:22:25 -07:00
Fernando Lugo
d1dcedd3fb
fs_mgr: adapt to new A/B support
...
In the new A/B partition support suffixes don't have "_". So, fix fs_mgr
code that assumes it has "_"
Bug: 36533366
Test: boot
Change-Id: I0f528cf1e8fecacb1b4ae34f6dc42e18ebe777bb
Signed-off-by: Fernando Lugo <flugo@google.com>
2017-03-22 19:21:56 -07:00
Christopher Ferris
496f95f821
Merge "Do not access device maps." am: a06e1c9eef
am: cc99ba7ff5
...
am: 69549a561b
Change-Id: I470d78666c959cfaec33f26b6931ba2ea6c0d6c0
2017-03-23 01:18:38 +00:00