Commit graph

38403 commits

Author SHA1 Message Date
Elliott Hughes
fa7c0dbf47 Remove libandroidsupport cruft.
The next NDK to take these headers only supports API 21 and later.

Test: treehugger
Change-Id: I084ec887158ce4e40d6927df49da748671bfd127
2023-02-24 19:33:33 +00:00
Elliott Hughes
f2ca0bc13d Merge "Remove <sys/socket.h> inlines for obsolete API levels." 2023-02-24 19:23:51 +00:00
Elliott Hughes
59d90262ed Merge "Remove <fenv.h> inlines for obsolete API levels." 2023-02-24 19:23:24 +00:00
Elliott Hughes
f5e899d84d Merge "Remove <sys/stat.h> inlines for obsolete API levels." 2023-02-24 19:23:15 +00:00
Elliott Hughes
af17562d0e Merge "Remove <time.h> cruft." 2023-02-24 19:23:06 +00:00
Elliott Hughes
7dfa18a49f Merge "Remove <signal.h> inlines for obsolete API levels." 2023-02-24 19:19:19 +00:00
Elliott Hughes
66734f0c35 Merge "Remove <sys/mman.h> inlines for obsolete API levels." 2023-02-24 19:19:13 +00:00
Elliott Hughes
d54d92c4fd Merge "Remove <errno.h> inlines for obsolete API levels." 2023-02-24 19:18:38 +00:00
Elliott Hughes
511ad0f5db Merge "Remove a tautology from <bits/threads_inlines.h>." 2023-02-24 19:18:25 +00:00
zijunzhao
32b6d4371e Nullability check for iconv module
Bugs: b/245972273
Test: adb shell
Change-Id: I9b6223b039cffda1f665c01013900824b35a8e42
2023-02-24 02:32:35 +00:00
zijunzhao
d6af63b795 Nullability check for ftw module
Bugs: b/245972273
Test: adb shell
Change-Id: If132a01d3e07ddb92a81e3289aa7cd4f83b44b51
2023-02-24 01:44:26 +00:00
Elliott Hughes
b5ff68cf24 Remove a tautology from <bits/threads_inlines.h>.
The next NDK to take these headers only supports API 21 and later.

Test: treehugger
Change-Id: I31a07842a498e818ec8f16c217c365b100a5e05b
2023-02-24 01:02:24 +00:00
Elliott Hughes
f4105789fb Remove <time.h> cruft.
The next NDK to take these headers only supports API 21 and later, but
even if it didn't --- there is no inline!

Test: treehugger
Change-Id: Ibb194e1cbf0a8551bff863d940d92c35ed06a1e1
2023-02-24 00:56:25 +00:00
Elliott Hughes
82b0d52cb0 Remove <sys/socket.h> inlines for obsolete API levels.
The next NDK to take these headers only supports API 21 and later.

Test: treehugger
Change-Id: I445eb6ea2d42c3c8a4beb12ef88ba423cfb64f20
2023-02-24 00:46:48 +00:00
Elliott Hughes
19ed204031 Remove <sys/mman.h> inlines for obsolete API levels.
The next NDK to take these headers only supports API 21 and later.

Test: treehugger
Change-Id: I64baf933d3796f20dee5c1465ed58f8bb45394b5
2023-02-24 00:41:30 +00:00
Elliott Hughes
acaaab007c Remove <errno.h> inlines for obsolete API levels.
The next NDK to take these headers only supports API 21 and later.

Test: treehugger
Change-Id: Ie9e9bc82612a326d9e608b0d5974231f4acc5638
2023-02-24 00:32:47 +00:00
Elliott Hughes
432a4afb1e Remove <signal.h> inlines for obsolete API levels.
The next NDK to take these headers only supports API 21 and later.

Test: treehugger
Change-Id: I8fe617e6eb781629ddf0b98b0037a9b3e54c559c
2023-02-24 00:28:20 +00:00
Elliott Hughes
2f5829b55d Remove <fenv.h> inlines for obsolete API levels.
The next NDK to take these headers only supports API 21 and later, so
clean up some of the trivial cruft.

Test: treehugger
Change-Id: Ib735a776d244cc82858f2ed629dd63a54dbaf650
2023-02-24 00:16:41 +00:00
Elliott Hughes
5802c90527 Merge "libc/include: remove easy __ANDROID_API__ tautologies." am: b890ff36d1
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2453646

Change-Id: I9acabdc114ffc611c4c77a22b42c992cd7e02cc8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-24 00:13:46 +00:00
Elliott Hughes
3f3a8cd57e Remove <sys/stat.h> inlines for obsolete API levels.
The next NDK to take these headers only supports API 21 and later.

Test: treehugger
Change-Id: Ia2a4c04fdd144cfbe961bdf8d4f53bd4958befe8
2023-02-23 22:53:37 +00:00
Elliott Hughes
b890ff36d1 Merge "libc/include: remove easy __ANDROID_API__ tautologies." 2023-02-23 22:45:57 +00:00
Elliott Hughes
ae76d744f8 Merge "Remove <sys/statvfs.h> inlines for API level 19." am: 6ccb71ca0c
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2449542

Change-Id: Ib221b5f62aaae2c847b44dcaddd3dafe85d04601
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-23 19:46:51 +00:00
Elliott Hughes
6ccb71ca0c Merge "Remove <sys/statvfs.h> inlines for API level 19." 2023-02-23 18:55:04 +00:00
Elliott Hughes
f4ace9d634 libc/include: remove easy __ANDROID_API__ tautologies.
The next NDK to take these headers only supports API 21 and later, so
clean up some of the trivial cruft.

This doesn't include the remaining "legacy inlines", since they're a bit
more complicated. I'll remove those in later changes.

Test: treehugger
Change-Id: I94c32f6393dd3ae831165917303ea591222baa0d
2023-02-23 17:38:37 +00:00
Christopher Ferris
1a107a4f58 Merge "Update to v6.2 kernel headers." am: 0878518cac
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2449544

Change-Id: Id958f93ec48eb933bb749a35708e1991d55b23ed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-23 03:41:21 +00:00
Christopher Ferris
0878518cac Merge "Update to v6.2 kernel headers." 2023-02-23 02:40:23 +00:00
Elliott Hughes
9a7155dbbd riscv64 SCS support.
Bug: https://github.com/google/android-riscv64/issues/55
Test: treehugger
Change-Id: I05d48a07a302305126942d38529ffa280640c7b7
2023-02-23 01:21:07 +00:00
Elliott Hughes
3c3736e1bd Remove <sys/statvfs.h> inlines for API level 19.
API level 19 is no longer supported by the NDK.

While I'm here, let's remove the duplicated structure defintion (as
we've already done for `struct stat`).

Test: treehugger
Change-Id: I9d8286f9e7ba803f3131b6dcb0486ff1b0f9d5d1
2023-02-22 21:58:24 +00:00
Elliott Hughes
0e37a0fd05 Merge "Remove <stdlib.h> abs/labs/llabs inline for API level 19." am: d3ebc2f7c4
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2441393

Change-Id: I08d6749c04cf0c9075009080a2fd78e8b51378a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-21 21:44:41 +00:00
Christopher Ferris
8b7fdc9124 Update to v6.2 kernel headers.
Kernel headers coming from:

Git: https://android.googlesource.com/kernel/common/
Branch: android-mainline
Tag: android-mainline-6.2

Test: Bionic unit tests pass.
Change-Id: I9f665add01ebeb155dd8a934308897f90000a557
2023-02-21 13:36:32 -08:00
Elliott Hughes
d3ebc2f7c4 Merge "Remove <stdlib.h> abs/labs/llabs inline for API level 19." 2023-02-21 21:14:49 +00:00
Pierre-Clément Tosi
eb46ac9ae4 librust_baremetal: Add libc_netbsd
Get bsearch and other baremetal-compatible functions from NetBSD.

Bug: 249723852
Bug: 262344886
Test: -
Change-Id: Idd90188ae13c84ed35af8f1475370cec0fe8cdbb
2023-02-21 15:47:01 +00:00
Zijun Zhao
bbfc520712 Merge "Nullability check for glob module" am: 4e732eb730
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2439457

Change-Id: I64ec26f1dd4168e065dfae5ec7cf39b975e6c582
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-20 00:24:47 +00:00
Zijun Zhao
4e732eb730 Merge "Nullability check for glob module" 2023-02-19 22:33:42 +00:00
zijunzhao
3e39b3ac4a Nullability check for glob module
Bugs: b/245972273
Test: adb shell
Change-Id: Ic631bfe3c70080f140bb1be13e98ab751ab52252
2023-02-19 22:33:27 +00:00
Elliott Hughes
d3341b64af Merge "Remove <sys/wait.h> wait4() inline for API level 18." am: 5fb10ce72d
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2441392

Change-Id: Id79d97ce52fb583cc57bab878d9910d1f77e12a1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-18 17:27:57 +00:00
Elliott Hughes
5fb10ce72d Merge "Remove <sys/wait.h> wait4() inline for API level 18." 2023-02-18 15:56:49 +00:00
Elliott Hughes
8e9df22b06 Merge "Add documentation for a couple of pthread functions." am: 0572153fea
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2441524

Change-Id: I906ae3c701d268fee1a0ec9cba27c41f0ac2b97b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-18 03:38:10 +00:00
Elliott Hughes
0572153fea Merge "Add documentation for a couple of pthread functions." 2023-02-18 02:12:08 +00:00
Elliott Hughes
527d01221e Remove <stdlib.h> abs/labs/llabs inline for API level 19.
API level 19 is no longer supported by the NDK.

Test: treehugger
Change-Id: I9fa1e9b3c492b3d3384e393994a7dddfdb35d805
2023-02-17 23:51:57 +00:00
Elliott Hughes
ed07723a34 Remove <sys/wait.h> wait4() inline for API level 18.
API level 18 is no longer supported by the NDK.

Test: treehugger
Change-Id: I526b628bf3aa9215c9832275f7eeaa15b52a107d
2023-02-17 23:41:55 +00:00
Elliott Hughes
8d8a911eab Add documentation for a couple of pthread functions.
These cause great confusion, so explicitly point out that apps can't use
one, and probably want the other.

Bug: https://github.com/android/ndk/issues/1255
Test: N/A
Change-Id: I287e820dc45a8446e3c72c9a2e4007db76828e3b
2023-02-17 23:31:17 +00:00
Treehugger Robot
a57d56262a Merge "Nullability check for fenv module" am: c83efcab83
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2439459

Change-Id: Iaf45a12cbbc98bf483d2393c60ace25adc373f33
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-16 20:08:26 +00:00
Treehugger Robot
c83efcab83 Merge "Nullability check for fenv module" 2023-02-16 18:57:36 +00:00
Zijun Zhao
3860c114dd Merge "Nullability check for swap module" am: fa2ac8440d
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2439458

Change-Id: I55bb805d9a6ddf33acf84d22b159da95412a6fc0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-16 18:25:59 +00:00
Zijun Zhao
fa2ac8440d Merge "Nullability check for swap module" 2023-02-16 17:49:28 +00:00
Treehugger Robot
f45f13cd54 Merge "Nullability check for wctype module" am: f4fdf0a702
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2439492

Change-Id: Ibf64559724161c4f42bb76d0c4f5b717a9c2b903
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-16 03:57:47 +00:00
Treehugger Robot
f4fdf0a702 Merge "Nullability check for wctype module" 2023-02-16 03:26:23 +00:00
Treehugger Robot
91d57e7b41 Merge "Nullability check for vfs module" am: 026542250f
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2439452

Change-Id: I5ebb820b0845c2b1898ed3b9cb6344208864e8e7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-16 03:09:49 +00:00
Treehugger Robot
026542250f Merge "Nullability check for vfs module" 2023-02-16 02:39:41 +00:00