From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=quarantine dis=none) header.from=icloud.com Authentication-Results: passt.top; dkim=pass (2048-bit key; unprotected) header.d=icloud.com header.i=@icloud.com header.a=rsa-sha256 header.s=1a1hai header.b=V1KPjo/0; dkim-atps=neutral Received: from outbound.ms.icloud.com (ms-2001h-snip6-10.eps.apple.com [IPv6:2a01:b747:3002:203::50]) by passt.top (Postfix) with ESMTPS id 705625A0265 for ; Thu, 06 Aug 2026 14:06:19 +0200 (CEST) Received: from outbound.ms.icloud.com (unknown [127.0.0.2]) by p00-icloudmta-asmtp-us-west-3a-100-percent-4 (Postfix) with ESMTPS id 12A1318000C7 for ; Thu, 06 Aug 2026 12:06:13 +0000 (UTC) X-ICL-RepId: 019fd6f7-86b6-7b52-8b32-f06bc16447e8 X-ICL-Out-Info: HUtFAUMEWwJACUgBTUQeDx5WFlZNRAJCTQ1NHV4FRQNBF0kCVBcOVk1LFlZDXARHMFAbXwJCDxwTVhUTC1NWWxNVF0YJGQhdHRkKUFAGS1oVVRcOAkIfUB9MFldDWhgcGVoUXBhTRVEfVFhDGUVWaUELTx1dGVscQmRYVwkKAlEcVg1XQ1QEX1BUEVdQC1MFSEhOWQdBHEVeThQeH1kOHBtWDXMEVAddBV1WUAJaVRIEQAhWUF4IXh9MHA== Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1786017978; x=1788609978; bh=n735nRgAWq/BQguIkGvrcrpHH1ukVf3I6QmSYKOv7Ps=; h=Date:Message-ID:From:To:Subject:MIME-Version:Content-Type:x-icloud-hme; b=V1KPjo/0JNWJUxImPJS+AspNRWMiaXLC1gsj6jAhmNLqwZtynK+vYqAxsse6Nw2Jo5EkV+kj0orHA63Kylzmwj2RBSUbvcQMKUFLrpKFZDrJ9Nai0zDAK6Ce6hqNE6B3C6cRerzf4jfNGElQ/5rJPSPDue362cfbXH5RBHkk0aYaL3irsqauyskbl60IOYgL60WG0AYpfau29G9fjhDfk/gJoQ8ZCxCp0L8csTNEXtT/qI0FumY+ybDNMm5QrzL7DeTp0AyT00Hia+/Sffi9sD+xAqUVpbX/B8lkLDI68VHBM8VXiGuxJ1Qtfj/AjdITmMrGRGpnf2R5y2l42hyfsQ== Received: from cat-v.icloud.com (unknown [17.57.154.37]) by p00-icloudmta-asmtp-us-west-3a-100-percent-4 (Postfix) with ESMTPSA id 96AC418018C0 for ; Thu, 06 Aug 2026 12:06:12 +0000 (UTC) Date: Thu, 06 Aug 2026 20:06:07 +0800 Message-ID: <878q6jjvww.wl-rne.kou@icloud.com> From: Huang Jing To: passt-dev@passt.top Subject: Patch for the close_range() musl build failure User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/30.2 (x86_64-pc-linux-musl) MULE/6.0 (HANACHIRUSATO) X-Face: "0XTV&77+1.L8mei_jIv?,$SI9YMI_L16Iv!+nC/as*WE|xh_Cz]cX\.kyAyE:yR!u)"H{;QZo'_9@M.+iEKMPM2PM0Km|k\+HA2@a>eTdL"}b4H~5fcj8XFtvcHRLa*",9{Nc*>!)>hf>f|gO}8rA[>|.#IL#IBHv'?kRAiLM@A>|R/&~C\:.0A{l`7W0D2r_$Iob;)7VZiR*!uN\4n#H<](bi4a/;b'II5>qmb;SG]=Glv2hD5%]MoElN'%/FpudX/LQ^%Cd2(.~iKi&{ MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: multipart/mixed; boundary="Multipart_Thu_Aug__6_20:06:07_2026-1" X-Proofpoint-GUID: ISNeFqRtee1e26dp5azfD4lrmaVDKpCf X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODA2MDA5NSBTYWx0ZWRfX227KUf3FogwN jbjNm3ACEqvfWIdTnewCpzlELb8yFy4ZNwFIqkNN05LfPGLqygN7BkcbtJcjK+pvnwWq5B30rJC QO9vlDUCCWmbY5CHVCQzRMznXfaoQWLjC7DyaVjf+Y1PymCrf7zu21cGRKQ5PvUNTATZzalmLw4 e9j30rSlM2GgJ74PMYoHPZujD/trDrnErszTtB9uwNowsZyisKqka5ZRKCrWWEMIqgZ80nPUHNF LYmyon/0yePk7zjyLxustZ4l34o3Pd09pfHSL9RTlV/xlF0a7q1FUf3ecdM71yzhKKZAeoRYzt+ NSBCF7Em2JxwGUOQRvrH+FQA03d4RYfT4QP99WrWbs7kg+MzyjhcH9D4TP+koQ= X-Proofpoint-ORIG-GUID: ISNeFqRtee1e26dp5azfD4lrmaVDKpCf X-Authority-Info-Out: v=2.4 cv=Y9z1cxeN c=1 sm=1 tr=0 ts=6a7478b6 cx=c_apl:c_pps:t_out a=qkKslKyYc0ctBTeLUVfTFg==:117 a=Sv0fKeRqtYgA:10 a=x7bEGLp0ZPQA:10 a=EW7FI4N_MPcA:10 a=VkNPw1HP01LnGYTKEx00:22 a=TpIS7SLPK1X13lNlT7EA:9 a=CjuIK1q_8ugA:10 a=EQDHajDGJMjvC1On6nYA:9 a=B2y7HmGcmWMA:10 X-MailFrom: rne.kou@icloud.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation Message-ID-Hash: UORGADXGGVV2MTWGV6F4IFRLGDG5FKZY X-Message-ID-Hash: UORGADXGGVV2MTWGV6F4IFRLGDG5FKZY X-Mailman-Approved-At: Thu, 06 Aug 2026 14:44:52 +0200 X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --Multipart_Thu_Aug__6_20:06:07_2026-1 Content-Type: text/plain; charset=US-ASCII Please see attached patch. --Multipart_Thu_Aug__6_20:06:07_2026-1 Content-Type: application/octet-stream; type=patch; name="0001-isolation-Include-linux_dep.h-for-close_range.patch" Content-Disposition: attachment; filename="0001-isolation-Include-linux_dep.h-for-close_range.patch" Content-Transfer-Encoding: 7bit >From 25831e518c9227a31b75f2c1eb2e620fd4c5d049 Mon Sep 17 00:00:00 2001 From: RadioNoiseE Date: Thu, 6 Aug 2026 19:58:45 +0800 Subject: [PATCH] isolation: Include linux_dep.h for close_range() Now that close_open_files() has been moved, linux_dep.h can be safely removed from util.c. Signed-off-by: Jing Huang --- Makefile | 4 ++-- isolation.c | 1 + util.c | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 77474d6..b315242 100644 --- a/Makefile +++ b/Makefile @@ -48,8 +48,8 @@ MANPAGES = passt.1 pasta.1 pesto.1 passt-repair.1 PASST_HEADERS = arch.h arp.h bitmap.h checksum.h conf.h dhcp.h dhcpv6.h \ epoll_ctl.h flow.h fwd.h fwd_rule.h flow_table.h icmp.h icmp_flow.h \ - inany.h iov.h ip.h isolation.h lineread.h log.h migrate.h ndp.h \ - netlink.h packet.h parse.h passt.h pasta.h pcap.h pif.h repair.h \ + inany.h iov.h ip.h isolation.h lineread.h linux_dep.h log.h migrate.h \ + ndp.h netlink.h packet.h parse.h passt.h pasta.h pcap.h pif.h repair.h \ serialise.h siphash.h tap.h tcp.h tcp_buf.h tcp_conn.h tcp_internal.h \ tcp_splice.h tcp_vu.h udp.h udp_flow.h udp_internal.h udp_vu.h util.h \ vhost_user.h virtio.h vu_common.h diff --git a/isolation.c b/isolation.c index 94cbe7f..a30b329 100644 --- a/isolation.c +++ b/isolation.c @@ -89,6 +89,7 @@ #include #include "util.h" +#include "linux_dep.h" #include "seccomp.h" #include "passt.h" #include "log.h" diff --git a/util.c b/util.c index bd4c6ca..28c32e4 100644 --- a/util.c +++ b/util.c @@ -27,7 +27,6 @@ #include #include -#include "linux_dep.h" #include "util.h" #include "iov.h" #include "passt.h" -- 2.55.0 --Multipart_Thu_Aug__6_20:06:07_2026-1--