Florian Mayer
c10d064b5c
Introduce hwasan mode for linker
...
This mode instructs the linker to search for libraries in hwasan
subdirectories of all library search paths. This is set up to contain a
hwasan-enabled copy of libc, which is needed for HWASan programs to
operate. There are two ways this mode can be enabled:
* for native binaries, by using the linker_hwasan64 symlink as its
interpreter
* for apps: by setting the LD_HWASAN environment variable in wrap.sh
Bug: 276930343
Change-Id: I0f4117a50091616f26947fbe37a28ee573b97ad0
2023-04-14 01:33:30 -07:00
zijunzhao
e14f2f9f20
Nullability check for sendfile module.
...
Bugs: b/245972273
Test: adb shell
Change-Id: I47d116b1faf7d53ac51589e393a3df96874a4f37
2023-04-14 01:07:12 +00:00
zijunzhao
7f5c789f35
Nullability check for ipc module.
...
Bugs: b/245972273
Test: adb shell
Change-Id: Idb89b878e415a62399890dcd3b40e54c3e9c9ef6
2023-04-14 01:05:54 +00:00
zijunzhao
181c31653e
Nullability check for capability module.
...
Bugs: b/245972273
Test: adb shell
Change-Id: I9df50d82e7b86576912ed42e93b1e98c6ded6551
2023-04-14 01:04:29 +00:00
zijunzhao
e43d55348f
Nullability check for random module.
...
Bugs: b/245972273
Test: adb shell
Change-Id: Ie7e06bcf4fda1b177c8d8fcb6a813c1b4a50ea26
2023-04-14 01:01:37 +00:00
Treehugger Robot
96364f8bbb
Merge "Nullability check for modules in include/android directory" am: be39cd5ebb
am: 104d52f80e
am: e568052c63
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2534959
Change-Id: Iaf82811ebd541666d4e1267764a8fc3c4b000639
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 21:15:49 +00:00
Treehugger Robot
e568052c63
Merge "Nullability check for modules in include/android directory" am: be39cd5ebb
am: 104d52f80e
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2534959
Change-Id: I30f80efb1bb0047e527f7a1a394b90a7e06797a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 20:43:11 +00:00
Treehugger Robot
104d52f80e
Merge "Nullability check for modules in include/android directory" am: be39cd5ebb
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2534959
Change-Id: I5d34b12243a8e1b846102bd565f537b983974053
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 20:09:49 +00:00
Treehugger Robot
55f151554f
Merge "Clarify what part of the NDK sets the soname." am: 85e5ecc306
am: 664138c15f
am: 3cc243c7fe
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2535080
Change-Id: Iacd3f6195bc0b7346370628ec19d609b3e0b1de0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 19:25:44 +00:00
Treehugger Robot
be39cd5ebb
Merge "Nullability check for modules in include/android directory"
2023-04-13 18:37:42 +00:00
Treehugger Robot
3cc243c7fe
Merge "Clarify what part of the NDK sets the soname." am: 85e5ecc306
am: 664138c15f
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2535080
Change-Id: If0b198d4b687bbe02f923d1c22d81b553d539f4b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 18:32:23 +00:00
Treehugger Robot
664138c15f
Merge "Clarify what part of the NDK sets the soname." am: 85e5ecc306
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2535080
Change-Id: I0d49961a1f8f04b10f1e9d43594060d41730d38d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 17:46:27 +00:00
Treehugger Robot
85e5ecc306
Merge "Clarify what part of the NDK sets the soname."
2023-04-13 17:06:21 +00:00
Elliott Hughes
fc51cac4e3
Merge "riscv64: switch from x18 to gp for shadow call stack." am: 4aa40a5f77
am: 23a6dcc453
am: 38c4e72f19
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2526531
Change-Id: I44a16f02692a2a4fec8ef32674a141ebf4b86a0e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 16:10:18 +00:00
Elliott Hughes
6aaf32dabb
Merge "setjmp.h: add some historical detail about the _JBLEN values." am: 989c15197a
am: 608bc534e2
am: 45b62285ae
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2533806
Change-Id: Icdaae6418a1ff785a6372e1d3f8414668359172b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 16:07:56 +00:00
Elliott Hughes
38c4e72f19
Merge "riscv64: switch from x18 to gp for shadow call stack." am: 4aa40a5f77
am: 23a6dcc453
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2526531
Change-Id: Ia15a335ff270601eb6da311ecce78db0df9ca505
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 15:26:37 +00:00
Elliott Hughes
45b62285ae
Merge "setjmp.h: add some historical detail about the _JBLEN values." am: 989c15197a
am: 608bc534e2
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2533806
Change-Id: Ia141bc0aedd0db707913058496684a6ec450abec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 15:26:14 +00:00
Elliott Hughes
23a6dcc453
Merge "riscv64: switch from x18 to gp for shadow call stack." am: 4aa40a5f77
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2526531
Change-Id: I11e5f072c4fbce4a6d5d50a54eb09620d49c6849
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 14:57:42 +00:00
Elliott Hughes
608bc534e2
Merge "setjmp.h: add some historical detail about the _JBLEN values." am: 989c15197a
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2533806
Change-Id: Ibca2f37225becb55004bbac3de09ed7c966cb232
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 14:57:19 +00:00
Elliott Hughes
8aa1deb96c
Clarify what part of the NDK sets the soname.
...
It's the build systems, not the toolchain itself.
Bug: https://github.com/android/ndk/issues/1865
Test: treehugger
Change-Id: I74b35498e32c798683fd39e7369f87ff6cc2de38
2023-04-13 14:45:00 +00:00
Elliott Hughes
4aa40a5f77
Merge "riscv64: switch from x18 to gp for shadow call stack."
2023-04-13 14:33:06 +00:00
Elliott Hughes
989c15197a
Merge "setjmp.h: add some historical detail about the _JBLEN values."
2023-04-13 14:05:02 +00:00
zijunzhao
ac6d59cc75
Nullability check for modules in include/android directory
...
Bugs: b/245972273
Test: adb shell
Change-Id: Ic00d207331d9837a01cf96ec7fe623961e653051
2023-04-12 23:26:46 +00:00
Treehugger Robot
0d8a05a12d
Merge "Nullability check for semaphore module" am: 05a48064c8
am: ee42025916
am: cf6a9427a8
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2513457
Change-Id: I93e8612cb52f8eba0fabc64829a0f73c5c376f94
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 22:18:59 +00:00
Treehugger Robot
cf6a9427a8
Merge "Nullability check for semaphore module" am: 05a48064c8
am: ee42025916
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2513457
Change-Id: I34b07e00c6c87ff42bf686e5c57358f9fb2e322d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 21:43:15 +00:00
Elliott Hughes
7dd3896fe1
riscv64: switch from x18 to gp for shadow call stack.
...
We want to give back a useful callee-saved general purpose
register (x18) that was only "chosen" because it was what llvm
allowed for historical reasons. gp is a better choice because it's
effectively unused otherwise anyway.
Unfortunately, that means we need extra space in jmp_buf (which I've
reserved in an earlier change, e7b3b8b467
),
so let's rearrange the entries in jmp_buf to match their order in the
register file.
Bug: https://github.com/google/android-riscv64/issues/72
Bug: http://b/277909695
Test: treehugger
Change-Id: Ia629409a894c1a83d2052885702bbdd895c758e1
2023-04-12 14:19:38 -07:00
Treehugger Robot
ee42025916
Merge "Nullability check for semaphore module" am: 05a48064c8
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2513457
Change-Id: Ibe8dc138ed88dc06bf0eaa38a00e9dd972f418f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 21:08:18 +00:00
Treehugger Robot
05a48064c8
Merge "Nullability check for semaphore module"
2023-04-12 20:37:28 +00:00
Elliott Hughes
634186b505
setjmp.h: add some historical detail about the _JBLEN values.
...
Test: treehugger
Change-Id: Iadc16347be9bb186d9e7ada1e6f44bd2c36b04f2
2023-04-12 12:43:10 -07:00
zijunzhao
d3e0652877
Nullability check for semaphore module
...
Bugs: b/245972273
Test: adb shell
Change-Id: I52598efabf40a49dc75057dc8acb8228ed039fca
2023-04-12 18:07:11 +00:00
Treehugger Robot
c580e74bfc
Merge "Rename files/modules that have the same name" am: 97950cb186
am: 6fd93607fa
am: e9dcc0d909
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2531763
Change-Id: Ia869e7f2a365ed1ea4074c22fbd358ddae84c6f7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 03:20:08 +00:00
Treehugger Robot
e9dcc0d909
Merge "Rename files/modules that have the same name" am: 97950cb186
am: 6fd93607fa
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2531763
Change-Id: I433f1350da902f7e862c9eda98c69ef52abb286f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 02:47:52 +00:00
Treehugger Robot
6fd93607fa
Merge "Rename files/modules that have the same name" am: 97950cb186
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2531763
Change-Id: Id6186409f744f122f2b10fe3b809fc45022dceb8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 02:10:53 +00:00
Treehugger Robot
97950cb186
Merge "Rename files/modules that have the same name"
2023-04-12 01:12:14 +00:00
Cole Faust
f5968d82f5
Rename files/modules that have the same name
...
Bazel doesn't like it when modules produce files with the same name
as the module itself, and gives warnings.
Rename either the module or file in this case so that the file has
an extension and the module doesn't.
Bug: 198619163
Test: m nothing
Change-Id: Ic4592b06f575496ffd54ac75cb4d682118b29d93
2023-04-11 15:20:19 -07:00
Treehugger Robot
ba958a6a70
Merge "Revert "Workaround boot loop by turning off stack protector check for noreturn calls"" am: 4473a937df
am: b4f5d939e1
am: f7c9b8571d
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2529164
Change-Id: I11045a066db8a84406fe7ca74390878f14ed42ac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-11 16:34:45 +00:00
Treehugger Robot
f7c9b8571d
Merge "Revert "Workaround boot loop by turning off stack protector check for noreturn calls"" am: 4473a937df
am: b4f5d939e1
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2529164
Change-Id: Ifa88cd96906758de2aa2b1f52805aeb4dd6f6e3b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-11 16:05:10 +00:00
Treehugger Robot
b4f5d939e1
Merge "Revert "Workaround boot loop by turning off stack protector check for noreturn calls"" am: 4473a937df
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2529164
Change-Id: Ieeab9f602d0b46ce11eaddbfbb822700ab28da1c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-11 15:36:36 +00:00
Treehugger Robot
4473a937df
Merge "Revert "Workaround boot loop by turning off stack protector check for noreturn calls""
2023-04-11 15:04:46 +00:00
Yi Kong
66c09671fa
Revert "Workaround boot loop by turning off stack protector check for noreturn calls"
...
This reverts commit 9b4cf9733f
.
Fixed by https://reviews.llvm.org/D147975 .
Change-Id: I2de39359783d739fd7f9da410fd78421638dbd70
2023-04-11 06:56:31 +00:00
Treehugger Robot
e37a75ae67
Merge "Exclude crtbrand.o from the NDK sysroot." am: ac599ac89e
am: 523e3ec2c3
am: 1bd84531f0
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2524215
Change-Id: I63429eac57fed27ef171e1f118ca12acd11f48d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-11 02:07:05 +00:00
Treehugger Robot
1bd84531f0
Merge "Exclude crtbrand.o from the NDK sysroot." am: ac599ac89e
am: 523e3ec2c3
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2524215
Change-Id: I47bb1e8853a269e79d3483bc7bf75e0d446b61d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-11 02:06:18 +00:00
Treehugger Robot
523e3ec2c3
Merge "Exclude crtbrand.o from the NDK sysroot." am: ac599ac89e
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2524215
Change-Id: I6d8188a53c249d3139ea298941b3853df4847693
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-11 01:36:13 +00:00
Treehugger Robot
ac599ac89e
Merge "Exclude crtbrand.o from the NDK sysroot."
2023-04-11 01:00:04 +00:00
Elliott Hughes
53ca6b9f7f
Merge "setjmp.h: increase riscv64 jmp_buf size." am: 66542d6b97
am: 03c9419a62
am: 107f0daccf
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2526530
Change-Id: Ic1a9549cb3b5f2ab840eb6d4903980684ffc8815
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-07 17:06:40 +00:00
Elliott Hughes
107f0daccf
Merge "setjmp.h: increase riscv64 jmp_buf size." am: 66542d6b97
am: 03c9419a62
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2526530
Change-Id: Ib7d075646f833f5a028e1fbdf675411d740a100e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-07 16:36:14 +00:00
Elliott Hughes
03c9419a62
Merge "setjmp.h: increase riscv64 jmp_buf size." am: 66542d6b97
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2526530
Change-Id: I22959497cf7d66a20015d0d60679d8db6964d219
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-07 16:07:01 +00:00
Elliott Hughes
66542d6b97
Merge "setjmp.h: increase riscv64 jmp_buf size."
2023-04-07 15:39:34 +00:00
Treehugger Robot
04953bbb6d
Merge "Nullability check for pthread module" am: b6ad73993d
am: aad6f0115f
am: 78996732e2
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2526480
Change-Id: Id8d378025455bb52a5b2347dd46fc6ad447b96ac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-07 10:56:35 +00:00
Treehugger Robot
78996732e2
Merge "Nullability check for pthread module" am: b6ad73993d
am: aad6f0115f
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2526480
Change-Id: I8c6c65c38886e5e746ec7c640ae7380b09350137
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-07 10:26:50 +00:00