Commit graph

39214 commits

Author SHA1 Message Date
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
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
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
989c15197a Merge "setjmp.h: add some historical detail about the _JBLEN values." 2023-04-13 14:05:02 +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
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
Treehugger Robot
aad6f0115f Merge "Nullability check for pthread module" am: b6ad73993d
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2526480

Change-Id: Icb891f0afd9f4367e4c705716015a7a72b335c5a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-07 09:57:34 +00:00
Treehugger Robot
b6ad73993d Merge "Nullability check for pthread module" 2023-04-07 09:26:55 +00:00
Christopher Ferris
138463f7fa [automerger skipped] Merge "Add annotations." am: 80e5ee7e23 am: 631256ac35 am: 30598761cd -s ours
am skip reason: Merged-In I0c19fc76b1ccdcb9f42167b52d1df247765fcd34 with SHA-1 0f6a02a2da is already in history

Original change: https://android-review.googlesource.com/c/platform/bionic/+/2528259

Change-Id: I6c48788e0e70abb57561954700416683d419082f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 23:05:11 +00:00
Christopher Ferris
30598761cd Merge "Add annotations." am: 80e5ee7e23 am: 631256ac35
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2528259

Change-Id: I9742862a57fb406131b8c6c83513ee953928b478
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 22:51:29 +00:00
Florian Mayer
3face8e637 Merge "Remove unused include" am: eb1b6fffdd am: 05348ddcac am: bed20d646c
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2525546

Change-Id: I5b86f04420775244ec63b48092a56966e90d33a2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 22:50:51 +00:00
zijunzhao
3c9b94811f Nullability check for pthread module
Bugs: b/245972273
Test: adb shell
Change-Id: I35da1d15c63aae0049091538c573305bf4d9f813
2023-04-06 22:39:52 +00:00
Christopher Ferris
631256ac35 Merge "Add annotations." am: 80e5ee7e23
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2528259

Change-Id: Idab28a30feb45f7c0778dbd7980d7afd1a3b822f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 22:32:33 +00:00
Florian Mayer
bed20d646c Merge "Remove unused include" am: eb1b6fffdd am: 05348ddcac
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2525546

Change-Id: I4259cad187a0aa5b53590cffb9ea723bacd75991
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 22:08:45 +00:00
Christopher Ferris
80e5ee7e23 Merge "Add annotations." 2023-04-06 22:00:14 +00:00
Elliott Hughes
e7b3b8b467 setjmp.h: increase riscv64 jmp_buf size.
If we switch from x18 to gp for shadow call stack, we're going to need
another slot in jmp_buf. We'll need this even for hardware shadow call
stacks too.

While I'm here, and because this is likely my last chance, let's just
round this up to 32 for safety. musl and glibc only have the minimum
needed (which I think means they'll need an ABI break to support SCS
unless they just use a callee-saved general purpose register), but since
we can't do ABI breaks after we ship, let's play it safe.

Bug: https://github.com/google/android-riscv64/issues/72
Test: treehugger
Change-Id: I60661fb7a308c900bfd08c9361f51919b798c005
2023-04-06 14:44:50 -07:00
Florian Mayer
05348ddcac Merge "Remove unused include" am: eb1b6fffdd
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2525546

Change-Id: I03f232d56154610096356067fbb6c98ef8bbfe67
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 21:26:57 +00:00
Florian Mayer
eb1b6fffdd Merge "Remove unused include" 2023-04-06 21:06:27 +00:00
Elliott Hughes
e9b5ab48b3 Merge "<spawn.h>: add posix_spawn_file_actions_addchdir_np()/posix_spawn_file_actions_addfchdir_np()." am: 7b5cc4b251 am: be6c661e18 am: 485af5eed1
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2523159

Change-Id: I8f7622cdebde59e34cb31ff2dd40424019387c91
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 19:46:06 +00:00
Christopher Ferris
59075565d2 Add annotations.
Bug: 265431689

Test: NA
Change-Id: I0c19fc76b1ccdcb9f42167b52d1df247765fcd34
Merged-In: I0c19fc76b1ccdcb9f42167b52d1df247765fcd34
(cherry picked from commit ed4ad19662)
2023-04-06 19:30:23 +00:00
Elliott Hughes
485af5eed1 Merge "<spawn.h>: add posix_spawn_file_actions_addchdir_np()/posix_spawn_file_actions_addfchdir_np()." am: 7b5cc4b251 am: be6c661e18
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2523159

Change-Id: I4edaedad8d367b1a769814cb4e54358c28a189f3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 19:15:22 +00:00
Elliott Hughes
be6c661e18 Merge "<spawn.h>: add posix_spawn_file_actions_addchdir_np()/posix_spawn_file_actions_addfchdir_np()." am: 7b5cc4b251
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2523159

Change-Id: I4d246f768a2a4112c27c5d0f332a4e6f9505f160
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 18:43:02 +00:00
Elliott Hughes
7b5cc4b251 Merge "<spawn.h>: add posix_spawn_file_actions_addchdir_np()/posix_spawn_file_actions_addfchdir_np()." 2023-04-06 17:51:45 +00:00
Elliott Hughes
15b776ae1a Merge "Add POSIX <utmpx.h>." am: 6296071782 am: a923781abf am: 4ee928786b
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2521475

Change-Id: Icb58a036b2e1b76a7f4ae1734a425414c4189e2a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 16:30:00 +00:00
Elliott Hughes
4ee928786b Merge "Add POSIX <utmpx.h>." am: 6296071782 am: a923781abf
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2521475

Change-Id: I77587c8ada673847015ad699a8c5b5a69a709c88
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 16:01:02 +00:00
Elliott Hughes
a923781abf Merge "Add POSIX <utmpx.h>." am: 6296071782
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2521475

Change-Id: I6eecca7f4e2b6a981da065624368422eb72b83be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 15:33:33 +00:00