Treehugger Robot
0ddab67369
Merge "Nullability check for time module." am: b167b90b4c
am: 68364d0074
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2580375
Change-Id: Ib40792ce001c407f8aff63556173a8ab15a26f5d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-16 20:10:12 +00:00
Treehugger Robot
68364d0074
Merge "Nullability check for time module." am: b167b90b4c
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2580375
Change-Id: Ifb3f7c83e53ffb5c7008d14d0256368fe5c3a469
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-16 19:05:28 +00:00
Treehugger Robot
b167b90b4c
Merge "Nullability check for time module."
2023-05-16 18:28:57 +00:00
zijunzhao
2067ec5967
Nullability check for time module.
...
Bug: b/245972273
Test: adb shell
Change-Id: I61f69f48f3428ef1f544dd01e573ff078a9eab17
2023-05-16 00:17:36 +00:00
Elliott Hughes
cf112df275
Merge "riscv64: don't use jalr when we can just say call." am: d93f594d78
am: 94b2422a5b
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2587307
Change-Id: I1547f15a3fe2a8556485dafb62ec07aa50abc98b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-12 23:59:37 +00:00
Elliott Hughes
94b2422a5b
Merge "riscv64: don't use jalr when we can just say call." am: d93f594d78
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2587307
Change-Id: Ia9208b610b6edd0d452b1ce7e124647431f8fc22
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-12 23:18:27 +00:00
Elliott Hughes
d93f594d78
Merge "riscv64: don't use jalr when we can just say call."
2023-05-12 22:45:19 +00:00
Elliott Hughes
d2b4fab8d8
Merge "printf unification: floating point." am: a198c71752
am: 3ef0a47b71
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2583717
Change-Id: I3f5b5da8734a5bd87f5c39490206bce24d74df5d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-12 21:50:36 +00:00
Elliott Hughes
3ef0a47b71
Merge "printf unification: floating point." am: a198c71752
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2583717
Change-Id: Iea67828c78b76749c5c94ae27642b63c89f09bf1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-12 21:10:56 +00:00
Elliott Hughes
a198c71752
Merge "printf unification: floating point."
2023-05-12 20:15:02 +00:00
Elliott Hughes
1bfe534274
riscv64: don't use jalr when we can just say call.
...
We don't actually care about the length of this jump, and lld will relax
it to a jal when possible anyway. Better to have people copy & paste
call and tail than jal and j.
Test: treehugger
Change-Id: I889044b95fbb5567189a0d6ef31f81df0e0383cd
2023-05-12 12:56:54 -07:00
Shreshta Manu
2882ca785f
Merge "Revert "Nullability check for inet module."" am: 56dba096a2
am: 61bc7f1888
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2587030
Change-Id: I3653e0ea904c38a1cbbefd00a089901858a7e6b0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-12 19:42:28 +00:00
Shreshta Manu
61bc7f1888
Merge "Revert "Nullability check for inet module."" am: 56dba096a2
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2587030
Change-Id: I6ce463a2b04dc86b65240a598376f79e8a155eb9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-12 19:03:03 +00:00
Zijun Zhao
82e0e8f3ed
Merge "Nullability check for inet module." am: 50d729b228
am: e2b22857d7
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2586047
Change-Id: I3105a3269e1f1ce74eaafd1776854067fee9f14d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-12 18:38:13 +00:00
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
Shreshta Manu
56dba096a2
Merge "Revert "Nullability check for inet module.""
2023-05-12 18:20:56 +00:00
Zijun Zhao
07a2b29dd6
Revert "Nullability check for inet module."
...
This reverts commit 53dbd78ae0
.
Reason for revert: Break build https://android-build.googleplex.com/builds/submitted/10125312/test_suites_x86_64_coverage/latest/view/logs/build_error.log?legacy
Change-Id: Ifccf22768b916d85263abb89b2b4223ae2ce5d80
2023-05-12 18:18:29 +00:00
Zijun Zhao
e2b22857d7
Merge "Nullability check for inet module." am: 50d729b228
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2586047
Change-Id: I596d76aabdd2670765a57ff0ccb66714f8f65068
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-12 17:59:19 +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
50d729b228
Merge "Nullability check for inet module."
2023-05-12 17:17:48 +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
Elliott Hughes
531199c56c
printf unification: floating point.
...
The only remaining differences between vfprintf.cpp and vfwprintf.cpp
after this are the wide/narrow conversions for %c, %m, and %s. I've used
"chars" and "bytes" for the named constants for the directions because
(a) I find -1 and 1 pretty confusing and (b) although "narrow" is the
obvious opposite of "wide", only Windows actually moved to wide
characters, so "narrow" (aka "multibyte", and probably "utf8") is the
default/normal case. Even though C confuses bytes and characters via its
`char` type, "bytes" versus "chars" seems like the appropriate
terminology (and it's what Java/Python use).
Also improve the swprintf tests assertion so failures are readable.
Test: treehugger
Change-Id: Ife8f70f65ec28d96058a7d68df353945524835d2
2023-05-11 16:51:13 -07:00
zijunzhao
53dbd78ae0
Nullability check for inet module.
...
Bugs: b/245972273
Test: adb shell
Change-Id: I51830ddbf5ceb7c02154bd335feb65ca1a230b66
2023-05-11 22:57:27 +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