From nobody Sun Sep 25 17:40:33 2022 X-Original-To: bugs@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 4MbCpT3tTSz4cWw3 for ; Sun, 25 Sep 2022 17:40:33 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MbCpT1xC3z3G0j for ; Sun, 25 Sep 2022 17:40:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4MbCpT0v3zzVL5 for ; Sun, 25 Sep 2022 17:40:33 +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 28PHeX0T002753 for ; Sun, 25 Sep 2022 17:40:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28PHeXRj002752 for bugs@FreeBSD.org; Sun, 25 Sep 2022 17:40:33 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: bugs@FreeBSD.org Subject: [Bug 266611] copy_file_range does not copy all the way to RLIMIT_FSIZE Date: Sun, 25 Sep 2022 17:40:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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 Only Me X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664127633; 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; bh=XHw8TVgERn4M0v457ANLzEFOGXPRs/44HVwlrD6f2Pc=; b=Z2OMbkrUVYZmEqXm+0mX6p0XH7WB5F9d1gTOKdwul5mqbYEW7wCIxNvKgWtExXBconRt7u A1J8cTbnGZ0PhpqFgwJSbpViIl6crpO4yfdIjTT62wfGm2oMYuD93qJx5CcNNjs6Gu+Yvl jpabf5+KH4XjLZXFO7H8BIbw9BJwya9Xcveeh+NxT1XGc4MG2OPzSm4D5dOHKpDaQ6qWjY a+DqV+aZfVTMaHVtrCUUp0jmeIjL2ZmoKlSiT4wFkDgHjRkMYWZK413qkuu94IEP6DzYkI gWD3up7R5UO6dWU7duwAklU5x5wOZoaCwwIFeTiwYr/Bz9c2lJC++mEmOc0Crw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664127633; a=rsa-sha256; cv=none; b=RwuquiBWtmTCcjX6EFk9hW5b6dH27ydFYjLjfuWZhyrG0CzSX3hOBXT0Omtwg+RUm++KOv /4E+PazcfD5Yqc1jto1Vq1tht/gCnAQQTeLWhCIAG9vDeT8kncz6xm7QzDXCpezM8W4Kh8 6KEz5jApTGP101RZ2+bPiuo5NfYucqPf7KRBBQxl7ugp50DUtST7hZ2Mr68vY6jjYHToLT U6zn/SaKsm2ToeKB4vKeGPqdQ3Z1YHkGs+XJN6SXRTzmgRnQZpmZxk1CWKuYB7A2/HtcXy bgvU35Fn46eNPsK/Zl3ieRQYcIYHyxDFOW6Lnb8N0BdfukyorerOQbaHRZBnPQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266611 Bug ID: 266611 Summary: copy_file_range does not copy all the way to RLIMIT_FSIZE Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: asomers@FreeBSD.org Bug #164793 addressed the problem that VOP_WRITE, with a range that crossed= the RLIMIT_FSIZE limit, did not write all the way up to that limit, as required= by POSIX. Rather, it would write nothing and return EFBIG. VOP_COPY_FILE_RANGE has the same problem. While POSIX does not specify copy_file_range, I think its behavior should match. Do you all agree? --=20 You are receiving this mail because: You are the assignee for the bug.=