Commit graph

41794 commits

Author SHA1 Message Date
Treehugger Robot
14fbd26824 Merge "Fix riscv64 stpcpy()." into main am: f971dc6b4a am: f2f9d64a0a am: 7aec3e086e
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2806858

Change-Id: I5c730a4436ce865e97b788d12ce47b8228fef785
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-27 16:23:49 +00:00
Treehugger Robot
7aec3e086e Merge "Fix riscv64 stpcpy()." into main am: f971dc6b4a am: f2f9d64a0a
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2806858

Change-Id: Ib9b4cddded5f2dbd51ebfc4e51af3102de77bf62
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-27 15:50:04 +00:00
Treehugger Robot
f2f9d64a0a Merge "Fix riscv64 stpcpy()." into main am: f971dc6b4a
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2806858

Change-Id: Ida95db683074b4cb2c21288334a841831bd32b87
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-27 15:26:26 +00:00
Treehugger Robot
f971dc6b4a Merge "Fix riscv64 stpcpy()." into main 2023-10-27 15:11:16 +00:00
Treehugger Robot
78b85c70dd Merge "Explain why system(3)'s argument is marked _Nonnull." into main am: 19346eaaec am: 6a8f4aa86f am: 929c62ac10
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2807093

Change-Id: I7ac493d1fb634fe88662dc89284ae571d7a18fb0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-27 01:20:27 +00:00
Treehugger Robot
2d7fdf4307 Merge "Explain why system(3)'s argument is marked _Nonnull." into main am: 19346eaaec am: 33e9fe330c am: 73a05a9dce
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2807093

Change-Id: I906bc95974bcf14afe8c2179716dd7fcc273d846
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-27 01:20:02 +00:00
Elliott Hughes
1b2e844745 Fix riscv64 stpcpy().
We were copying the data fine, but the return value was one vector
length too far (but also not taking into account the actual number of
bytes in the last transfer).

Also move the stpcpy() tests to EXPECT_EQ() so we get all the details
of the failure at once.

Test: treehugger
Change-Id: I76bf02c8a31f40722acb7c9fd8e301d50e405bf8
2023-10-26 17:50:16 -07:00
Treehugger Robot
929c62ac10 Merge "Explain why system(3)'s argument is marked _Nonnull." into main am: 19346eaaec am: 6a8f4aa86f
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2807093

Change-Id: I2d15f1d542df387b984a3616be53f71f4047bd3e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-27 00:47:02 +00:00
Treehugger Robot
73a05a9dce Merge "Explain why system(3)'s argument is marked _Nonnull." into main am: 19346eaaec am: 33e9fe330c
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2807093

Change-Id: I2c1f324e27c1609b0b69f4b3a583be291386daca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-27 00:45:16 +00:00
Treehugger Robot
6a8f4aa86f Merge "Explain why system(3)'s argument is marked _Nonnull." into main am: 19346eaaec
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2807093

Change-Id: I6f683e918cac2998dd16f424094670095c4cb1e4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-27 00:21:19 +00:00
Treehugger Robot
33e9fe330c Merge "Explain why system(3)'s argument is marked _Nonnull." into main am: 19346eaaec
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2807093

Change-Id: If1b85926fcc5bfd4bd0bb0444e4669fc9b39a4d2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-27 00:19:17 +00:00
Treehugger Robot
19346eaaec Merge "Explain why system(3)'s argument is marked _Nonnull." into main 2023-10-26 23:46:52 +00:00
Elliott Hughes
cc87eec645 Explain why system(3)'s argument is marked _Nonnull.
Change-Id: I566f982148c58e74db55ccbd762e0e4ca9fad240
2023-10-26 21:28:58 +00:00
Treehugger Robot
3c0268a4a6 Merge "Improve comment about glibc behavior difference." into main am: 4cc96c1d1e am: 9e5b14cd35 am: 2c12f9a8e5
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2804374

Change-Id: I41b8a8001f111e086280ef95af6e48935c5ce5f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-25 22:55:23 +00:00
Treehugger Robot
2c12f9a8e5 Merge "Improve comment about glibc behavior difference." into main am: 4cc96c1d1e am: 9e5b14cd35
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2804374

Change-Id: Ic304e1f44b520b90d25554063a895e2c3ad62a80
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-25 22:23:39 +00:00
Treehugger Robot
983118b399 Merge "Improve comment about glibc behavior difference." into main am: 4cc96c1d1e am: d027f2fc1f am: b68c09c80c
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2804374

Change-Id: I36a1cd750c878916f4496b026b438cade783fea4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-25 22:02:32 +00:00
Treehugger Robot
9e5b14cd35 Merge "Improve comment about glibc behavior difference." into main am: 4cc96c1d1e
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2804374

Change-Id: Ia37eeb8695ab11e41a442556a9df4966c63a7cf5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-25 22:02:20 +00:00
Elliott Hughes
bb4c701954 Merge "linker: add the L3 cache auxv constants." into main am: 2520ce694b am: f20213398d am: a8e00b36b2
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2799367

Change-Id: I64e7d2d47ed8f9be740cfbbb9f36f52172afcae6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-25 22:02:13 +00:00
Elliott Hughes
7cff9d5067 Merge "linker: add the L3 cache auxv constants." into main am: 2520ce694b am: 2744bef0ec am: e8d7b2309c
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2799367

Change-Id: I076ce10256dc6c6a3f21c499773b2a1a132627cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-25 22:01:36 +00:00
Treehugger Robot
b68c09c80c Merge "Improve comment about glibc behavior difference." into main am: 4cc96c1d1e am: d027f2fc1f
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2804374

Change-Id: Id42ece6b165226355861578239e20caece92e506
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-25 21:57:58 +00:00
Treehugger Robot
d027f2fc1f Merge "Improve comment about glibc behavior difference." into main am: 4cc96c1d1e
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2804374

Change-Id: Ie4e267e7648dc656c97fa393d6c47a6efcebb099
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-25 21:35:16 +00:00
Elliott Hughes
a8e00b36b2 Merge "linker: add the L3 cache auxv constants." into main am: 2520ce694b am: f20213398d
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2799367

Change-Id: I30eefb1a877a318dd2146ca23db4ac1d4a4868e6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-25 21:30:55 +00:00
Elliott Hughes
e8d7b2309c Merge "linker: add the L3 cache auxv constants." into main am: 2520ce694b am: 2744bef0ec
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2799367

Change-Id: I54875ab88084a2aac4a9f346f317d0dd5dca4624
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-25 21:29:13 +00:00
Treehugger Robot
4cc96c1d1e Merge "Improve comment about glibc behavior difference." into main 2023-10-25 21:25:35 +00:00
Elliott Hughes
f20213398d Merge "linker: add the L3 cache auxv constants." into main am: 2520ce694b
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2799367

Change-Id: I595c1c9a59c2032d26a0077b40db6e48b3762939
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-25 21:09:30 +00:00
Elliott Hughes
2744bef0ec Merge "linker: add the L3 cache auxv constants." into main am: 2520ce694b
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2799367

Change-Id: I743ce8acca5ca36e5267e9d2c90e75129e259b8f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-25 21:07:50 +00:00
Elliott Hughes
2520ce694b Merge "linker: add the L3 cache auxv constants." into main 2023-10-25 20:44:03 +00:00
Dan Albert
ac243733a5 Improve comment about glibc behavior difference.
I was re-reading this comment and thought I'd gotten my interpretation
backward, but it's actually just very nuanced. Elaborate a bit so I
hopefully don't reinterpret this again in a few more months.

Bug: None
Test: None
Change-Id: I8ca444f2fb143c46e6068f349e9f5eb574fc4b31
2023-10-25 20:31:48 +00:00
Treehugger Robot
f751e05048 Merge "<syslog.h>: add facilitynames[] and prioritynames[]." into main am: 7bdcf765fa am: 1763e02cdb am: e10eb88392
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2799343

Change-Id: I7930d63dc72a42abd6df9bc428797c6f80311d38
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-24 02:44:14 +00:00
Treehugger Robot
ff55925cd4 Merge "<syslog.h>: add facilitynames[] and prioritynames[]." into main am: 7bdcf765fa am: 7b6325cd05 am: c269f679d9
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2799343

Change-Id: If08ccd4e62a6af692db1beb7cc52abb707bc8372
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-24 02:43:22 +00:00
Treehugger Robot
e10eb88392 Merge "<syslog.h>: add facilitynames[] and prioritynames[]." into main am: 7bdcf765fa am: 1763e02cdb
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2799343

Change-Id: Iad2d1fca5b0959005aa3284d38cc9942d60c7cda
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-24 02:39:11 +00:00
Treehugger Robot
1763e02cdb Merge "<syslog.h>: add facilitynames[] and prioritynames[]." into main am: 7bdcf765fa
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2799343

Change-Id: I4e9624fd26de734e6a7aa275e3f56837a9719b50
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-24 02:18:07 +00:00
Treehugger Robot
c269f679d9 Merge "<syslog.h>: add facilitynames[] and prioritynames[]." into main am: 7bdcf765fa am: 7b6325cd05
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2799343

Change-Id: I7780f7b8f155aecfdf942aa8d3d0f44dd31420ba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-24 02:16:03 +00:00
Treehugger Robot
7b6325cd05 Merge "<syslog.h>: add facilitynames[] and prioritynames[]." into main am: 7bdcf765fa
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2799343

Change-Id: Iac12646974c012dc61dc0b599b9dc09c564f1d5f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-24 01:56:34 +00:00
Treehugger Robot
7bdcf765fa Merge "<syslog.h>: add facilitynames[] and prioritynames[]." into main 2023-10-24 01:46:46 +00:00
Elliott Hughes
88913f8552 linker: add the L3 cache auxv constants.
I may not be likely to see these on mobile hardware, but I do see them
on qemu, and this is annoying:
```
AT_??? (46)          0
AT_??? (47)          0
```

Test: treehugger
Change-Id: I2db3e8adaecf55bce7b5046e17ec1ef7b2e3b8ea
2023-10-23 18:42:00 -07:00
Elliott Hughes
afb8e05eb3 <syslog.h>: add facilitynames[] and prioritynames[].
Test: treehugger
Change-Id: I2a65b3088fe5a28b66e7d1c2a8caa10cb4467202
2023-10-23 17:47:15 -07:00
Treehugger Robot
0ad0e45123 Merge "[NFC] Update comment explaining linker_phdr function return codes" into main am: 3a5b43c96f am: 31faf8ed8e am: 667c884604
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2796255

Change-Id: Iac024d7db240b2319c4db97464d90cfeb99cd0d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-20 15:45:31 +00:00
Treehugger Robot
5ec7fbc1b8 Merge "[NFC] Update comment explaining linker_phdr function return codes" into main am: 3a5b43c96f am: a531d9e610 am: 7a5d36409c
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2796255

Change-Id: I720f3c1efd2249e92cf8c88f55308fd464b588a2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-20 15:44:52 +00:00
Treehugger Robot
667c884604 Merge "[NFC] Update comment explaining linker_phdr function return codes" into main am: 3a5b43c96f am: 31faf8ed8e
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2796255

Change-Id: I32a7758833df240869e3cdfa8f9bab9b5ef23aad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-20 15:20:45 +00:00
Treehugger Robot
7a5d36409c Merge "[NFC] Update comment explaining linker_phdr function return codes" into main am: 3a5b43c96f am: a531d9e610
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2796255

Change-Id: Ic929da2370a6bbbaa3fec5413dfb911fc3f725bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-20 15:19:51 +00:00
Treehugger Robot
31faf8ed8e Merge "[NFC] Update comment explaining linker_phdr function return codes" into main am: 3a5b43c96f
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2796255

Change-Id: Ida48a55e5af75ab3fded3e166b0fc858f178bf18
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-20 15:04:10 +00:00
Treehugger Robot
a531d9e610 Merge "[NFC] Update comment explaining linker_phdr function return codes" into main am: 3a5b43c96f
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2796255

Change-Id: I1e26134a25e631d6c61d0faa589f8c9e9f5f4104
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-20 15:02:26 +00:00
Treehugger Robot
3a5b43c96f Merge "[NFC] Update comment explaining linker_phdr function return codes" into main 2023-10-20 14:45:17 +00:00
Mitch Phillips
117e45e6dd [NFC] Update comment explaining linker_phdr function return codes
Looks like we all copy-pasted the same comment, and the original comment was wrong. These functions all return 0 on success, and -1 on error.

Change-Id: I11e635e0895fe1fa941d69b721b8ad9ff5eb7f15
Test: N/A
Bug: N/A
2023-10-20 13:32:35 +00:00
Kalesh Singh
39a2af1fa7 Merge "bionic: tests: Remove PAGE_SIZE usage" into main am: a05918bd83 am: a69f61fdde am: f9cd5af4c3
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2798272

Change-Id: I383f31ac8db5e3d29183d959cef618e06d63d982
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-20 04:17:46 +00:00
Kalesh Singh
ba1057f1e4 Merge "bionic: tests: Remove PAGE_SIZE usage" into main am: a05918bd83 am: 76866e9305 am: 9971ea7830
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2798272

Change-Id: I2f7b7344884fcb6887e3415846ce13de845c7734
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-20 04:09:13 +00:00
Elliott Hughes
78d1d32c51 Merge "Use the R_RISCV_TLSDESC constant in the linker." into main am: 777756d21d am: f0485d1425 am: a1fde8d21b
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2796852

Change-Id: I76978be997c7b7f4b74b0f2e55b81990d684f345
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-20 03:22:04 +00:00
Kalesh Singh
f9cd5af4c3 Merge "bionic: tests: Remove PAGE_SIZE usage" into main am: a05918bd83 am: a69f61fdde
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2798272

Change-Id: I484780ff10ed71478b12f45cb223b688efb1bb67
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-20 02:59:17 +00:00
Treehugger Robot
4e62bbe3b1 Merge "Clarify one of the "missing" FreeBSD ELF constants." into main am: b8021fbe21 am: b282ac9488 am: be6706d58e
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2796853

Change-Id: Ifcbd335665215126df5588eff4d73cb0e34aa266
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-20 02:42:56 +00:00