Zijun Zhao
f66c2eea89
Merge "Nullability check for if module." am: 8e5e8ee14b
am: add41fd0b0
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2582943
Change-Id: I668f202321809578bada12e0709a68047b8ea171
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-12 18:37:59 +00:00
Zijun Zhao
add41fd0b0
Merge "Nullability check for if module." am: 8e5e8ee14b
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2582943
Change-Id: Iee85c14222e7fc81c9f43d25eac114bf0636ac0f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-12 17:58:53 +00:00
Zijun Zhao
8e5e8ee14b
Merge "Nullability check for if module."
2023-05-12 17:17:23 +00:00
Zijun Zhao
e74ec299e7
Merge "Nullability check for netdb module" am: 78b0558976
am: 8995d7c704
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2522835
Change-Id: I09d4c4f3f9211e4ca2f727ef9ca5fd2baa40ea71
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-12 01:43:13 +00:00
Zijun Zhao
8995d7c704
Merge "Nullability check for netdb module" am: 78b0558976
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2522835
Change-Id: I3646c6512d4a12faa08e00f511cbfe9eb64df1ce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-12 01:00:47 +00:00
Zijun Zhao
78b0558976
Merge "Nullability check for netdb module"
2023-05-12 00:21:24 +00:00
zijunzhao
c741aea751
Nullability check for netdb module
...
Bugs: b/245972273
Test: adb shell
Change-Id: Id9b4338ca2f0fb64033c221f3bfb269ab930b79b
2023-05-11 21:31:42 +00:00
Elliott Hughes
f7c15945f3
Merge "riscv64: fix return value when errorno is 4095" am: 0824e2cb84
am: 5f7fdb6774
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2586065
Change-Id: I78847a968743d9f8a75420d5a70e62c92ccc3584
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 19:32:02 +00:00
Elliott Hughes
5f7fdb6774
Merge "riscv64: fix return value when errorno is 4095" am: 0824e2cb84
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2586065
Change-Id: Id883b6196d4da899568ad4d3d5f8cc41bddb66f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 18:44:55 +00:00
Elliott Hughes
0824e2cb84
Merge "riscv64: fix return value when errorno is 4095"
2023-05-11 17:58:00 +00:00
zijunzhao
87aae5309b
Nullability check for if module.
...
Bugs: b/245972273
Test: adb shell
Change-Id: If6be7027e0ebdcf68ae4062c57e1c4e82a767abe
2023-05-11 17:15:57 +00:00
Mao Han
d4e662edab
riscv64: fix return value when errorno is 4095
...
This issue was discovered by seccomp_seccomp_bpf_riscv_64 test.
Actual output:
[0]code=20 jt=00 jf=00 k=0000
[1]code=15 jt=00 jf=01 k=003F
[2]code=06 jt=00 jf=00 k=51000
[3]code=06 jt=00 jf=00 k=7FFF0000
ret=-4095, errno=0
Expected output:
[o]code=20 jt=00 jf=00 k=0000
[1]code=15 jt=00 jf=01 k=003F
[2]code=06 jt=00 jf=00 k=51000
[3]code=06 jt=00 jf=00 k=7FFF0000
ret=-1, errno=4095
Change-Id: Ieebf5f0d1e2f18e2887c463b58ef7ea05ea52898
Signed-off-by: Mao Han <han_mao@linux.alibaba.com>
Signed-off-by: haocheng.zy <zhangye@linux.alibaba.com>
2023-05-11 14:52:56 +08:00
Christopher Ferris
78156337d9
Merge "Update to v6.3 kernel headers." am: 983292a972
am: e75eed06cd
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2583751
Change-Id: I4f7a254296d323c572d0c4e9b408975e6f46ae39
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 00:45:29 +00:00
Christopher Ferris
e75eed06cd
Merge "Update to v6.3 kernel headers." am: 983292a972
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2583751
Change-Id: I7d92fd5501b5c21a037825169741c83d518cf4d8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-11 00:05:09 +00:00
Christopher Ferris
983292a972
Merge "Update to v6.3 kernel headers."
2023-05-10 23:28:53 +00:00
Treehugger Robot
89b6ea7320
Merge "More printf unification: FLUSH()." am: d9fa32e99f
am: b00d33659a
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2583976
Change-Id: I13073c952056ef624277c918dffd8e485c23eeda
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 23:25:39 +00:00
Treehugger Robot
b00d33659a
Merge "More printf unification: FLUSH()." am: d9fa32e99f
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2583976
Change-Id: If471cefe88c21e757eb8832209b7207e0a25881c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 22:41:24 +00:00
Treehugger Robot
d9fa32e99f
Merge "More printf unification: FLUSH()."
2023-05-09 21:46:12 +00:00
Elliott Hughes
30599f7f35
Merge "Clean up stdio snprintf()/swprintf() tests." am: 44befb2286
am: 3c3f31df3b
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2583370
Change-Id: I85b8a8d7eb0b7bbe9f428de4817e4925c3d58216
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 19:50:10 +00:00
Christopher Ferris
b7cef6d910
Update to v6.3 kernel headers.
...
Kernel headers coming from:
Git: https://android.googlesource.com/kernel/common/
Branch: android-mainline
Tag: android-mainline-6.3
Test: Bionic unit tests pass.
Change-Id: I5270ef291a77343e47ef3a5fbd02b8cacf218ec5
2023-05-09 19:04:15 +00:00
Elliott Hughes
26a0ebd24b
More printf unification: FLUSH().
...
wprintf doesn't need this (and already only has the iov stuff because
the non-wide printf implementation needs it), but we can further reduce
the diff between the two implementations by defining a no-op FLUSH() for
wide characters.
Test: treehugger
Change-Id: Ifefcb4b8474b086f995e2b0796f61558a19e2a42
2023-05-09 11:54:09 -07:00
Elliott Hughes
3c3f31df3b
Merge "Clean up stdio snprintf()/swprintf() tests." am: 44befb2286
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2583370
Change-Id: I4c8af67daf4a7d2b4563a2d401e3470a9150c7cd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 18:44:31 +00:00
Elliott Hughes
44befb2286
Merge "Clean up stdio snprintf()/swprintf() tests."
2023-05-09 18:15:16 +00:00
Treehugger Robot
8e7d2d4bb0
Merge "Make fork equivalent to vfork when HWASan or MTE stack tagging is enabled." am: 68904aee7b
am: 52a892139c
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2507976
Change-Id: If7569d30dad1d5d04e5bfcd10498e1e9ee11ba21
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 02:10:24 +00:00
Treehugger Robot
52a892139c
Merge "Make fork equivalent to vfork when HWASan or MTE stack tagging is enabled." am: 68904aee7b
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2507976
Change-Id: I628e01891a51a774c9cc0e834b74090086f88953
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 01:27:41 +00:00
Treehugger Robot
68904aee7b
Merge "Make fork equivalent to vfork when HWASan or MTE stack tagging is enabled."
2023-05-09 00:53:48 +00:00
Elliott Hughes
8fd4e96e2a
Clean up stdio snprintf()/swprintf() tests.
...
This reduces the amount of boilerplate for these tests, and ensures that
we have a corresponding swprintf() test for every snprintf() test
(except the handful where it doesn't make sense; we have no FORTIFY for
the wide-character routine, for example).
Test: treehugger
Change-Id: I14091683494bbb414f1a72bddc9835b86ff62526
2023-05-08 17:31:40 -07:00
Treehugger Robot
7df48146cc
Merge "Explain the header tests better." am: e60b4c7c2f
am: 638474bf17
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2582154
Change-Id: I9e932f275e47f251fe22854f7dc8f9a82f5336cc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-08 23:27:57 +00:00
Treehugger Robot
638474bf17
Merge "Explain the header tests better." am: e60b4c7c2f
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2582154
Change-Id: Iec5ba284753d0ed36506f3987357c0a24de58dcc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-08 22:45:15 +00:00
Peter Collingbourne
b6a592b25b
Make fork equivalent to vfork when HWASan or MTE stack tagging is enabled.
...
Bug: 274056091
Change-Id: Iac029ca6b0e26f57f20c0a54822b75e3cae67344
2023-05-08 15:26:00 -07:00
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