Treehugger Robot
e60b4c7c2f
Merge "Explain the header tests better."
2023-05-08 21:54:22 +00:00
Elliott Hughes
32c9572424
Explain the header tests better.
...
Bug: https://github.com/google/android-riscv64/issues/88
Test: N/A
Change-Id: Ia2a8673e96eb7aeb795fb7158f4814e5af9c8e94
2023-05-08 19:14:28 +00:00
Treehugger Robot
008c35c91f
Merge "doc: add desc for riscv together with other ARCHs" am: d16b682f0d
am: 6538023aa2
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2581450
Change-Id: I818f46b9e9d26f629a3380c12b7cbef1d631ba98
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-08 17:59:08 +00:00
Treehugger Robot
6538023aa2
Merge "doc: add desc for riscv together with other ARCHs" am: d16b682f0d
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2581450
Change-Id: I1ae8a212cad942b2fcf5bca21b60549ad8637b71
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-08 17:16:02 +00:00
Treehugger Robot
d16b682f0d
Merge "doc: add desc for riscv together with other ARCHs"
2023-05-08 16:48:18 +00:00
Wang Chen
a6a9d5757e
doc: add desc for riscv together with other ARCHs
...
Test: doc changes, no test required.
Change-Id: I30311d4edc12e623567b5622a65339fb61c9a5f3
Signed-off-by: Wang Chen <wangchen20@iscas.ac.cn>
2023-05-08 16:55:21 +08:00
Zijun Zhao
044dbcd90f
Merge "Nullability check for uio module." am: aaaf468370
am: 4ea499ad0d
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2579253
Change-Id: I1a12b051a2f62fc3f851ebe964cf4ac283a44ce5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-04 22:11:27 +00:00
Zijun Zhao
4ea499ad0d
Merge "Nullability check for uio module." am: aaaf468370
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2579253
Change-Id: Ib671061a2977073c2b06b5789fff734853bf115e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-04 21:27:12 +00:00
Zijun Zhao
aaaf468370
Merge "Nullability check for uio module."
2023-05-04 20:52:09 +00:00
Elliott Hughes
145cf9ecc0
Merge "<time.h>: change the new C23 TIME_ constants." am: e023a02cce
am: d0268a32bc
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2576754
Change-Id: Ib12daa8c6f4ad5274fe4f18ad64a20f0aaad328f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-04 18:53:19 +00:00
Elliott Hughes
d0268a32bc
Merge "<time.h>: change the new C23 TIME_ constants." am: e023a02cce
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2576754
Change-Id: I7ba745dc71e6eaafc75ea8a52e573341fc132986
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-04 18:13:42 +00:00
Elliott Hughes
e023a02cce
Merge "<time.h>: change the new C23 TIME_ constants."
2023-05-04 17:35:17 +00:00
zijunzhao
d633600d1c
Nullability check for uio module.
...
Bugs: b/245972273
Test: adb shell
Change-Id: I132f618c50f7b7a3f9b9ef26c9ac1a87a97a1b78
2023-05-04 17:13:15 +00:00
Elliott Hughes
0e55347f45
Merge "syslog.h: implement LOG_PERROR." am: 1dff230f75
am: b6ce42afdd
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2465131
Change-Id: I915e2470535416f26164d527c9ad790aa81cef39
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-04 16:25:46 +00:00
Elliott Hughes
b6ce42afdd
Merge "syslog.h: implement LOG_PERROR." am: 1dff230f75
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2465131
Change-Id: Iae0304651de45bff683fbfc3f9b71a5b80016e7a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-04 15:47:00 +00:00
Elliott Hughes
1dff230f75
Merge "syslog.h: implement LOG_PERROR."
2023-05-04 15:09:51 +00:00
Elliott Hughes
73c4ca7187
Merge "Add an enum for the riscv64 <sys/ucontext.h> register constants." am: 9118450303
am: c17cc63ca8
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2576815
Change-Id: Id1394e92d4a97e5ec55f9f78c61d7f5043886d24
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-04 01:12:17 +00:00
Elliott Hughes
c17cc63ca8
Merge "Add an enum for the riscv64 <sys/ucontext.h> register constants." am: 9118450303
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2576815
Change-Id: I1f1c2685dc224110c71b9be15f72aef032787ce8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-04 00:06:29 +00:00
Elliott Hughes
7db0a6cc5f
<time.h>: change the new C23 TIME_ constants.
...
Jens Gustedt suggested a better implementation last year on the musl
mailing list: https://www.openwall.com/lists/musl/2022/11/19/1
It means the constants are sparse, but in return it means we can add
future constants and they'll be backward compatible. (Sadly you'll need
to be on API level 35 before you can use anything but TIME_UTC.)
I doubt this will ever matter, because everyone should just stick to
clock_gettime()/clock_getres() anyway, and anyone who does have a
legitimate use for timespec_get() and timespec_getres() probably needs
to support non-Linux and so can't use any clocks that aren't in ISO C
anyway. But given that we don't _have_ to paint ourselves into a corner
here, we may as well take the opportunity to not do so.
Test: strace
Change-Id: I293d32fcbcf7f6703564dac0978ae2a10192a482
2023-05-03 15:37:46 -07:00
Elliott Hughes
9118450303
Merge "Add an enum for the riscv64 <sys/ucontext.h> register constants."
2023-05-03 21:43:24 +00:00
Elliott Hughes
213d943a33
syslog.h: implement LOG_PERROR.
...
This is the one openlog() flag that toybox uses. We should probably try
to unify toybox's POSIX logger and Android-specific log at some point,
and this will help.
Also fix our behavior with an empty format string, noticed while adding
tests.
Test: treehugger
Test: adb shell logger -s foo
Change-Id: Ic027e78a460be3db83cc4c6f9946c9efa22be6e1
2023-05-03 14:19:40 -07:00
Elliott Hughes
7fc63f2c9a
Add an enum for the riscv64 <sys/ucontext.h> register constants.
...
That lets us have idempotent #defines to reduce namespace pollution.
Bug: http://b/279405445
Test: treehugger
Change-Id: I00312cc8911025696cf0eea2d70e3219ab361613
2023-05-03 17:45:41 +00:00
Treehugger Robot
3de4db00d6
Merge "Nullability check for get_device_api_level_inlines module." am: e61cf18c3c
am: 3dd8f3a318
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2577270
Change-Id: I9ecc1c9d75f29605bfe98d367c432d3f4263b5bd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-03 03:42:18 +00:00
Treehugger Robot
3dd8f3a318
Merge "Nullability check for get_device_api_level_inlines module." am: e61cf18c3c
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2577270
Change-Id: I2814072cdc76a2425766ab68d9b13f1f6f933e1e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-03 03:01:50 +00:00
Treehugger Robot
e61cf18c3c
Merge "Nullability check for get_device_api_level_inlines module."
2023-05-03 02:06:08 +00:00
Treehugger Robot
a56dd93199
Merge "Implement C23 printf 'wf' length modifiers" am: ebd654640a
am: 43a2cbac4b
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2562770
Change-Id: Ic225312eea44ce8cca35608ee338fdb41c5d5a3e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-03 01:14:58 +00:00
Treehugger Robot
43a2cbac4b
Merge "Implement C23 printf 'wf' length modifiers" am: ebd654640a
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2562770
Change-Id: I98c7c8fefcec2e0b846bcbea86c1eff40a1ee7d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-03 00:33:24 +00:00
Treehugger Robot
ebd654640a
Merge "Implement C23 printf 'wf' length modifiers"
2023-05-02 23:44:37 +00:00
zijunzhao
136e28fa8b
Nullability check for get_device_api_level_inlines module.
...
Bugs: b/245972273
Test: adb shell
Change-Id: I49d64a12b542c8f3723f89531c63d10b84d16d26
2023-05-02 23:36:34 +00:00
zijunzhao
1fdece95d3
Implement C23 printf 'wf' length modifiers
...
wfN: Specifies that a following b, d, i, o, u, x, or X conversion specifier applies to a fastest minimum-width integer argument with a specific width where N is a positive decimal integer with no leading zeros (the argument will have been promoted according to the integer promotions, but its value shall be converted to the unpromoted type); or that a following n conversion specifier applies to a pointer to a fastest minimum-width integer type argument with a width of N bits. All fastest minimum-width integer types (7.22.1.3) defined in the header <stdint.h> shall be supported. Other supported values of N are implementation-defined.
Bug: b/271903607
Test: adb shell
Change-Id: Ida36d5a50af2a46fd04cb5fe039793d8872f9f3b
2023-05-02 21:06:09 +00:00
Elliott Hughes
6be626aed6
Merge "Fix the WIFSTOPPED definition." am: 721b93d7ec
am: abeb9553ea
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2575250
Change-Id: I80a3cea35233666ddbb7fcbbaf4a10015d2db246
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-02 16:01:02 +00:00
Elliott Hughes
abeb9553ea
Merge "Fix the WIFSTOPPED definition." am: 721b93d7ec
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2575250
Change-Id: Ied741177286f0c42aef6e4235a314fd6c2650064
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-02 15:18:32 +00:00
Elliott Hughes
721b93d7ec
Merge "Fix the WIFSTOPPED definition."
2023-05-02 14:40:15 +00:00
Treehugger Robot
5e086253a5
Merge "Nullability check for getopt module." am: c5ca568b96
am: 0a531de854
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2568750
Change-Id: I711a5bf43330a2943ed781b36f646d15cd499046
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 20:28:16 +00:00
Treehugger Robot
0a531de854
Merge "Nullability check for getopt module." am: c5ca568b96
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2568750
Change-Id: I9d1d9465ce6fbccb9a474f811a07e6467a34715e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 19:49:24 +00:00
Elliott Hughes
2b8ca55d14
Fix the WIFSTOPPED definition.
...
Although this breaks job control in several shells (including mksh),
this has been broken since the initial commit and no-one's noticed until
now.
Bug: https://github.com/android/ndk/issues/1878
Test: treehugger
Change-Id: Id7c4805965c5e5847db99b57df1af13355adcc22
2023-05-01 19:48:12 +00:00
Treehugger Robot
c5ca568b96
Merge "Nullability check for getopt module."
2023-05-01 18:48:25 +00:00
Zijun Zhao
23d3dd3578
Merge "Nullability check for resource module." am: 20fa28e564
am: 7ba6b487cb
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2569870
Change-Id: Ic1eb0fe065a41a55781ed67795d8cbe58d58b3d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 17:38:53 +00:00
Zijun Zhao
7ba6b487cb
Merge "Nullability check for resource module." am: 20fa28e564
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2569870
Change-Id: I5ebe38317844e50c81c22dea1bea5c5d77d5068f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 17:02:44 +00:00
zijunzhao
d3f2f109fc
Nullability check for getopt module.
...
Bugs: b/245972273
Test: adb shell
Change-Id: I243bb87fe26beecd376d894b25cedd993c246880
2023-05-01 16:19:44 +00:00
Zijun Zhao
20fa28e564
Merge "Nullability check for resource module."
2023-05-01 16:16:42 +00:00
zijunzhao
a23e448288
Nullability check for resource module.
...
Bugs: b/245972273
Test: adb shell
Change-Id: Ia875f9e0189f72317276cc28bfe6faf1f95c2908
2023-04-28 22:18:02 +00:00
Treehugger Robot
ee8a69ea6c
Merge "Nullability check for ctype_inlines module." am: 3ee441491a
am: b26c07a449
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2568133
Change-Id: Ib84db1675cea90eb8c7c4326c18fd29edd8f1eb0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-28 22:18:00 +00:00
Treehugger Robot
b26c07a449
Merge "Nullability check for ctype_inlines module." am: 3ee441491a
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2568133
Change-Id: I762886f6051be0a3878323312351497ec76db67d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-28 21:38:13 +00:00
Treehugger Robot
3ee441491a
Merge "Nullability check for ctype_inlines module."
2023-04-28 20:57:27 +00:00
Almaz Mingaleev
bc200e7ffc
Merge "Update tzcode from 2022a to 2023a." am: 8cad3f9776
am: 2ab2173c09
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2567910
Change-Id: I546e6e7345a8cd54cc80824c6d72ecaf2f26735f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-28 19:51:38 +00:00
Almaz Mingaleev
2ab2173c09
Merge "Update tzcode from 2022a to 2023a." am: 8cad3f9776
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2567910
Change-Id: Ib0f739c93ab74ac8fe14a4664f214ac46398a89c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-28 19:14:57 +00:00
Almaz Mingaleev
8cad3f9776
Merge "Update tzcode from 2022a to 2023a."
2023-04-28 18:41:33 +00:00
Christopher Ferris
d0cba8a7bc
Merge "Modify the wording of the mallopt." am: a12856c579
am: f0fdd0b0fb
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2569770
Change-Id: I1cb5c6c77691f61e12316e0aa47b53222e1fa75c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-28 18:30:28 +00:00
zijunzhao
b4e4d05439
Nullability check for ctype_inlines module.
...
Bugs: b/245972273
Test: adb shell
Change-Id: I7645c51d40a226cc90bfbf8587e8b094c0c38242
2023-04-28 18:02:12 +00:00