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
zijunzhao
37a136fc2c
Nullability check for fenv module
...
Bugs: b/245972273
Test: adb shell
Change-Id: Id930d187169820cf15bc9e5b4907a0984ee277ca
2023-02-16 01:41:55 +00:00
zijunzhao
b0fba720ff
Nullability check for swap module
...
Bugs: b/245972273
Test: adb shell
Change-Id: I75e7e50d9ca08b82551851f877af8b2d309137b4
2023-02-16 01:40:05 +00:00
zijunzhao
c0d5b4718e
Nullability check for wctype module
...
Bugs: b/245972273
Test: adb shell
Change-Id: Ic60a1b77e3f16bc9c3808ab4f772d6f174116a75
2023-02-15 23:24:40 +00:00
zijunzhao
557d9a553c
Nullability check for vfs module
...
Bugs: b/245972273
Test: adb shell
Change-Id: Icaaa69641f72a58326afbd6691c8df8f4e774363
2023-02-15 23:22:10 +00:00
Zijun Zhao
d1d2cad249
Merge "Nullability check for string module" am: 99c7a93cca
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2430574
Change-Id: I1608e9dfbeb80f37b088f4929f6ee2e7daaff4d8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15 18:47:07 +00:00
Zijun Zhao
99c7a93cca
Merge "Nullability check for string module"
2023-02-15 17:40:43 +00:00
zijunzhao
02c4ef4d78
Nullability check for string module
...
Bugs: b/245972273
Test: adb shell
Change-Id: I4c71bca1ff72553b27805722c3076ed105612a21
2023-02-14 20:47:10 +00:00
Zijun Zhao
0ed1c15ecf
Merge "Nullability check for epoll module" am: 06c7a8c2cb
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2433936
Change-Id: I48879d0fd53ce708aafa0d5a38de13dc2e136e2b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-14 17:58:07 +00:00
Zijun Zhao
06c7a8c2cb
Merge "Nullability check for epoll module"
2023-02-14 17:24:17 +00:00
zijunzhao
d555a333c8
Nullability check for epoll module
...
Bugs: b/245972273
Test: adb shell
Change-Id: Ic09eb9c503992178b5f271f80208ea159ee040be
2023-02-14 02:27:20 +00:00
Treehugger Robot
b11f32276c
Merge "librust_baremetal: No HAVE_ASSEMBLER___MEMCPY_CHK" am: f81027468c
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2373932
Change-Id: Ibbe38be2043eb16a1dafd4857cebc82a54b5453e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-14 01:54:32 +00:00
Treehugger Robot
f81027468c
Merge "librust_baremetal: No HAVE_ASSEMBLER___MEMCPY_CHK"
2023-02-14 00:57:52 +00:00
Elliott Hughes
91bc848df1
Merge "libm: admit we use SSE4.1 in x86's libm." am: 83b661802d
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2430852
Change-Id: I71f035ee5acc27c1a10d3da50b00010c5c8eb13c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-10 21:32:09 +00:00