Jingwen Chen
c551fc7e7a
Merge "bp2build: remove some bp2build_available props, use package_allowlist instead."
2021-03-24 21:38:07 +00:00
Jingwen Chen
c57947860d
bp2build: remove some bp2build_available props, use package_allowlist instead.
...
Test: build/bazel/scripts/milestone-2/demo.sh full
Test: bazel query //bionic/...
Change-Id: I737574766be898279d8bf6f3f0adb43dcc40c220
2021-03-19 02:06:27 -04:00
Christopher Ferris
3ddeba91bc
Merge "Update kernel update documentation." am: b40eb10acc
am: d4837aec31
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1644526
Change-Id: I7e9ac0a1fceb24eea0a299f50892f9c15ad64731
2021-03-18 22:43:15 +00:00
Christopher Ferris
d4837aec31
Merge "Update kernel update documentation." am: b40eb10acc
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1644526
Change-Id: If8ff69d114e58479ba846a4cce1725143694a6aa
2021-03-18 22:09:51 +00:00
Christopher Ferris
b40eb10acc
Merge "Update kernel update documentation."
2021-03-18 20:01:54 +00:00
Treehugger Robot
1133cae55b
Merge "Remove __stack_chk_fail_local() completely." am: e5f7b3e2ca
am: 699c9faada
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1641282
Change-Id: Ib7712129c907c20564815af8739e18b7608aecd1
2021-03-18 13:11:48 +00:00
Treehugger Robot
699c9faada
Merge "Remove __stack_chk_fail_local() completely." am: e5f7b3e2ca
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1641282
Change-Id: I0b4cc84e87fc746c81b783b95ee54a5c9ae24414
2021-03-18 12:35:39 +00:00
Treehugger Robot
e5f7b3e2ca
Merge "Remove __stack_chk_fail_local() completely."
2021-03-18 12:10:49 +00:00
Christopher Ferris
7e2f6ffeaf
Update kernel update documentation.
...
Parts of the document have gone out of date, so update it.
Test: NA
Change-Id: Ia4bc534ca1cc9a538d5995126c541c2cd7029c57
2021-03-18 00:38:34 -07:00
Treehugger Robot
b244ac1d47
Merge "scandir: remove dead code." am: b6ed09d323
am: b966c33e09
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1641339
Change-Id: I6cf425e24379f0feb9a3beacee14cb0f3926f47b
2021-03-17 17:57:56 +00:00
Treehugger Robot
b966c33e09
Merge "scandir: remove dead code." am: b6ed09d323
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1641339
Change-Id: Iae147f53bc4915bc5b6c2c145daaf5c8a26956d8
2021-03-17 17:14:26 +00:00
Treehugger Robot
b6ed09d323
Merge "scandir: remove dead code."
2021-03-17 16:33:19 +00:00
Elliott Hughes
5501003be7
Remove __stack_chk_fail_local() completely.
...
As far as I can tell, clang never implemented this GCC workaround for
32-bit x86's terrible PIC code. Since the whole point of
__stack_chk_fail_local() requires that it's in the same executable or
library as its callers, any prebuilt with a dependency on this (because
it was built by GCC) already has its own copy anyway. And clang isn't
creating any new ones, so I think this has been dead for several years
now.
Test: treehugger
Change-Id: I96997bbf912bbff506db44c285d9941fef9f86ce
2021-03-17 09:02:34 -07:00
Treehugger Robot
c920f14a7c
Merge "Clean up __stack_chk_fail_local slightly." am: 433293dbc9
am: e75355e03a
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1641340
Change-Id: I5ac25c9c56163b3d98b873d4ac683390589f00e5
2021-03-17 14:33:53 +00:00
Treehugger Robot
e75355e03a
Merge "Clean up __stack_chk_fail_local slightly." am: 433293dbc9
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1641340
Change-Id: Ibb6b1d626d4f3670b4e4588c7d120260f7eb3bfb
2021-03-17 13:55:12 +00:00
Treehugger Robot
433293dbc9
Merge "Clean up __stack_chk_fail_local slightly."
2021-03-17 13:25:55 +00:00
Elliott Hughes
92da28625f
Clean up __stack_chk_fail_local slightly.
...
Motivated by the fact that bazel doesn't like #include "../", but this
feels like it could use a deeper clean.
In fact, even after this change, I think we should remove this entirely,
since as far as I can tell Clang never implemented this GCC workaround
for 32-bit x86's awful PIC code.
Test: treehugger
Change-Id: I72715ee46f873f42d5707712aebe246ef78fcde1
2021-03-16 16:41:53 -07:00
Elliott Hughes
13a761032f
scandir: remove dead code.
...
This is the second or third time I've scratched my head wondering why
this destructor has no coverage. I was tempted to leave it in with a
comment saying it should never be called, but that seemed sillier than
just replacing it with an assertion.
Test: treehugger
Change-Id: I3442d9f8a391fae668e77c6888a4457ededee494
2021-03-16 16:20:38 -07:00
Liz Kammer
b2b39f1e29
Merge "Remove bazel_module.label from bionic genrules" am: eb33b5b7a8
am: 2a2bebb557
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1611244
Change-Id: Ifd6be887a82a401ce1e771db589e17e2bf3376c8
2021-03-16 22:35:08 +00:00
Liz Kammer
2a2bebb557
Merge "Remove bazel_module.label from bionic genrules" am: eb33b5b7a8
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1611244
Change-Id: I246d7af7be08f51de7096e242013c5d101cd2158
2021-03-16 21:54:50 +00:00
Liz Kammer
eb33b5b7a8
Merge "Remove bazel_module.label from bionic genrules"
2021-03-16 21:40:04 +00:00
Treehugger Robot
3b4f4aff69
Merge "Depend on libasync_safe module instead of breaking package boundary." am: 35428fe99d
am: 3f67de35b7
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1639799
Change-Id: Iea3acca89f1763b696e72e5404d1ac9973341011
2021-03-16 18:21:09 +00:00
Treehugger Robot
3f67de35b7
Merge "Depend on libasync_safe module instead of breaking package boundary." am: 35428fe99d
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1639799
Change-Id: Iaea0beeaef397fd064bc71233dec68be27470f13
2021-03-16 17:41:30 +00:00
Treehugger Robot
35428fe99d
Merge "Depend on libasync_safe module instead of breaking package boundary."
2021-03-16 17:01:07 +00:00
Liz Kammer
76ae8abac5
Merge "Add missing includes for crtend modules" am: 6a4177c42d
am: f8e3668ce2
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1637585
Change-Id: Ib58e435b7c02c2a6b18d515665d4f5c71765b534
2021-03-16 13:50:59 +00:00
Liz Kammer
f8e3668ce2
Merge "Add missing includes for crtend modules" am: 6a4177c42d
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1637585
Change-Id: Ibac754faca6cbda5772eee82994976fdc737b4ff
2021-03-16 13:03:30 +00:00
Liz Kammer
6a4177c42d
Merge "Add missing includes for crtend modules"
2021-03-16 12:43:35 +00:00
Rupert Shuttleworth
78f48a511f
Depend on libasync_safe module instead of breaking package boundary.
...
This makes Bazel conversion easier (because in Bazel package boundaries really matter).
Test: m libc still builds, and m also builds.
Change-Id: I5cfc9d83dffd3110ffad9ce03198e6141c8c5b33
2021-03-16 06:39:19 +00:00
Josh Gao
d03ad35fbd
Merge "fdtrack: emit the most common stack in the abort message." am: 6ad715689d
am: a78103a214
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1631062
Change-Id: I019a46bc66ebe0b0a5b1305d94c7db129abfe622
2021-03-16 02:48:45 +00:00
Josh Gao
a78103a214
Merge "fdtrack: emit the most common stack in the abort message." am: 6ad715689d
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1631062
Change-Id: If17f14cbc0f278bcb1b421a2e5a394c5be1dce7e
2021-03-16 02:08:59 +00:00
Josh Gao
6ad715689d
Merge "fdtrack: emit the most common stack in the abort message."
2021-03-16 01:35:43 +00:00
Mitch Phillips
2c99244d2a
Merge "Mark MTE elf notes as sdk_version to allow SDK linkage." am: 87f4a2e50b
am: 7f2c007dce
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1617640
Change-Id: I8efa8782d0dd0152f2ccdd88d3a901f640e5edae
2021-03-15 22:57:51 +00:00
Josh Gao
1cb3681335
fdtrack: emit the most common stack in the abort message.
...
Bug: http://b/181875562
Test: manual
Change-Id: I2826b148d55788e932fa04dcef33c78fad8be227
2021-03-15 15:55:06 -07:00
Mitch Phillips
7f2c007dce
Merge "Mark MTE elf notes as sdk_version to allow SDK linkage." am: 87f4a2e50b
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1617640
Change-Id: Ia68282fd93a9610b4469e0f14fb6968dc9d0eb41
2021-03-15 22:16:09 +00:00
Liz Kammer
aab2ad700b
Add missing includes for crtend modules
...
Test: convert bp2build_available targets to BUILD and bazel build
--platforms=//build/bazel/platforms:generic_arm64 //bionic/...
Change-Id: I1cbdbf1d65d7dbe95665aaac08004c80f82433e9
2021-03-15 18:03:24 -04:00
Mitch Phillips
87f4a2e50b
Merge "Mark MTE elf notes as sdk_version to allow SDK linkage."
2021-03-15 21:33:07 +00:00
Liz Kammer
fd67934d6e
Merge "Merge crt cc_objects" am: 821e375664
am: d7676cc86c
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1624701
Change-Id: I4733dddc2db6168d1eaf6a3207a39d162ad54e5f
2021-03-15 20:01:38 +00:00
Liz Kammer
d7676cc86c
Merge "Merge crt cc_objects" am: 821e375664
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1624701
Change-Id: Ib52e89b33a574528ca258ccb5bcee82abdebfd8e
2021-03-15 19:24:43 +00:00
Liz Kammer
821e375664
Merge "Merge crt cc_objects"
2021-03-15 19:02:32 +00:00
Treehugger Robot
3caa73af1e
Merge "Add userfaultfd syscall in SECCOMP allowlist" am: 051b454ff1
am: 117f738b35
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1629099
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I4b5543eecc277dd96837b033f538afa18a91e419
2021-03-11 20:28:59 +00:00
Treehugger Robot
744786a856
Merge "Improve fchmod() coverage." am: 4b6a29dbe9
am: a49b30f03c
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1623242
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I95a5a96679501ce64e49fa6bd7696276836ad221
2021-03-11 20:28:55 +00:00
Treehugger Robot
117f738b35
Merge "Add userfaultfd syscall in SECCOMP allowlist" am: 051b454ff1
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1629099
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Icc62660f3a668bd9dabd201ac0fd72e6cdc14fe6
2021-03-11 20:07:00 +00:00
Treehugger Robot
051b454ff1
Merge "Add userfaultfd syscall in SECCOMP allowlist"
2021-03-11 19:54:47 +00:00
Treehugger Robot
a49b30f03c
Merge "Improve fchmod() coverage." am: 4b6a29dbe9
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1623242
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I854427717897936020b97c42d40fbb76b0b50689
2021-03-11 19:49:37 +00:00
Lokesh Gidra
7839c173f1
Add userfaultfd syscall in SECCOMP allowlist
...
Enable userfaultfd syscall to be used by ART-GC.
Bug: 160737021
Test: manually tested by invoking userfaultfd syscall in ART
Change-Id: I9f98402a96bb8363a1e5fa49dbadbb37dc70d561
2021-03-11 19:30:08 +00:00
Treehugger Robot
4b6a29dbe9
Merge "Improve fchmod() coverage."
2021-03-11 19:19:17 +00:00
Peter Collingbourne
a2e82dce79
Merge "Teach debuggerd to pass the secondary ring buffer to __scudo_get_error_info()." am: 03e961e392
am: e576a13d04
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1587832
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I29af62cca1e76e4b1bf444d246cf66ef89570694
2021-03-11 02:41:32 +00:00
Treehugger Robot
63c9ebaa1d
Merge "Add debuggerd_test to bionic test mapping." am: 6d8515ffd0
am: cdf1d1e12b
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1626679
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ia309af2db6a8c4bb5005828a708f2540761d5082
2021-03-11 02:41:06 +00:00
Peter Collingbourne
e576a13d04
Merge "Teach debuggerd to pass the secondary ring buffer to __scudo_get_error_info()." am: 03e961e392
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1587832
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I2f4d2b0ce76f79899d390816c38e897e7f1f01bc
2021-03-11 01:58:21 +00:00
Treehugger Robot
cdf1d1e12b
Merge "Add debuggerd_test to bionic test mapping." am: 6d8515ffd0
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1626679
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I7a950949d0c25e217776206acd9e5fa1db79c18a
2021-03-11 01:57:53 +00:00