Commit graph

41160 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Kalesh Singh
9971ea7830 Merge "bionic: tests: Remove PAGE_SIZE usage" into main am: a05918bd83 am: 76866e9305
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2798272

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

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

Change-Id: I148f147040f69441f9d8d35a8e5dd3d5d34a41c2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-20 02:19:31 +00:00
Kalesh Singh
a05918bd83 Merge "bionic: tests: Remove PAGE_SIZE usage" into main 2023-10-20 01:03:27 +00:00
Kalesh Singh
41c8951c91 bionic: tests: Remove PAGE_SIZE usage
Instead of the hardcoded PAGE_SIZE 4096 macro, use the
real system page-size as queried from the auxillary vector.

Bug: 277272383
Bug: 300367402
Test: atest -c bionic-unit-tests
Change-Id: I2f1ad1b431e36ef45e9f53f713ced6b06e0d4f70
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
2023-10-19 15:49:50 -07:00
Elliott Hughes
a1fde8d21b Merge "Use the R_RISCV_TLSDESC constant in the linker." into main am: 777756d21d am: f0485d1425
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2796852

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

Change-Id: I1efe1f1a5f5a63bd7969a227c8948f2b36b1a14d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-19 21:58:29 +00:00
Mitch Phillips
396117a76f Merge "Use DYNAMIC entries for MTE enablement" into main am: 363e743200 am: 47b5af1df0
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2765590

Change-Id: I7bc4b61088adbc4806728643a67c39ef3dc2f60f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-19 21:54:27 +00:00
Edward Liaw
7d7176a281 Merge "Add test for replacing macro arguments" into main am: f2f99ec626 am: 889a7863bf
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2794634

Change-Id: Ia386f80a9af619b9720690644ba34c0a786ce08d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-19 21:20:05 +00:00
Elliott Hughes
014b427892 Merge "Use the R_RISCV_TLSDESC constant in the linker." into main am: 777756d21d am: e7cb226c46
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2796852

Change-Id: I95c925dcba538acfab1bd3e00bf4ba4986ff1e21
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-19 19:22:34 +00:00
Edward Liaw
9beadc7d3f Merge "Replace macro arguments when applying replaceTokens" into main am: 2f993a51bd am: 5cbab1165a
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2792161

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

Change-Id: I14aa26af20a8bd6fa0a5368959cf2c17858091a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-19 18:49:19 +00:00
Elliott Hughes
e7cb226c46 Merge "Use the R_RISCV_TLSDESC constant in the linker." into main am: 777756d21d
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2796852

Change-Id: I57febae5cf20b690f22f728ecf24858190ef6abb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-19 18:48:43 +00:00
Elliott Hughes
777756d21d Merge "Use the R_RISCV_TLSDESC constant in the linker." into main 2023-10-19 18:03:22 +00:00
Treehugger Robot
bdc8f354b9 Merge "Clarify one of the "missing" FreeBSD ELF constants." into main am: b8021fbe21 am: bbedb0295b
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2796853

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

Change-Id: Ia9f778d6b368e4c4c43be4a3564339efda16a0f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-19 00:16:34 +00:00
Treehugger Robot
bbedb0295b Merge "Clarify one of the "missing" FreeBSD ELF constants." into main am: b8021fbe21
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2796853

Change-Id: I204149fc75ace1ff1805416e5e58ec59ec857676
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-19 00:16:33 +00:00
Treehugger Robot
b8021fbe21 Merge "Clarify one of the "missing" FreeBSD ELF constants." into main 2023-10-18 23:41:36 +00:00
Elliott Hughes
dcfd870fac Clarify one of the "missing" FreeBSD ELF constants.
Test: treehugger
Change-Id: I7173ac704e6537a4e99a976baec46aa22df751bd
2023-10-18 14:47:12 -07:00