summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Graham Inggs [Wed, 28 Feb 2024 21:01:37 +0000 (21:01 +0000)]
Merge libuv1 (1.48.0-1.1) import into refs/heads/workingbranch
Dominique Dumont [Wed, 28 Feb 2024 21:01:37 +0000 (21:01 +0000)]
Skip multicast test
Forwarded: not-needed
Skip muliticast test to avoid this error on all build daemons:
ok 346 - udp_multicast_interface6
not ok 347 - udp_multicast_join
# timeout
# Output from process `udp_multicast_join`: (no output)
not ok 348 - udp_multicast_join6
# timeout
# Output from process `udp_multicast_join6`: (no output)
ok 349 - udp_multicast_ttl
Gbp-Pq: Name skip-multicast-test
Mauricio Faria de Oliveira [Wed, 28 Feb 2024 21:01:37 +0000 (21:01 +0000)]
fix undefined path_max for st_size zero
Bug-Ubuntu: https://bugs.launchpad.net/bugs/
1792647
Bug-Debian: https://bugs.debian.org/909011
Reviewed-by: dod
The downstream 'path_max' patch in Debian sets the buffer size
for readlink() to the 'st_size' value obtained with lstat().
However, it might be zero for some symlinks in /proc on Linux
(notably /proc/self) leading to readlink() failing with EINVAL.
$ strace -e lstat stat /proc/self 2>&1 \
| grep -e lstat -e File: -e Size:
lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
File: /proc/self -> 30875
Size: 0 Blocks: 0 IO Block: 1024 symbolic link
This causes readlink (tool) to files like /dev/stdin to fail,
which may link to /proc/self/fd/0 on containers or elsewhere.
Test-case:
ubuntu@cosmic:~/node$
$ strace -E LD_LIBRARY_PATH=/usr/local/lib/ -f -e lstat,readlink \
node test/parallel/test-fs-realpath-pipe.js
With path_max:
[pid 17785] lstat("/dev", {st_mode=S_IFDIR|0755, st_size=480, ...}) = 0
[pid 17786] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 17788] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 17788] readlink("/dev/stdin", "/proc/self/fd/0", 15) = 15
[pid 17785] lstat("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 17786] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 17788] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 17788] readlink("/proc/self", 0x7f2a6c000b40, 0) = -1 EINVAL (Invalid argument)
Without path_max:
[pid 18114] lstat("/dev", {st_mode=S_IFDIR|0755, st_size=480, ...}) = 0
[pid 18114] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 18114] readlink("/dev/stdin", "/proc/self/fd/0", 4096) = 15
[pid 18114] lstat("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18114] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 18114] readlink("/proc/self", "18114", 4096) = 5
[pid 18114] lstat("/proc/18114", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18114] lstat("/proc/18114/fd", {st_mode=S_IFDIR|0500, st_size=0, ...}) = 0
[pid 18114] lstat("/proc/18114/fd/0", {st_mode=S_IFLNK|0700, st_size=64, ...}) = 0
[pid 18114] readlink("/proc/18114/fd/0", "socket:[199607]", 4096) = 15
With this patch on top of path_max:
[pid 18433] lstat("/dev", {st_mode=S_IFDIR|0755, st_size=480, ...}) = 0
[pid 18433] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 18433] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 18433] readlink("/dev/stdin", "/proc/self/fd/0", 15) = 15
[pid 18433] lstat("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 18433] readlink("/proc/self", "18433", 256) = 5
[pid 18433] lstat("/proc/18433", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/18433/fd", {st_mode=S_IFDIR|0500, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/18433/fd/0", {st_mode=S_IFLNK|0700, st_size=64, ...}) = 0
[pid 18433] lstat("/proc/18433/fd/0", {st_mode=S_IFLNK|0700, st_size=64, ...}) = 0
[pid 18433] readlink("/proc/18433/fd/0", "socket:[191351]", 64) = 15
Reviewed-by: dod
Gbp-Pq: Name path_max_zero_st_size
Jérémy Lal [Wed, 28 Feb 2024 21:01:37 +0000 (21:01 +0000)]
export RES_OPTIONS = attempts:0 makes this test fail
Last-Update: 2017-10-12
Forwarded: not-needed
Gbp-Pq: Name disable_ipv6_test.patch
Luca BRUNO [Wed, 28 Feb 2024 21:01:37 +0000 (21:01 +0000)]
Workaround for test failure on old sparc kernels
Forwarded: not-needed
Gbp-Pq: Name sparc-skip-tcp_oob.diff
Graham Inggs [Wed, 28 Feb 2024 21:01:37 +0000 (21:01 +0000)]
libuv1 (1.48.0-1.1) unstable; urgency=medium
* Non-maintainer upload.
* Rename libraries for 64-bit time_t transition. Closes: #
1062694
[dgit import unpatched libuv1 1.48.0-1.1]
Graham Inggs [Wed, 28 Feb 2024 21:01:37 +0000 (21:01 +0000)]
Import libuv1_1.48.0-1.1.debian.tar.xz
[dgit import tarball libuv1 1.48.0-1.1 libuv1_1.48.0-1.1.debian.tar.xz]
Dominique Dumont [Wed, 14 Feb 2024 17:47:19 +0000 (18:47 +0100)]
Merge libuv1 (1.48.0-1) import into refs/heads/workingbranch
Dominique Dumont [Wed, 14 Feb 2024 17:47:19 +0000 (18:47 +0100)]
Import libuv1_1.48.0.orig.tar.gz
[dgit import orig libuv1_1.48.0.orig.tar.gz]
Dominique Dumont [Wed, 14 Feb 2024 17:47:19 +0000 (18:47 +0100)]
Skip multicast test
Forwarded: not-needed
Skip muliticast test to avoid this error on all build daemons:
ok 346 - udp_multicast_interface6
not ok 347 - udp_multicast_join
# timeout
# Output from process `udp_multicast_join`: (no output)
not ok 348 - udp_multicast_join6
# timeout
# Output from process `udp_multicast_join6`: (no output)
ok 349 - udp_multicast_ttl
Gbp-Pq: Name skip-multicast-test
Mauricio Faria de Oliveira [Wed, 14 Feb 2024 17:47:19 +0000 (18:47 +0100)]
fix undefined path_max for st_size zero
Bug-Ubuntu: https://bugs.launchpad.net/bugs/
1792647
Bug-Debian: https://bugs.debian.org/909011
Reviewed-by: dod
The downstream 'path_max' patch in Debian sets the buffer size
for readlink() to the 'st_size' value obtained with lstat().
However, it might be zero for some symlinks in /proc on Linux
(notably /proc/self) leading to readlink() failing with EINVAL.
$ strace -e lstat stat /proc/self 2>&1 \
| grep -e lstat -e File: -e Size:
lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
File: /proc/self -> 30875
Size: 0 Blocks: 0 IO Block: 1024 symbolic link
This causes readlink (tool) to files like /dev/stdin to fail,
which may link to /proc/self/fd/0 on containers or elsewhere.
Test-case:
ubuntu@cosmic:~/node$
$ strace -E LD_LIBRARY_PATH=/usr/local/lib/ -f -e lstat,readlink \
node test/parallel/test-fs-realpath-pipe.js
With path_max:
[pid 17785] lstat("/dev", {st_mode=S_IFDIR|0755, st_size=480, ...}) = 0
[pid 17786] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 17788] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 17788] readlink("/dev/stdin", "/proc/self/fd/0", 15) = 15
[pid 17785] lstat("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 17786] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 17788] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 17788] readlink("/proc/self", 0x7f2a6c000b40, 0) = -1 EINVAL (Invalid argument)
Without path_max:
[pid 18114] lstat("/dev", {st_mode=S_IFDIR|0755, st_size=480, ...}) = 0
[pid 18114] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 18114] readlink("/dev/stdin", "/proc/self/fd/0", 4096) = 15
[pid 18114] lstat("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18114] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 18114] readlink("/proc/self", "18114", 4096) = 5
[pid 18114] lstat("/proc/18114", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18114] lstat("/proc/18114/fd", {st_mode=S_IFDIR|0500, st_size=0, ...}) = 0
[pid 18114] lstat("/proc/18114/fd/0", {st_mode=S_IFLNK|0700, st_size=64, ...}) = 0
[pid 18114] readlink("/proc/18114/fd/0", "socket:[199607]", 4096) = 15
With this patch on top of path_max:
[pid 18433] lstat("/dev", {st_mode=S_IFDIR|0755, st_size=480, ...}) = 0
[pid 18433] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 18433] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 18433] readlink("/dev/stdin", "/proc/self/fd/0", 15) = 15
[pid 18433] lstat("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 18433] readlink("/proc/self", "18433", 256) = 5
[pid 18433] lstat("/proc/18433", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/18433/fd", {st_mode=S_IFDIR|0500, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/18433/fd/0", {st_mode=S_IFLNK|0700, st_size=64, ...}) = 0
[pid 18433] lstat("/proc/18433/fd/0", {st_mode=S_IFLNK|0700, st_size=64, ...}) = 0
[pid 18433] readlink("/proc/18433/fd/0", "socket:[191351]", 64) = 15
Reviewed-by: dod
Gbp-Pq: Name path_max_zero_st_size
Jérémy Lal [Wed, 14 Feb 2024 17:47:19 +0000 (18:47 +0100)]
export RES_OPTIONS = attempts:0 makes this test fail
Last-Update: 2017-10-12
Forwarded: not-needed
Gbp-Pq: Name disable_ipv6_test.patch
Luca BRUNO [Wed, 14 Feb 2024 17:47:19 +0000 (18:47 +0100)]
Workaround for test failure on old sparc kernels
Forwarded: not-needed
Gbp-Pq: Name sparc-skip-tcp_oob.diff
Dominique Dumont [Wed, 14 Feb 2024 17:47:19 +0000 (18:47 +0100)]
libuv1 (1.48.0-1) unstable; urgency=medium
[ Dominique Dumont ]
* new upstream version:
* Fix CVE-2024-24806 (Closes: #
1063484)
* copyright: update with cme
* refreshed patches
* rm patch lp2046442-linux-don-t-use-io_uring-...
* refreshed symbols file
[dgit import unpatched libuv1 1.48.0-1]
Dominique Dumont [Wed, 14 Feb 2024 17:47:19 +0000 (18:47 +0100)]
Import libuv1_1.48.0-1.debian.tar.xz
[dgit import tarball libuv1 1.48.0-1 libuv1_1.48.0-1.debian.tar.xz]
Dominique Dumont [Sat, 30 Dec 2023 17:32:28 +0000 (18:32 +0100)]
Merge libuv1 (1.46.0-3) import into refs/heads/workingbranch
Ben Noordhuis [Sat, 30 Dec 2023 17:32:28 +0000 (18:32 +0100)]
[PATCH] linux: don't use io_uring on pre-5.10.186 kernels (#4093)
Bug: https://github.com/libuv/libuv/issues/4089
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/libuv1/+bug/
2046442
Origin: upstream, https://github.com/libuv/libuv/commit/
50b53cbd0db8d4e7be06939a0976ff520e791d31
Applied-Upstream: v1.47.0
Fixes: https://github.com/libuv/libuv/issues/4089
thread busy-loops.
Gbp-Pq: Name lp2046442-linux-don-t-use-io_uring-on-pre-5.10.186-kernels-409.patch
Dominique Dumont [Sat, 30 Dec 2023 17:32:28 +0000 (18:32 +0100)]
Skip multicast test
Forwarded: not-needed
Skip muliticast test to avoid this error on all build daemons:
ok 346 - udp_multicast_interface6
not ok 347 - udp_multicast_join
# timeout
# Output from process `udp_multicast_join`: (no output)
not ok 348 - udp_multicast_join6
# timeout
# Output from process `udp_multicast_join6`: (no output)
ok 349 - udp_multicast_ttl
Gbp-Pq: Name skip-multicast-test
Mauricio Faria de Oliveira [Sat, 30 Dec 2023 17:32:28 +0000 (18:32 +0100)]
fix undefined path_max for st_size zero
Bug-Ubuntu: https://bugs.launchpad.net/bugs/
1792647
Bug-Debian: https://bugs.debian.org/909011
Reviewed-by: dod
The downstream 'path_max' patch in Debian sets the buffer size
for readlink() to the 'st_size' value obtained with lstat().
However, it might be zero for some symlinks in /proc on Linux
(notably /proc/self) leading to readlink() failing with EINVAL.
$ strace -e lstat stat /proc/self 2>&1 \
| grep -e lstat -e File: -e Size:
lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
File: /proc/self -> 30875
Size: 0 Blocks: 0 IO Block: 1024 symbolic link
This causes readlink (tool) to files like /dev/stdin to fail,
which may link to /proc/self/fd/0 on containers or elsewhere.
Test-case:
ubuntu@cosmic:~/node$
$ strace -E LD_LIBRARY_PATH=/usr/local/lib/ -f -e lstat,readlink \
node test/parallel/test-fs-realpath-pipe.js
With path_max:
[pid 17785] lstat("/dev", {st_mode=S_IFDIR|0755, st_size=480, ...}) = 0
[pid 17786] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 17788] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 17788] readlink("/dev/stdin", "/proc/self/fd/0", 15) = 15
[pid 17785] lstat("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 17786] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 17788] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 17788] readlink("/proc/self", 0x7f2a6c000b40, 0) = -1 EINVAL (Invalid argument)
Without path_max:
[pid 18114] lstat("/dev", {st_mode=S_IFDIR|0755, st_size=480, ...}) = 0
[pid 18114] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 18114] readlink("/dev/stdin", "/proc/self/fd/0", 4096) = 15
[pid 18114] lstat("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18114] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 18114] readlink("/proc/self", "18114", 4096) = 5
[pid 18114] lstat("/proc/18114", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18114] lstat("/proc/18114/fd", {st_mode=S_IFDIR|0500, st_size=0, ...}) = 0
[pid 18114] lstat("/proc/18114/fd/0", {st_mode=S_IFLNK|0700, st_size=64, ...}) = 0
[pid 18114] readlink("/proc/18114/fd/0", "socket:[199607]", 4096) = 15
With this patch on top of path_max:
[pid 18433] lstat("/dev", {st_mode=S_IFDIR|0755, st_size=480, ...}) = 0
[pid 18433] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 18433] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 18433] readlink("/dev/stdin", "/proc/self/fd/0", 15) = 15
[pid 18433] lstat("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 18433] readlink("/proc/self", "18433", 256) = 5
[pid 18433] lstat("/proc/18433", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/18433/fd", {st_mode=S_IFDIR|0500, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/18433/fd/0", {st_mode=S_IFLNK|0700, st_size=64, ...}) = 0
[pid 18433] lstat("/proc/18433/fd/0", {st_mode=S_IFLNK|0700, st_size=64, ...}) = 0
[pid 18433] readlink("/proc/18433/fd/0", "socket:[191351]", 64) = 15
Reviewed-by: dod
Gbp-Pq: Name path_max_zero_st_size
Jérémy Lal [Sat, 30 Dec 2023 17:32:28 +0000 (18:32 +0100)]
export RES_OPTIONS = attempts:0 makes this test fail
Last-Update: 2017-10-12
Forwarded: not-needed
Gbp-Pq: Name disable_ipv6_test.patch
Luca BRUNO [Sat, 30 Dec 2023 17:32:28 +0000 (18:32 +0100)]
Workaround for test failure on old sparc kernels
Forwarded: not-needed
Gbp-Pq: Name sparc-skip-tcp_oob.diff
Dominique Dumont [Sat, 30 Dec 2023 17:32:28 +0000 (18:32 +0100)]
libuv1 (1.46.0-3) unstable; urgency=medium
* add patch to fix build on kernel < 5.10.186.
Thanks to Simon Choppin and Ubuntu fot the patch (Closes:
1058743)
[dgit import unpatched libuv1 1.46.0-3]
Dominique Dumont [Sat, 30 Dec 2023 17:32:28 +0000 (18:32 +0100)]
Import libuv1_1.46.0-3.debian.tar.xz
[dgit import tarball libuv1 1.46.0-3 libuv1_1.46.0-3.debian.tar.xz]
Dominique Dumont [Sun, 15 Oct 2023 14:37:48 +0000 (15:37 +0100)]
Merge libuv1 (1.46.0-2) import into refs/heads/workingbranch
Dominique Dumont [Sun, 15 Oct 2023 14:37:48 +0000 (15:37 +0100)]
Skip multicast test
Forwarded: not-needed
Skip muliticast test to avoid this error on all build daemons:
ok 346 - udp_multicast_interface6
not ok 347 - udp_multicast_join
# timeout
# Output from process `udp_multicast_join`: (no output)
not ok 348 - udp_multicast_join6
# timeout
# Output from process `udp_multicast_join6`: (no output)
ok 349 - udp_multicast_ttl
Gbp-Pq: Name skip-multicast-test
Mauricio Faria de Oliveira [Sun, 15 Oct 2023 14:37:48 +0000 (15:37 +0100)]
fix undefined path_max for st_size zero
Bug-Ubuntu: https://bugs.launchpad.net/bugs/
1792647
Bug-Debian: https://bugs.debian.org/909011
Reviewed-by: dod
The downstream 'path_max' patch in Debian sets the buffer size
for readlink() to the 'st_size' value obtained with lstat().
However, it might be zero for some symlinks in /proc on Linux
(notably /proc/self) leading to readlink() failing with EINVAL.
$ strace -e lstat stat /proc/self 2>&1 \
| grep -e lstat -e File: -e Size:
lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
File: /proc/self -> 30875
Size: 0 Blocks: 0 IO Block: 1024 symbolic link
This causes readlink (tool) to files like /dev/stdin to fail,
which may link to /proc/self/fd/0 on containers or elsewhere.
Test-case:
ubuntu@cosmic:~/node$
$ strace -E LD_LIBRARY_PATH=/usr/local/lib/ -f -e lstat,readlink \
node test/parallel/test-fs-realpath-pipe.js
With path_max:
[pid 17785] lstat("/dev", {st_mode=S_IFDIR|0755, st_size=480, ...}) = 0
[pid 17786] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 17788] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 17788] readlink("/dev/stdin", "/proc/self/fd/0", 15) = 15
[pid 17785] lstat("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 17786] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 17788] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 17788] readlink("/proc/self", 0x7f2a6c000b40, 0) = -1 EINVAL (Invalid argument)
Without path_max:
[pid 18114] lstat("/dev", {st_mode=S_IFDIR|0755, st_size=480, ...}) = 0
[pid 18114] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 18114] readlink("/dev/stdin", "/proc/self/fd/0", 4096) = 15
[pid 18114] lstat("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18114] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 18114] readlink("/proc/self", "18114", 4096) = 5
[pid 18114] lstat("/proc/18114", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18114] lstat("/proc/18114/fd", {st_mode=S_IFDIR|0500, st_size=0, ...}) = 0
[pid 18114] lstat("/proc/18114/fd/0", {st_mode=S_IFLNK|0700, st_size=64, ...}) = 0
[pid 18114] readlink("/proc/18114/fd/0", "socket:[199607]", 4096) = 15
With this patch on top of path_max:
[pid 18433] lstat("/dev", {st_mode=S_IFDIR|0755, st_size=480, ...}) = 0
[pid 18433] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 18433] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 18433] readlink("/dev/stdin", "/proc/self/fd/0", 15) = 15
[pid 18433] lstat("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 18433] readlink("/proc/self", "18433", 256) = 5
[pid 18433] lstat("/proc/18433", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/18433/fd", {st_mode=S_IFDIR|0500, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/18433/fd/0", {st_mode=S_IFLNK|0700, st_size=64, ...}) = 0
[pid 18433] lstat("/proc/18433/fd/0", {st_mode=S_IFLNK|0700, st_size=64, ...}) = 0
[pid 18433] readlink("/proc/18433/fd/0", "socket:[191351]", 64) = 15
Reviewed-by: dod
Gbp-Pq: Name path_max_zero_st_size
Jérémy Lal [Sun, 15 Oct 2023 14:37:48 +0000 (15:37 +0100)]
export RES_OPTIONS = attempts:0 makes this test fail
Last-Update: 2017-10-12
Forwarded: not-needed
Gbp-Pq: Name disable_ipv6_test.patch
Luca BRUNO [Sun, 15 Oct 2023 14:37:48 +0000 (15:37 +0100)]
Workaround for test failure on old sparc kernels
Forwarded: not-needed
Gbp-Pq: Name sparc-skip-tcp_oob.diff
Dominique Dumont [Sun, 15 Oct 2023 14:37:48 +0000 (15:37 +0100)]
libuv1 (1.46.0-2) unstable; urgency=medium
* re-release to unstable
[dgit import unpatched libuv1 1.46.0-2]
Dominique Dumont [Sun, 15 Oct 2023 14:37:48 +0000 (15:37 +0100)]
Import libuv1_1.46.0-2.debian.tar.xz
[dgit import tarball libuv1 1.46.0-2 libuv1_1.46.0-2.debian.tar.xz]
Dominique Dumont [Tue, 5 Sep 2023 16:34:19 +0000 (18:34 +0200)]
Import libuv1_1.46.0.orig.tar.gz
[dgit import orig libuv1_1.46.0.orig.tar.gz]
Dominique Dumont [Tue, 5 Sep 2023 16:34:19 +0000 (17:34 +0100)]
Import libuv1_1.46.0.orig.tar.gz
[dgit import orig libuv1_1.46.0.orig.tar.gz]
Dominique Dumont [Thu, 28 Jul 2022 16:35:31 +0000 (17:35 +0100)]
Merge libuv1 (1.44.2-1) import into refs/heads/workingbranch
Dominique Dumont [Thu, 28 Jul 2022 16:35:31 +0000 (17:35 +0100)]
Skip multicast test
Forwarded: not-needed
Skip muliticast test to avoid this error on all build daemons:
ok 346 - udp_multicast_interface6
not ok 347 - udp_multicast_join
# timeout
# Output from process `udp_multicast_join`: (no output)
not ok 348 - udp_multicast_join6
# timeout
# Output from process `udp_multicast_join6`: (no output)
ok 349 - udp_multicast_ttl
Gbp-Pq: Name skip-multicast-test
Mauricio Faria de Oliveira [Thu, 28 Jul 2022 16:35:31 +0000 (17:35 +0100)]
fix undefined path_max for st_size zero
Bug-Ubuntu: https://bugs.launchpad.net/bugs/
1792647
Bug-Debian: https://bugs.debian.org/909011
Reviewed-by: dod
The downstream 'path_max' patch in Debian sets the buffer size
for readlink() to the 'st_size' value obtained with lstat().
However, it might be zero for some symlinks in /proc on Linux
(notably /proc/self) leading to readlink() failing with EINVAL.
$ strace -e lstat stat /proc/self 2>&1 \
| grep -e lstat -e File: -e Size:
lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
File: /proc/self -> 30875
Size: 0 Blocks: 0 IO Block: 1024 symbolic link
This causes readlink (tool) to files like /dev/stdin to fail,
which may link to /proc/self/fd/0 on containers or elsewhere.
Test-case:
ubuntu@cosmic:~/node$
$ strace -E LD_LIBRARY_PATH=/usr/local/lib/ -f -e lstat,readlink \
node test/parallel/test-fs-realpath-pipe.js
With path_max:
[pid 17785] lstat("/dev", {st_mode=S_IFDIR|0755, st_size=480, ...}) = 0
[pid 17786] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 17788] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 17788] readlink("/dev/stdin", "/proc/self/fd/0", 15) = 15
[pid 17785] lstat("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 17786] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 17788] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 17788] readlink("/proc/self", 0x7f2a6c000b40, 0) = -1 EINVAL (Invalid argument)
Without path_max:
[pid 18114] lstat("/dev", {st_mode=S_IFDIR|0755, st_size=480, ...}) = 0
[pid 18114] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 18114] readlink("/dev/stdin", "/proc/self/fd/0", 4096) = 15
[pid 18114] lstat("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18114] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 18114] readlink("/proc/self", "18114", 4096) = 5
[pid 18114] lstat("/proc/18114", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18114] lstat("/proc/18114/fd", {st_mode=S_IFDIR|0500, st_size=0, ...}) = 0
[pid 18114] lstat("/proc/18114/fd/0", {st_mode=S_IFLNK|0700, st_size=64, ...}) = 0
[pid 18114] readlink("/proc/18114/fd/0", "socket:[199607]", 4096) = 15
With this patch on top of path_max:
[pid 18433] lstat("/dev", {st_mode=S_IFDIR|0755, st_size=480, ...}) = 0
[pid 18433] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 18433] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 18433] readlink("/dev/stdin", "/proc/self/fd/0", 15) = 15
[pid 18433] lstat("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 18433] readlink("/proc/self", "18433", 256) = 5
[pid 18433] lstat("/proc/18433", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/18433/fd", {st_mode=S_IFDIR|0500, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/18433/fd/0", {st_mode=S_IFLNK|0700, st_size=64, ...}) = 0
[pid 18433] lstat("/proc/18433/fd/0", {st_mode=S_IFLNK|0700, st_size=64, ...}) = 0
[pid 18433] readlink("/proc/18433/fd/0", "socket:[191351]", 64) = 15
Reviewed-by: dod
Gbp-Pq: Name path_max_zero_st_size
Jérémy Lal [Thu, 28 Jul 2022 16:35:31 +0000 (17:35 +0100)]
export RES_OPTIONS = attempts:0 makes this test fail
Last-Update: 2017-10-12
Forwarded: not-needed
Gbp-Pq: Name disable_ipv6_test.patch
Luca BRUNO [Thu, 28 Jul 2022 16:35:31 +0000 (17:35 +0100)]
Workaround for test failure on old sparc kernels
Forwarded: not-needed
Gbp-Pq: Name sparc-skip-tcp_oob.diff
Dominique Dumont [Thu, 28 Jul 2022 16:35:31 +0000 (17:35 +0100)]
libuv1 (1.44.2-1) unstable; urgency=medium
* new upstream version
* copyright: updated with cme
* remove pristine-tar from build process
* update symbols file
[dgit import unpatched libuv1 1.44.2-1]
Dominique Dumont [Thu, 28 Jul 2022 16:35:31 +0000 (17:35 +0100)]
Import libuv1_1.44.2.orig.tar.gz
[dgit import orig libuv1_1.44.2.orig.tar.gz]
Dominique Dumont [Thu, 28 Jul 2022 16:35:31 +0000 (17:35 +0100)]
Import libuv1_1.44.2-1.debian.tar.xz
[dgit import tarball libuv1 1.44.2-1 libuv1_1.44.2-1.debian.tar.xz]
Dominique Dumont [Wed, 16 Mar 2022 18:16:11 +0000 (18:16 +0000)]
Merge libuv1 (1.44.1-2) import into refs/heads/workingbranch
Dominique Dumont [Wed, 16 Mar 2022 18:16:11 +0000 (18:16 +0000)]
Skip multicast test
Forwarded: not-needed
Skip muliticast test to avoid this error on all build daemons:
ok 346 - udp_multicast_interface6
not ok 347 - udp_multicast_join
# timeout
# Output from process `udp_multicast_join`: (no output)
not ok 348 - udp_multicast_join6
# timeout
# Output from process `udp_multicast_join6`: (no output)
ok 349 - udp_multicast_ttl
Gbp-Pq: Name skip-multicast-test
Mauricio Faria de Oliveira [Wed, 16 Mar 2022 18:16:11 +0000 (18:16 +0000)]
fix undefined path_max for st_size zero
Bug-Ubuntu: https://bugs.launchpad.net/bugs/
1792647
Bug-Debian: https://bugs.debian.org/909011
Reviewed-by: dod
The downstream 'path_max' patch in Debian sets the buffer size
for readlink() to the 'st_size' value obtained with lstat().
However, it might be zero for some symlinks in /proc on Linux
(notably /proc/self) leading to readlink() failing with EINVAL.
$ strace -e lstat stat /proc/self 2>&1 \
| grep -e lstat -e File: -e Size:
lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
File: /proc/self -> 30875
Size: 0 Blocks: 0 IO Block: 1024 symbolic link
This causes readlink (tool) to files like /dev/stdin to fail,
which may link to /proc/self/fd/0 on containers or elsewhere.
Test-case:
ubuntu@cosmic:~/node$
$ strace -E LD_LIBRARY_PATH=/usr/local/lib/ -f -e lstat,readlink \
node test/parallel/test-fs-realpath-pipe.js
With path_max:
[pid 17785] lstat("/dev", {st_mode=S_IFDIR|0755, st_size=480, ...}) = 0
[pid 17786] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 17788] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 17788] readlink("/dev/stdin", "/proc/self/fd/0", 15) = 15
[pid 17785] lstat("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 17786] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 17788] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 17788] readlink("/proc/self", 0x7f2a6c000b40, 0) = -1 EINVAL (Invalid argument)
Without path_max:
[pid 18114] lstat("/dev", {st_mode=S_IFDIR|0755, st_size=480, ...}) = 0
[pid 18114] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 18114] readlink("/dev/stdin", "/proc/self/fd/0", 4096) = 15
[pid 18114] lstat("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18114] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 18114] readlink("/proc/self", "18114", 4096) = 5
[pid 18114] lstat("/proc/18114", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18114] lstat("/proc/18114/fd", {st_mode=S_IFDIR|0500, st_size=0, ...}) = 0
[pid 18114] lstat("/proc/18114/fd/0", {st_mode=S_IFLNK|0700, st_size=64, ...}) = 0
[pid 18114] readlink("/proc/18114/fd/0", "socket:[199607]", 4096) = 15
With this patch on top of path_max:
[pid 18433] lstat("/dev", {st_mode=S_IFDIR|0755, st_size=480, ...}) = 0
[pid 18433] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 18433] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 18433] readlink("/dev/stdin", "/proc/self/fd/0", 15) = 15
[pid 18433] lstat("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 18433] readlink("/proc/self", "18433", 256) = 5
[pid 18433] lstat("/proc/18433", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/18433/fd", {st_mode=S_IFDIR|0500, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/18433/fd/0", {st_mode=S_IFLNK|0700, st_size=64, ...}) = 0
[pid 18433] lstat("/proc/18433/fd/0", {st_mode=S_IFLNK|0700, st_size=64, ...}) = 0
[pid 18433] readlink("/proc/18433/fd/0", "socket:[191351]", 64) = 15
Reviewed-by: dod
Gbp-Pq: Name path_max_zero_st_size
Jérémy Lal [Wed, 16 Mar 2022 18:16:11 +0000 (18:16 +0000)]
export RES_OPTIONS = attempts:0 makes this test fail
Last-Update: 2017-10-12
Forwarded: not-needed
Gbp-Pq: Name disable_ipv6_test.patch
Luca BRUNO [Wed, 16 Mar 2022 18:16:11 +0000 (18:16 +0000)]
Workaround for test failure on old sparc kernels
Forwarded: not-needed
Gbp-Pq: Name sparc-skip-tcp_oob.diff
Dominique Dumont [Wed, 16 Mar 2022 18:16:11 +0000 (18:16 +0000)]
libuv1 (1.44.1-2) unstable; urgency=medium
* update symbols file to fix hurd packaging
[dgit import unpatched libuv1 1.44.1-2]
Dominique Dumont [Wed, 16 Mar 2022 18:16:11 +0000 (18:16 +0000)]
Import libuv1_1.44.1-2.debian.tar.xz
[dgit import tarball libuv1 1.44.1-2 libuv1_1.44.1-2.debian.tar.xz]
Dominique Dumont [Sun, 13 Mar 2022 18:24:56 +0000 (18:24 +0000)]
Import libuv1_1.44.1.orig.tar.gz
[dgit import orig libuv1_1.44.1.orig.tar.gz]
Dominique Dumont [Sun, 4 Jul 2021 07:43:38 +0000 (08:43 +0100)]
Merge libuv1 (1.40.0-2) import into refs/heads/workingbranch
Dominique Dumont [Sun, 4 Jul 2021 07:43:38 +0000 (08:43 +0100)]
Fix CVE-2021-22918
Bug-Debian: https://bugs.debian.org/990561
Forwarded: not-needed
Origin: https://github.com/nodejs/node/commit/
d33aead28bcec32a2a450f884907a6d971631829
Snatched from original commit:
Original commit message:
idna: fix OOB read in punycode decoder
Reported by Eric Sesterhenn in collaboration with
Cure53 and ExpressVPN.
Reported-By: Eric Sesterhenn <eric.sesterhenn@x41-dsec.de>
PR-URL: https://github.com/libuv/libuv-private/pull/1
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
CVE-ID: CVE-2021-22918
Refs: https://hackerone.com/reports/
1209681
PR-URL: nodejs-private/node-private#267
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Beth Griggs <bgriggs@redhat.com>
Gbp-Pq: Name fix-cve-2021-22918
Dominique Dumont [Sun, 4 Jul 2021 07:43:38 +0000 (08:43 +0100)]
Skip multicast test
Forwarded: not-needed
Skip muliticast test to avoid this error on all build daemons:
ok 346 - udp_multicast_interface6
not ok 347 - udp_multicast_join
# timeout
# Output from process `udp_multicast_join`: (no output)
not ok 348 - udp_multicast_join6
# timeout
# Output from process `udp_multicast_join6`: (no output)
ok 349 - udp_multicast_ttl
Gbp-Pq: Name skip-multicast-test
Mauricio Faria de Oliveira [Sun, 4 Jul 2021 07:43:38 +0000 (08:43 +0100)]
fix undefined path_max for st_size zero
Bug-Ubuntu: https://bugs.launchpad.net/bugs/
1792647
Bug-Debian: https://bugs.debian.org/909011
Reviewed-by: dod
The downstream 'path_max' patch in Debian sets the buffer size
for readlink() to the 'st_size' value obtained with lstat().
However, it might be zero for some symlinks in /proc on Linux
(notably /proc/self) leading to readlink() failing with EINVAL.
$ strace -e lstat stat /proc/self 2>&1 \
| grep -e lstat -e File: -e Size:
lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
File: /proc/self -> 30875
Size: 0 Blocks: 0 IO Block: 1024 symbolic link
This causes readlink (tool) to files like /dev/stdin to fail,
which may link to /proc/self/fd/0 on containers or elsewhere.
Test-case:
ubuntu@cosmic:~/node$
$ strace -E LD_LIBRARY_PATH=/usr/local/lib/ -f -e lstat,readlink \
node test/parallel/test-fs-realpath-pipe.js
With path_max:
[pid 17785] lstat("/dev", {st_mode=S_IFDIR|0755, st_size=480, ...}) = 0
[pid 17786] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 17788] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 17788] readlink("/dev/stdin", "/proc/self/fd/0", 15) = 15
[pid 17785] lstat("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 17786] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 17788] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 17788] readlink("/proc/self", 0x7f2a6c000b40, 0) = -1 EINVAL (Invalid argument)
Without path_max:
[pid 18114] lstat("/dev", {st_mode=S_IFDIR|0755, st_size=480, ...}) = 0
[pid 18114] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 18114] readlink("/dev/stdin", "/proc/self/fd/0", 4096) = 15
[pid 18114] lstat("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18114] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 18114] readlink("/proc/self", "18114", 4096) = 5
[pid 18114] lstat("/proc/18114", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18114] lstat("/proc/18114/fd", {st_mode=S_IFDIR|0500, st_size=0, ...}) = 0
[pid 18114] lstat("/proc/18114/fd/0", {st_mode=S_IFLNK|0700, st_size=64, ...}) = 0
[pid 18114] readlink("/proc/18114/fd/0", "socket:[199607]", 4096) = 15
With this patch on top of path_max:
[pid 18433] lstat("/dev", {st_mode=S_IFDIR|0755, st_size=480, ...}) = 0
[pid 18433] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 18433] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 18433] readlink("/dev/stdin", "/proc/self/fd/0", 15) = 15
[pid 18433] lstat("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 18433] readlink("/proc/self", "18433", 256) = 5
[pid 18433] lstat("/proc/18433", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/18433/fd", {st_mode=S_IFDIR|0500, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/18433/fd/0", {st_mode=S_IFLNK|0700, st_size=64, ...}) = 0
[pid 18433] lstat("/proc/18433/fd/0", {st_mode=S_IFLNK|0700, st_size=64, ...}) = 0
[pid 18433] readlink("/proc/18433/fd/0", "socket:[191351]", 64) = 15
Reviewed-by: dod
Gbp-Pq: Name path_max_zero_st_size
Jérémy Lal [Sun, 4 Jul 2021 07:43:38 +0000 (08:43 +0100)]
export RES_OPTIONS = attempts:0 makes this test fail
Last-Update: 2017-10-12
Forwarded: not-needed
Gbp-Pq: Name disable_ipv6_test.patch
Luca BRUNO [Sun, 4 Jul 2021 07:43:38 +0000 (08:43 +0100)]
Workaround for test failure on old sparc kernels
Forwarded: not-needed
Gbp-Pq: Name sparc-skip-tcp_oob.diff
Dominique Dumont [Sun, 4 Jul 2021 07:43:38 +0000 (08:43 +0100)]
libuv1 (1.40.0-2) unstable; urgency=medium
* add patch for CVE-2021-22918 (Closes: #990561)
[dgit import unpatched libuv1 1.40.0-2]
Dominique Dumont [Sun, 4 Jul 2021 07:43:38 +0000 (08:43 +0100)]
Import libuv1_1.40.0-2.debian.tar.xz
[dgit import tarball libuv1 1.40.0-2 libuv1_1.40.0-2.debian.tar.xz]
Dominique Dumont [Sat, 31 Oct 2020 17:43:46 +0000 (17:43 +0000)]
Merge libuv1 (1.40.0-1) import into refs/heads/workingbranch
Dominique Dumont [Sat, 31 Oct 2020 17:43:46 +0000 (17:43 +0000)]
Import libuv1_1.40.0.orig.tar.gz
[dgit import orig libuv1_1.40.0.orig.tar.gz]
Dominique Dumont [Sat, 31 Oct 2020 17:43:46 +0000 (17:43 +0000)]
Skip multicast test
Forwarded: not-needed
Skip muliticast test to avoid this error on all build daemons:
ok 346 - udp_multicast_interface6
not ok 347 - udp_multicast_join
# timeout
# Output from process `udp_multicast_join`: (no output)
not ok 348 - udp_multicast_join6
# timeout
# Output from process `udp_multicast_join6`: (no output)
ok 349 - udp_multicast_ttl
Gbp-Pq: Name skip-multicast-test
Mauricio Faria de Oliveira [Sat, 31 Oct 2020 17:43:46 +0000 (17:43 +0000)]
fix undefined path_max for st_size zero
Bug-Ubuntu: https://bugs.launchpad.net/bugs/
1792647
Bug-Debian: https://bugs.debian.org/909011
Reviewed-by: dod
The downstream 'path_max' patch in Debian sets the buffer size
for readlink() to the 'st_size' value obtained with lstat().
However, it might be zero for some symlinks in /proc on Linux
(notably /proc/self) leading to readlink() failing with EINVAL.
$ strace -e lstat stat /proc/self 2>&1 \
| grep -e lstat -e File: -e Size:
lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
File: /proc/self -> 30875
Size: 0 Blocks: 0 IO Block: 1024 symbolic link
This causes readlink (tool) to files like /dev/stdin to fail,
which may link to /proc/self/fd/0 on containers or elsewhere.
Test-case:
ubuntu@cosmic:~/node$
$ strace -E LD_LIBRARY_PATH=/usr/local/lib/ -f -e lstat,readlink \
node test/parallel/test-fs-realpath-pipe.js
With path_max:
[pid 17785] lstat("/dev", {st_mode=S_IFDIR|0755, st_size=480, ...}) = 0
[pid 17786] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 17788] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 17788] readlink("/dev/stdin", "/proc/self/fd/0", 15) = 15
[pid 17785] lstat("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 17786] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 17788] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 17788] readlink("/proc/self", 0x7f2a6c000b40, 0) = -1 EINVAL (Invalid argument)
Without path_max:
[pid 18114] lstat("/dev", {st_mode=S_IFDIR|0755, st_size=480, ...}) = 0
[pid 18114] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 18114] readlink("/dev/stdin", "/proc/self/fd/0", 4096) = 15
[pid 18114] lstat("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18114] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 18114] readlink("/proc/self", "18114", 4096) = 5
[pid 18114] lstat("/proc/18114", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18114] lstat("/proc/18114/fd", {st_mode=S_IFDIR|0500, st_size=0, ...}) = 0
[pid 18114] lstat("/proc/18114/fd/0", {st_mode=S_IFLNK|0700, st_size=64, ...}) = 0
[pid 18114] readlink("/proc/18114/fd/0", "socket:[199607]", 4096) = 15
With this patch on top of path_max:
[pid 18433] lstat("/dev", {st_mode=S_IFDIR|0755, st_size=480, ...}) = 0
[pid 18433] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 18433] lstat("/dev/stdin", {st_mode=S_IFLNK|0777, st_size=15, ...}) = 0
[pid 18433] readlink("/dev/stdin", "/proc/self/fd/0", 15) = 15
[pid 18433] lstat("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/self", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
[pid 18433] readlink("/proc/self", "18433", 256) = 5
[pid 18433] lstat("/proc/18433", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/18433/fd", {st_mode=S_IFDIR|0500, st_size=0, ...}) = 0
[pid 18433] lstat("/proc/18433/fd/0", {st_mode=S_IFLNK|0700, st_size=64, ...}) = 0
[pid 18433] lstat("/proc/18433/fd/0", {st_mode=S_IFLNK|0700, st_size=64, ...}) = 0
[pid 18433] readlink("/proc/18433/fd/0", "socket:[191351]", 64) = 15
Reviewed-by: dod
Gbp-Pq: Name path_max_zero_st_size
Jérémy Lal [Sat, 31 Oct 2020 17:43:46 +0000 (17:43 +0000)]
export RES_OPTIONS = attempts:0 makes this test fail
Last-Update: 2017-10-12
Forwarded: not-needed
Gbp-Pq: Name disable_ipv6_test.patch
Luca BRUNO [Sat, 31 Oct 2020 17:43:46 +0000 (17:43 +0000)]
Workaround for test failure on old sparc kernels
Forwarded: not-needed
Gbp-Pq: Name sparc-skip-tcp_oob.diff
Dominique Dumont [Sat, 31 Oct 2020 17:43:46 +0000 (17:43 +0000)]
libuv1 (1.40.0-1) unstable; urgency=medium
* new upstream version
* update copyright with cme
* refreshed patch
* update symbol file
[dgit import unpatched libuv1 1.40.0-1]
Dominique Dumont [Sat, 31 Oct 2020 17:43:46 +0000 (17:43 +0000)]
Import libuv1_1.40.0-1.debian.tar.xz
[dgit import tarball libuv1 1.40.0-1 libuv1_1.40.0-1.debian.tar.xz]
Luca Bruno [Sun, 23 Oct 2016 13:36:45 +0000 (14:36 +0100)]
test: skip tty_pty test if pty is not available
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
Forwarded: yes, accepted already: https://github.com/libuv/libuv/pull/919
Last-Update: Sun, 19 Jun 2016 18:20:53 +0200
Do not let `tty_pty` test fail if no terminals are available
to `openpty()`.
Gbp-Pq: Name skip_test_if_no_pty.patch
Jérémy Lal [Sun, 23 Oct 2016 13:36:45 +0000 (14:36 +0100)]
kfreebsd port
Last-Update: 2015-09-19
Forwarded: not yet
===================================================================
Gbp-Pq: Name kfreebsd.patch
Luca BRUNO [Sun, 23 Oct 2016 13:36:45 +0000 (14:36 +0100)]
Workaround for test failure on old sparc kernels
Forwarded: not-needed
Gbp-Pq: Name sparc-skip-tcp_oob.diff
Luca Bruno [Tue, 12 May 2015 20:04:35 +0000 (22:04 +0200)]
[PATCH] unix: use libc-provided epoll_pwait wrapper
Bug-Debian: https://bugs.debian.org/841354
Signed-off-by: Luca Bruno <lucab@debian.org>
We now use epoll_pwait() wrapper from libc, which takes care
of passing proper sigset_t size to kernel.
This is more portable, as some arch have a larger sigmask and
kernel explicitely checks size parameter to match sizeof(sigset_t).
Spotted as a uv_loop_configure regression on MIPS.
This fixes #335.
Many thanks to Tobias Leich who amended this
patch to fix #841354
Gbp-Pq: Name mips-epoll_pwait.diff
Mattia Rizzolo [Sun, 23 Oct 2016 13:36:45 +0000 (14:36 +0100)]
libuv1 (1.9.1-3) unstable; urgency=medium
* Team upload.
* Make libuv1-dev libkvm-dev on kfreebsd-any. (Closes: #834563)
* Bump Standards-Version to 3.9.8, no changes needed.
* Add patch from upstream to don't fail the build if /dev/pty is not present.
[dgit import unpatched libuv1 1.9.1-3]
Mattia Rizzolo [Sun, 23 Oct 2016 13:36:45 +0000 (14:36 +0100)]
Import libuv1_1.9.1-3.debian.tar.xz
[dgit import tarball libuv1 1.9.1-3 libuv1_1.9.1-3.debian.tar.xz]
Luca Bruno [Sun, 29 May 2016 17:29:08 +0000 (18:29 +0100)]
Import libuv1_1.9.1.orig.tar.gz
[dgit import orig libuv1_1.9.1.orig.tar.gz]