Commit graph

40614 commits

Author SHA1 Message Date
Treehugger Robot
3161bd043b Merge "Add a test for a recent POSIX change." am: cfb9030ff0 am: 028f3b6058 am: 760102d7a9 am: cc01683ce6 am: ab77eeb87d am: 929088ce20
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2638673

Change-Id: I3dffecf267f8594843dc5263aab9401ecbcc26ed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-27 03:55:39 +00:00
Treehugger Robot
929088ce20 Merge "Add a test for a recent POSIX change." am: cfb9030ff0 am: 028f3b6058 am: 760102d7a9 am: cc01683ce6 am: ab77eeb87d
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2638673

Change-Id: I8a5082bf6d9c2049abd20377daf2ee6f8fee1367
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-27 03:04:46 +00:00
Treehugger Robot
ab77eeb87d Merge "Add a test for a recent POSIX change." am: cfb9030ff0 am: 028f3b6058 am: 760102d7a9 am: cc01683ce6
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2638673

Change-Id: I3bcf42aa6dfb365ad04205b998b04caa817ed2d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-27 02:20:19 +00:00
Treehugger Robot
cc01683ce6 Merge "Add a test for a recent POSIX change." am: cfb9030ff0 am: 028f3b6058 am: 760102d7a9
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2638673

Change-Id: I0815ba2ab04f9bd05df8381e1d730ce0aa685007
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-27 01:30:33 +00:00
Treehugger Robot
760102d7a9 Merge "Add a test for a recent POSIX change." am: cfb9030ff0 am: 028f3b6058
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2638673

Change-Id: I1ffbafdbbd6726ef3ddd9f660fb09e91cce01a93
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-27 00:38:18 +00:00
Treehugger Robot
028f3b6058 Merge "Add a test for a recent POSIX change." am: cfb9030ff0
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2638673

Change-Id: I1a51e5f853d8570fe4f54302efe8d09b642be16f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-26 23:55:28 +00:00
Treehugger Robot
cfb9030ff0 Merge "Add a test for a recent POSIX change." 2023-06-26 22:51:13 +00:00
Elliott Hughes
e18c1fa371 Add a test for a recent POSIX change.
No code change required.

Bug: https://austingroupbugs.net/view.php?id=1647
Test: treehugger
Change-Id: I411a009bccafb4e2738f22199c64d8fe7dc105e3
2023-06-26 13:12:57 -07:00
Treehugger Robot
e63c4abeb9 Merge "Mark getpagesize() const." am: 48d405ea4b am: 6663a539b4 am: 23925d9c91 am: 511c5aa8cb am: 4b8042c17d am: 4cccf21c85
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2636854

Change-Id: I6d0740f66a06124078747b72eb44256800d3a881
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-24 06:07:28 +00:00
Treehugger Robot
4cccf21c85 Merge "Mark getpagesize() const." am: 48d405ea4b am: 6663a539b4 am: 23925d9c91 am: 511c5aa8cb am: 4b8042c17d
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2636854

Change-Id: Iccde144173de7313dfbf39718d3367ab9e905d13
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-24 05:13:23 +00:00
Florian Mayer
7dd68bf374 Merge "Simplify MemtagNoteTests" am: fe8e5ad222 am: abdc85bf5f am: efe8a1b789 am: 2607a156aa am: 7c599915f9 am: fc9de798fa
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2636749

Change-Id: Ic37a155e0033fc6ecaf0bc6a25b711fb045e80c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-24 04:36:54 +00:00
Treehugger Robot
4b8042c17d Merge "Mark getpagesize() const." am: 48d405ea4b am: 6663a539b4 am: 23925d9c91 am: 511c5aa8cb
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2636854

Change-Id: I677f499707ca5ed6c8d7287b8a9fe8503804edc4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-24 04:32:40 +00:00
Florian Mayer
fc9de798fa Merge "Simplify MemtagNoteTests" am: fe8e5ad222 am: abdc85bf5f am: efe8a1b789 am: 2607a156aa am: 7c599915f9
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2636749

Change-Id: I532988975f4b370e817081c413c51d63926b01e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-24 03:43:47 +00:00
Treehugger Robot
511c5aa8cb Merge "Mark getpagesize() const." am: 48d405ea4b am: 6663a539b4 am: 23925d9c91
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2636854

Change-Id: I24ed50d9a0d062ca5df9985dbe153b4989b412d7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-24 03:40:52 +00:00
Treehugger Robot
23925d9c91 Merge "Mark getpagesize() const." am: 48d405ea4b am: 6663a539b4
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2636854

Change-Id: I4edc3c5314bbe369d2bf4782b5f3daca51b32c56
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-24 02:53:52 +00:00
Florian Mayer
7c599915f9 Merge "Simplify MemtagNoteTests" am: fe8e5ad222 am: abdc85bf5f am: efe8a1b789 am: 2607a156aa
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2636749

Change-Id: I30e34d231aba50b2ea1158ec810ed3cbdc33141a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-24 02:53:16 +00:00
Treehugger Robot
6663a539b4 Merge "Mark getpagesize() const." am: 48d405ea4b
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2636854

Change-Id: I859c61ff561882f479f5c14a4756bb06bd8f6b6c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-24 02:08:02 +00:00
Florian Mayer
2607a156aa Merge "Simplify MemtagNoteTests" am: fe8e5ad222 am: abdc85bf5f am: efe8a1b789
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2636749

Change-Id: I99ae4674c7a3faf230a54b54f8ab370b89c5b9fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-24 02:06:14 +00:00
Florian Mayer
efe8a1b789 Merge "Simplify MemtagNoteTests" am: fe8e5ad222 am: abdc85bf5f
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2636749

Change-Id: I2932d945af6cde5ad55d549ff3b65b6d074cc0af
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-24 01:20:35 +00:00
Treehugger Robot
48d405ea4b Merge "Mark getpagesize() const." 2023-06-24 01:09:17 +00:00
Treehugger Robot
87bcf9961f Merge "Format parameter for MemtagNoteTest" am: 8d21eac241 am: 6982631986 am: b8e77f0c78 am: ef35880271 am: 995ff22fe9 am: e97188194d
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2636750

Change-Id: If5ad7e7aed555fba2e646629f425fde0f63cddad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-24 00:10:18 +00:00
Treehugger Robot
6032f376a0 Merge "Document how to use tzalloc()/tzfree() with std::unique_ptr." am: 8995672880 am: 5aeec3b87d am: d301fe1a1f am: 7ea8a9ea53 am: 78731216bd am: 395ab4a511
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2636324

Change-Id: I430f7f471def27744e39aa8fb845aa87bb6a6459
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-24 00:05:35 +00:00
Florian Mayer
abdc85bf5f Merge "Simplify MemtagNoteTests" am: fe8e5ad222
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2636749

Change-Id: I6323ef4c3d8b4829555350c95a326350a9a817eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-23 23:45:15 +00:00
Treehugger Robot
e97188194d Merge "Format parameter for MemtagNoteTest" am: 8d21eac241 am: 6982631986 am: b8e77f0c78 am: ef35880271 am: 995ff22fe9
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2636750

Change-Id: Ia8054f6fd8f4a0fb1a663069cde14ff418d0d8c9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-23 23:21:32 +00:00
Treehugger Robot
395ab4a511 Merge "Document how to use tzalloc()/tzfree() with std::unique_ptr." am: 8995672880 am: 5aeec3b87d am: d301fe1a1f am: 7ea8a9ea53 am: 78731216bd
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2636324

Change-Id: I08d707a300b2a14ea13793f86d389ad037406ffb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-23 23:20:47 +00:00
Florian Mayer
fe8e5ad222 Merge "Simplify MemtagNoteTests" 2023-06-23 23:01:03 +00:00
Elliott Hughes
c77993eda3 Mark getpagesize() const.
If folks want to use this instead of PAGE_SIZE, let's let the compiler
know that it doesn't need to be called more than once. Using "const"
rather than "pure" lets us cover more cases, and although this function
may need to check global state, it's _immutable_ global state, so it's
effectively "const".

Test: llvm-objdump -d
Change-Id: I0b13de79d44b57545258121df7cdd6490a9a5be1
2023-06-23 22:40:57 +00:00
Treehugger Robot
995ff22fe9 Merge "Format parameter for MemtagNoteTest" am: 8d21eac241 am: 6982631986 am: b8e77f0c78 am: ef35880271
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2636750

Change-Id: I5be932ad5af147ba26b6b3bbed71445595b4e7ba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-23 22:35:43 +00:00
Treehugger Robot
78731216bd Merge "Document how to use tzalloc()/tzfree() with std::unique_ptr." am: 8995672880 am: 5aeec3b87d am: d301fe1a1f am: 7ea8a9ea53
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2636324

Change-Id: Idfe21dc4ce0e4e233e56352d7503b7de1a6ffa74
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-23 22:33:11 +00:00
Treehugger Robot
ef35880271 Merge "Format parameter for MemtagNoteTest" am: 8d21eac241 am: 6982631986 am: b8e77f0c78
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2636750

Change-Id: Iaa695ddf50620195fd840e44f7bff9e08fe17a96
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-23 21:41:48 +00:00
Treehugger Robot
7ea8a9ea53 Merge "Document how to use tzalloc()/tzfree() with std::unique_ptr." am: 8995672880 am: 5aeec3b87d am: d301fe1a1f
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2636324

Change-Id: I45f25ed368998e0f8dba772f0d6c29fc167b07e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-23 21:40:11 +00:00
Florian Mayer
bdc192cf4b Simplify MemtagNoteTests
It's easier to just disable hwasan than to handle it in the test.

Change-Id: I511c63ae8916e03d33984a749f279fabbd0a75e3
2023-06-23 13:21:19 -07:00
Treehugger Robot
b8e77f0c78 Merge "Format parameter for MemtagNoteTest" am: 8d21eac241 am: 6982631986
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2636750

Change-Id: I19b389e5920d216bb84977bb7321523eaa1c75b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-23 20:06:44 +00:00
Treehugger Robot
d301fe1a1f Merge "Document how to use tzalloc()/tzfree() with std::unique_ptr." am: 8995672880 am: 5aeec3b87d
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2636324

Change-Id: Ia51fcd84d82e05f87dd6675b5e3420a15a897e88
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-23 20:06:22 +00:00
Treehugger Robot
6982631986 Merge "Format parameter for MemtagNoteTest" am: 8d21eac241
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2636750

Change-Id: Iaa1af2ea963a4f7e54beb6922ec32dc397824e2e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-23 19:44:06 +00:00
Treehugger Robot
8d21eac241 Merge "Format parameter for MemtagNoteTest" 2023-06-23 19:29:04 +00:00
Treehugger Robot
5aeec3b87d Merge "Document how to use tzalloc()/tzfree() with std::unique_ptr." am: 8995672880
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2636324

Change-Id: Ica3a2a60305fe148f2bc915d0dcaec18e757800f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-23 19:20:53 +00:00
Treehugger Robot
8995672880 Merge "Document how to use tzalloc()/tzfree() with std::unique_ptr." 2023-06-23 18:06:01 +00:00
Florian Mayer
ab9c6b1c6a Format parameter for MemtagNoteTest
Test: atest bionic-unit-tests
Change-Id: I8b8e6fb0146f600431cbf043cf212a69ecf6b648
2023-06-23 08:34:11 -07:00
Florian Mayer
ef65c057dc Merge "[HWASan] add comment to explain why we can use __has_feature" am: 26e0e00279 am: f04c163217 am: 8d60940a21 am: 28f93db5a7 am: 3002d3f837 am: 46b27ea939
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2636328

Change-Id: Id273f79eda29c5bf771842a10333f8c922f9a345
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-23 07:10:17 +00:00
Florian Mayer
46b27ea939 Merge "[HWASan] add comment to explain why we can use __has_feature" am: 26e0e00279 am: f04c163217 am: 8d60940a21 am: 28f93db5a7 am: 3002d3f837
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2636328

Change-Id: Id2d4b843e6ffdedd7fb81823faa6f3c365b09b4e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-23 05:36:58 +00:00
Florian Mayer
3002d3f837 Merge "[HWASan] add comment to explain why we can use __has_feature" am: 26e0e00279 am: f04c163217 am: 8d60940a21 am: 28f93db5a7
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2636328

Change-Id: I7b4ef2fec7b4a16867214592bb5c1770205c2c66
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-23 04:55:36 +00:00
Florian Mayer
28f93db5a7 Merge "[HWASan] add comment to explain why we can use __has_feature" am: 26e0e00279 am: f04c163217 am: 8d60940a21
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2636328

Change-Id: Iaf1938cc09d60b775134d703b7d9324fcd8aa07f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-23 03:50:10 +00:00
Florian Mayer
8d60940a21 Merge "[HWASan] add comment to explain why we can use __has_feature" am: 26e0e00279 am: f04c163217
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2636328

Change-Id: If0921232cb99740c9a293df75eadce4ef488f87b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-23 03:01:36 +00:00
Elliott Hughes
a5b507afee Merge "Fix tzalloc(nullptr) and add a test." am: 0e437c00e0 am: 8e1ea43c79 am: 667d82ead1 am: 027f108b2e am: 16ad0c41f2 am: b0f1b4b94c
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2630990

Change-Id: I1b1895db4c614268f76b4ddc3f31781dff52902d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-23 02:55:16 +00:00
Florian Mayer
f04c163217 Merge "[HWASan] add comment to explain why we can use __has_feature" am: 26e0e00279
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2636328

Change-Id: Ifb1c7c24bda7f133b2746da91e8609f5f60eb2f1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-23 02:24:06 +00:00
Elliott Hughes
b0f1b4b94c Merge "Fix tzalloc(nullptr) and add a test." am: 0e437c00e0 am: 8e1ea43c79 am: 667d82ead1 am: 027f108b2e am: 16ad0c41f2
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2630990

Change-Id: I15554d1527351fadca0f29ce9a5fb32a639454ab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-23 01:39:03 +00:00
Florian Mayer
26e0e00279 Merge "[HWASan] add comment to explain why we can use __has_feature" 2023-06-23 01:16:22 +00:00
Elliott Hughes
16ad0c41f2 Merge "Fix tzalloc(nullptr) and add a test." am: 0e437c00e0 am: 8e1ea43c79 am: 667d82ead1 am: 027f108b2e
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2630990

Change-Id: I8503291d4903d12350895cbd46b13f61464bd73f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-23 00:55:45 +00:00
Elliott Hughes
027f108b2e Merge "Fix tzalloc(nullptr) and add a test." am: 0e437c00e0 am: 8e1ea43c79 am: 667d82ead1
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2630990

Change-Id: I2312d32633d3dbb6f2bc54d6b734c489a7ab5904
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-22 23:45:01 +00:00