Christopher Ferris
224910ad0e
Merge "Modify how the malloc debug tests run." into main am: 30573ba569
am: e2feb6162c
am: b5fa801b94
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2647819
Change-Id: I4e6acc18e1dff97f792d7c0d580f87629332980b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-10 23:06:16 +00:00
Christopher Ferris
b5fa801b94
Merge "Modify how the malloc debug tests run." into main am: 30573ba569
am: e2feb6162c
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2647819
Change-Id: I1cfaeca8b0d75c5fc0e0e25ea4c81256b9d40f3b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-10 22:26:30 +00:00
Christopher Ferris
e2feb6162c
Merge "Modify how the malloc debug tests run." into main am: 30573ba569
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2647819
Change-Id: Ic783a779bbb2f7cc32ccc38bc622a0671e77b822
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-10 21:44:12 +00:00
Christopher Ferris
30573ba569
Merge "Modify how the malloc debug tests run." into main
2023-07-10 21:05:13 +00:00
Christopher Ferris
852f9b0673
Modify how the malloc debug tests run.
...
This will, hopefully, reduce the number of flaky runs of this test.
Add skipping xml files for the notice file parser.
Bug: 280572235
Test: atest malloc_debug_system_tests
Change-Id: I6fb76287f55d0cff5b695dce09cc2b7a69b62874
2023-06-30 15:09:44 -07:00
Treehugger Robot
4e8a4d8858
Merge "Explicitly document overcommit and adb shell
's use of oom_score_adj." am: 143f3cea32
am: f29bae24dc
am: 8fee5d8740
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2638672
Change-Id: I7517e8859471623bc003c43137b43cdaae89fa34
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-27 01:30:44 +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
8fee5d8740
Merge "Explicitly document overcommit and adb shell
's use of oom_score_adj." am: 143f3cea32
am: f29bae24dc
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2638672
Change-Id: I66f0d585354552cf395a92a703af3d53cd714135
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-27 00:38:29 +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
f29bae24dc
Merge "Explicitly document overcommit and adb shell
's use of oom_score_adj." am: 143f3cea32
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2638672
Change-Id: Iae43c92ecb34648fae27fd9bc94e18339b993fbe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-26 23:55:55 +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
143f3cea32
Merge "Explicitly document overcommit and adb shell
's use of oom_score_adj."
2023-06-26 23:35:08 +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
Elliott Hughes
0a94e1584e
Explicitly document overcommit and adb shell
's use of oom_score_adj.
...
This comes up now and then, and the different behavior with `adb shell`
in particular confuses people.
Bug: https://github.com/android/ndk/issues/1897
Test: N/A
Change-Id: I757fa6b6277610a139f326563d508fb9009dcb75
2023-06-26 19:03:41 +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
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
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
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
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
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
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
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
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
Elliott Hughes
667d82ead1
Merge "Fix tzalloc(nullptr) and add a test." am: 0e437c00e0
am: 8e1ea43c79
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2630990
Change-Id: Ic4238117ec33b80531774799f822fc4f0c00f7b5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-22 22:58:00 +00:00
Florian Mayer
02108ce6b1
[HWASan] add comment to explain why we can use __has_feature
...
Bug: 276930343
Change-Id: I0b3e152269a147f67cae3c534be92ee169fe393b
2023-06-22 14:56:18 -07:00
Elliott Hughes
8e1ea43c79
Merge "Fix tzalloc(nullptr) and add a test." am: 0e437c00e0
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2630990
Change-Id: Ia318bfe6774da8ecdb242ff50dcb271e6cfa3c5f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-22 21:54:58 +00:00
Elliott Hughes
5ea305b10e
Document how to use tzalloc()/tzfree() with std::unique_ptr.
...
The hidden pointer makes this trickier than the usual incantation, so
leave some copy & paste lying around for anyone trying to work this out.
Test: treehugger
Change-Id: I26e94bf7a74ce3e43de587edc52ab63e36d1d86b
2023-06-22 20:54:12 +00:00
Elliott Hughes
0e437c00e0
Merge "Fix tzalloc(nullptr) and add a test."
2023-06-22 20:36:12 +00:00
Elliott Hughes
31fc69f67f
Fix tzalloc(nullptr) and add a test.
...
This works (by reading /etc/localtime) on NetBSD, but not on Android
since we have no such file. Fix that by using our equivalent system
property instead.
Also s/time zone/timezone/ in documentation and comments. We've always
been inconsistent about this (as is upstream in code comments and
documentation) but it seems especially odd now we expose a _type_ that
spells it "timezone" to talk of "time zone" even as we're describing
that type and its associated functions.
Bug: https://github.com/chronotope/chrono/issues/499
Test: treehugger
Change-Id: I142995a3ab4deff1073a0aa9e63ce8eac850b93d
2023-06-22 09:51:01 -07:00
Treehugger Robot
75f70e7d15
Merge "Remove __INTRODUCED_IN_NO_GUARD_FOR_NDK(21)." am: 833ad6ee51
am: a43db276fd
am: 36b4ebdecf
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2631630
Change-Id: I89679e7152f197f9d0961eee352189bc7d1d1c50
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 18:13:04 +00:00
Treehugger Robot
36b4ebdecf
Merge "Remove __INTRODUCED_IN_NO_GUARD_FOR_NDK(21)." am: 833ad6ee51
am: a43db276fd
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2631630
Change-Id: Idae9768625f9a28d59ac09dc6a142a9ab7a8e41d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 17:25:33 +00:00
Treehugger Robot
a43db276fd
Merge "Remove __INTRODUCED_IN_NO_GUARD_FOR_NDK(21)." am: 833ad6ee51
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2631630
Change-Id: Iba731871b587a6d60c17413e548a7be6c29c4d48
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 16:48:18 +00:00
Treehugger Robot
833ad6ee51
Merge "Remove __INTRODUCED_IN_NO_GUARD_FOR_NDK(21)."
2023-06-21 16:14:59 +00:00
Elliott Hughes
4c784ccfd6
Merge "Remove the always-true __INTRODUCED_IN() annotations." am: fee0b45480
am: 7fc60f8d93
am: 7b4b75bb9c
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2627536
Change-Id: Ib664b506e7a747716e2682e630f0686bcfa197f7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-20 22:43:19 +00:00