8d69f256 | 21-Oct-2023 |
Ben Noordhuis |
unix: add back preadv/pwritev fallback Implement in terms of pread/pwrite and only try to read/write the first buffer. Callers are supposed to handle partial reads and libuv takes ca
unix: add back preadv/pwritev fallback Implement in terms of pread/pwrite and only try to read/write the first buffer. Callers are supposed to handle partial reads and libuv takes care of partial writes. (Our own fs_read_bufs test doesn't but that's fine because this commit is a fix-up for unsupported platforms that aren't in our CI matrix.) Fixes: https://github.com/libuv/libuv/issues/4176
show more ...
|
815dd8a2 | 17-Oct-2023 |
prubel |
test: 192.0.2.0/24 is the actual -TEST-NET-1 (#4133) Section 3 of rfc 5737 lists 192.0.2.0/24 as TEST-NET-1, fix confusion about /8 and /24. |
dc1bb008 | 14-Oct-2023 |
Pleuvens |
doc: uv_close should be called after exit callback (#4164) Fixes: https://github.com/libuv/libuv/issues/1911 |
197f453b | 13-Oct-2023 |
Julien Roncaglia |
darwin: workaround apple pthread_cond_wait bug (#4166) Under heavy workloads pthread_cond_wait on macOS can return EINVAL while all the input parameters are correct. As it happe
darwin: workaround apple pthread_cond_wait bug (#4166) Under heavy workloads pthread_cond_wait on macOS can return EINVAL while all the input parameters are correct. As it happens due to a syscall having an errno of EBUSY we can detect it and work around it. Fixes: https://github.com/libuv/libuv/issues/4165
show more ...
|
d8669609 | 12-Oct-2023 |
Pleuvens |
test: switch from ASSERT_* to ASSERT_PTR_* (#4163) Also introduce a new ASSERT_PTR_LT macro. |
004dfd2d | 12-Oct-2023 |
David Carlier |
freebsd: get fs event path with fcntl(F_KINFO) |
13148457 | 12-Oct-2023 |
Ben Noordhuis |
unix: don't malloc on sync uv_fs_read (#4162) We can use the |bufs| argument directly instead of always copying it and sometimes heap-allocating it. The same trick doesn't work
unix: don't malloc on sync uv_fs_read (#4162) We can use the |bufs| argument directly instead of always copying it and sometimes heap-allocating it. The same trick doesn't work for uv_fs_write() because the iterator mutates the buffers in the list and that's visible to the caller. Fixes: https://github.com/libuv/libuv/issues/4038
show more ...
|
75f7de40 | 06-Oct-2023 |
Abdirahim Musse <33973272+abmusse@users.noreply.github.com> |
test: fix get_passwd2 on IBM i (#4154) uid 0 is `qsecofr` on IBM i. Refs: https://github.com/libuv/libuv/issues/4143 |
fc4840eb | 06-Oct-2023 |
jolai <58589285+laijonathan@users.noreply.github.com> |
zos: correctly get cpu model in uv_cpu_info() (#4136) The previous implementation using si11v1cpcmodel did not return a valid cpu model on z/OS. So use PCCA instead to correctly get the
zos: correctly get cpu model in uv_cpu_info() (#4136) The previous implementation using si11v1cpcmodel did not return a valid cpu model on z/OS. So use PCCA instead to correctly get the cpu model. Co-authored-by: Wayne Zhang <shuowang.zhang@ibm.com> Co-authored-by: Gaby Baghdadi <baghdadi@ca.ibm.com> Co-authored-by: Jonathan Lai <jonathan.lai@ibm.com> Fixes: https://github.com/libuv/libuv/issues/4102
show more ...
|
011a1ac1 | 06-Oct-2023 |
Pleuvens |
test: switch to new-style ASSERT_EQ macros (#4159) Switch from old-style ASSERT macro to new-style ASSERT_EQ,... macros. Using new-style macros makes it easier to debug test failure
test: switch to new-style ASSERT_EQ macros (#4159) Switch from old-style ASSERT macro to new-style ASSERT_EQ,... macros. Using new-style macros makes it easier to debug test failures Fixes: https://github.com/libuv/libuv/issues/2974
show more ...
|
56fada47 | 03-Oct-2023 |
Ben Noordhuis |
src: default to stream=stderr in handle printer (#4161) Make printing handles from gdb a little easier because it doesn't always know how to locate the stdout or stderr globals from libc
src: default to stream=stderr in handle printer (#4161) Make printing handles from gdb a little easier because it doesn't always know how to locate the stdout or stderr globals from libc. With this commit `call uv_print_all_handles(0, 0)` prints the handles from the default loop to stderr.
show more ...
|
737f4f95 | 03-Oct-2023 |
Ben Noordhuis |
darwin: remove workaround for data corruption bug XNU kernels anno ~2010 had a data corrruption bug where concurrent write and pwrite calls sometimes resulted in blocks of zeroes being
darwin: remove workaround for data corruption bug XNU kernels anno ~2010 had a data corrruption bug where concurrent write and pwrite calls sometimes resulted in blocks of zeroes being written instead of the actual data. Libuv works around that by serializing all writes with a process-wide mutex, meaning oncurrent writes (for all files, not just single files) have a concurrency of 1. Obviously that's not great for performance. Modern day macOS no longer has this bug, so remove the workaround.
show more ...
|
fef61960 | 01-Oct-2023 |
Ben Noordhuis |
unix: remove pwrite/pwritev conditionals |
663d88b6 | 01-Oct-2023 |
Ben Noordhuis |
unix: remove pread/preadv conditionals |
c03569f0 | 02-Oct-2023 |
Jameson Nash |
win,process: avoid assert after spawning Store app (#4152) Make sure this handle is functional. The Windows kernel seems to have a bug that if the first use of AssignProcessToJobObject i
win,process: avoid assert after spawning Store app (#4152) Make sure this handle is functional. The Windows kernel seems to have a bug that if the first use of AssignProcessToJobObject is for a Windows Store program, subsequent attempts to use the handle with fail with INVALID_PARAMETER (87). This is possilby because all uses of the handle must be for the same Terminal Services session. We can ensure it is tied to our current session now by adding ourself to it. We could remove ourself afterwards, but there doesn't seem to be a reason to. Secondly, we start the process suspended so that we can make sure we added it to the job control object before it does anything itself (such as launch more jobs or exit). Fixes: https://github.com/JuliaLang/julia/issues/51461
show more ...
|
2a4cab70 | 29-Sep-2023 |
SmorkalovG |
unix: reset signal counters after fork (#3485) If a signal was received but was not dispatched before fork then caught_signals counter should be reset. Closing of signal pipe makes i
unix: reset signal counters after fork (#3485) If a signal was received but was not dispatched before fork then caught_signals counter should be reset. Closing of signal pipe makes impossible to receive the signal that was counted. There is no need in this signal because it was sent to parent process Fixes: https://github.com/libuv/libuv/issues/3483
show more ...
|
d83fadaf | 28-Sep-2023 |
Abdirahim Musse <33973272+abmusse@users.noreply.github.com> |
ibmi: implement ifaddrs, getifaddrs, freeifaddrs (#4155) Add PASE implementation of ifaddrs, getifaddrs, freeifaddrs. Refs: https://github.com/libuv/libuv/issues/4117 |
d277f713 | 26-Sep-2023 |
Santiago Gimeno |
test: skip tests when ipv6 is not available (#4151) |
c811169f | 17-Sep-2023 |
Santiago Gimeno |
unix: disable io_uring close on selected kernels (#4141) Specifically on non-longterm kernels between 5.16.0 (non-longterm) and 6.1.0 (longterm). Starting with longterm 6.1.0, the issue
unix: disable io_uring close on selected kernels (#4141) Specifically on non-longterm kernels between 5.16.0 (non-longterm) and 6.1.0 (longterm). Starting with longterm 6.1.0, the issue is solved.
show more ...
|
4e416266 | 17-Sep-2023 |
Santiago Gimeno |
build: fix qemu install in CI-unix workflow (#4142) The version of the deb package has changed to 7.2. |
0d78f3c7 | 31-Aug-2023 |
Ben Noordhuis |
unix: get mainline kernel version in Debian (#4131) In Debian, the mainline kernel version is reported via the `uname()` `version` field. |
e2c8fed7 | 30-Aug-2023 |
Santiago Gimeno |
unix: get mainline kernel version in Ubuntu (#4131) In Ubuntu, the kernel version reported by `uname()` follows the versioning format that Ubuntu uses for their kernels which does not ha
unix: get mainline kernel version in Ubuntu (#4131) In Ubuntu, the kernel version reported by `uname()` follows the versioning format that Ubuntu uses for their kernels which does not have a direct correspondence with the mainline kernel version they're based on. Get that version from `/proc/version_signature` as documented in: https://wiki.ubuntu.com/Kernel/FAQ#Kernel.2FFAQ.2FGeneralVersionRunning.How_can_we_determine_the_version_of_the_running_kernel.3F
show more ...
|
0a02887e | 28-Aug-2023 |
Alois Klink |
doc: fix broken "Shared library" Wikipedia link (#4128) `linkcheck` is printing the following error: ``` ( guide/utilities: line 311) broken https://en.wikipedia.org/wiki/Sh
doc: fix broken "Shared library" Wikipedia link (#4128) `linkcheck` is printing the following error: ``` ( guide/utilities: line 311) broken https://en.wikipedia.org/wiki/Shared_library#Shared_libraries - Anchor 'Shared_libraries' not found ```
show more ...
|
65dc822d | 25-Aug-2023 |
michalbiesek |
linux: add missing riscv syscall numbers (#4127) Signed-off-by: Michal Biesek <michalbiesek@gmail.com> |
b3759772 | 19-Aug-2023 |
Brad King |
win,fs: avoid winapi macro redefinition (#4123) Adjust include order to avoid redefining `CTL_CODE`, `FILE_READ_ACCESS`, and `FILE_WRITE_ACCESS`. Without this, compilation shows:
win,fs: avoid winapi macro redefinition (#4123) Adjust include order to avoid redefining `CTL_CODE`, `FILE_READ_ACCESS`, and `FILE_WRITE_ACCESS`. Without this, compilation shows: ``` ...\um\winioctl.h(273): warning C4005: 'CTL_CODE': macro redefinition ...\src\win\winapi.h(4497): note: see previous definition of 'CTL_CODE' ...\um\winioctl.h(320): warning C4005: 'FILE_READ_ACCESS': macro redefinition ...\src\win\winapi.h(4488): note: see previous definition of 'FILE_READ_ACCESS' ...\um\winioctl.h(321): warning C4005: 'FILE_WRITE_ACCESS': macro redefinition ...\src\win\winapi.h(4492): note: see previous definition of 'FILE_WRITE_ACCESS' ```
show more ...
|