From nobody Fri May 30 11:29:23 2025 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4b81Gq5qGtz5xWgV for ; Fri, 30 May 2025 11:29:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4b81Gq2qqlz3hd5 for ; Fri, 30 May 2025 11:29:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1748604563; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lmCTG7bdju6WYx0ueWQY40A8yPcaOW8WOXRKJtprnZY=; b=fQmDLxNdUImNp7RDIz2W2GIhOPeAd6vTDHQcsmtr0aCjJR6RREx6V9k8VLXcHAC6SHZdbO yNm/VPlPlHTQ323xmA80JrLWTIWqViTXjduZtUuZexWK2QbXNEeI6uzaBlTA8+O75ER+k5 TqXzj0Kld1wYxwKt7HTJ52sVkH6IZaH2Yq8iVwe2kqUJPl3cAOKi6Q1CHTLk00tdJozqR+ gn2GwpJHn3iS5I39cp5EIAfPML+B7m2D2pUchvKiJGD9nx86lRj8mE3NzoxE7ZPEmhmhhl a0dUWFoPendTTnN+U+qew+WndUoXfAMTA+KlymYba4ZUUaGQucfolGyLgEsEgA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1748604563; a=rsa-sha256; cv=none; b=DPQM4YbhwIZW+dw21jUvma9opuAeZiNfkW5CIlV6/ywRo+PUbCTYVw2t+NUnOHPA/KIi+n XfF69QyfCHl8DL/yf1xgHy0utEFnoq9uyew55coWJhj44XGHvi1nkhm5Qvb3ruz+7VKFkV K7k29SsPoHO80nCd9oUOXPw4D2q7uWF/DVc//Civ1k1vlkwGfu5qScMKgFSwiaiEqCDS4q aBw4sXGLY6Srfi5T0aqri6R6TtUS6ZP8oCWvivMzOn33BmdT937K0/vOG59+XFIc78wyf/ cLhkLgKZgj8WuI3GpcDzup7TavUvqjW6P+cYsSbKt6/fa1yEVv2rZxw12IfgwA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1748604563; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lmCTG7bdju6WYx0ueWQY40A8yPcaOW8WOXRKJtprnZY=; b=WjzwCn/1qQGuDGnJTblDAzfjOKwUjUaykXD/L5EUhVTSoy/b9tf5Ce1ETSUG5Lm0h4SK7L ++e1NPnixR2aiK0pidrQpZo2PDCmWC6Gm+n6qbLYp/9M2xCqC6Tyo3IOBCeoMEI0Igmndi fb/tP5uDVocU57pVQjgwtvQb74XQgRoDd/+bsirTZMv0fypKC8u4zKMXg3gA/u10EWfBr9 M+3rWE4Ye2AMjREJs9VVe+UDYcSyoy+MWWEUkNFGA0/Fq+PS50PwIrw0J0X6IbYgBnfi1n W5iJHKuDCZMN1WTOrYTBoLf36JxE2DOjMihspN3wgg7qqhVjSVeQhiE0X57r4Q== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4b81Gq2LSQzqxN for ; Fri, 30 May 2025 11:29:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 54UBTN70097717 for ; Fri, 30 May 2025 11:29:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 54UBTNhh097716 for net@FreeBSD.org; Fri, 30 May 2025 11:29:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 287135] Large Unix SOCK_SEQPACKET messages do not get truncated Date: Fri, 30 May 2025 11:29:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tuexen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D287135 --- Comment #1 from Michael Tuexen --- I would be interested why an application wants to use a SOCK_SEQPACKET pack= et and also expects message loss when providing a too small receive buffer? >From my understanding SOCK_SEQPACKET and SOCK_STREAM are both reliable. For me it looks like the description of recvmsg() is missing a differentiat= ion between SOCK_DGRAM and SOCK_SEQPACKET. --=20 You are receiving this mail because: You are the assignee for the bug.=