From nobody Wed Sep 20 11:01:22 2023 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 4RrFvk6Z6rz4tVRm for ; Wed, 20 Sep 2023 11:01:22 +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 4RrFvk2hzTz4bJn for ; Wed, 20 Sep 2023 11:01:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695207682; a=rsa-sha256; cv=none; b=qsb2+nDVLw6PSltdnOGeebaoDouNm3bxJh7FXQhq3BwDlgWQAon80Rw9n5EBNWH7FKCyuo efIQbvyzlJtvlYm9pD2bP+5quJyCoT7R8vkRfma+CNNiW0e/oqoltDFBRCOkWan98Gm+I/ Jy7ieoftlJU+jwwJJ3gQEnckuShMNN98tFS4TxZYLoJI8hDCFFTZr8k2xG+BU/draZFnhp wjTVIpP1ushjHkjAhp8M6qgw3cMYMwv2Y3Cd1jKJnfNzusMpG4YyigeKoe/Bg5e5B+bN3R zwTRHd1p41Dcq9RiH7JvYevIOb8ZxyGqCzuTjDgh0vF+nMDW6450qu03hGUv9A== 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=1695207682; 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=UqERozZq/GHdIoJJgac+EvBpvWUnDsyiiK1vD1mgvZA=; b=IUew27yQu+KYYdGT5LZsXhFznaAFYBvx4pKbvOpnf8ulIXbdrTZ2PEnf7erHWYZg7wvu2L hhiU7mz9+lkswA8kyxFG0q5GiCP2o3d6WqGC9XJM8cknALfEl+Qi9jutfd+p9t/GdX2lyo 4dq2/9Z2O824LpvscX3aKzZLOprKKTKroKY2YbwQ+0nexda0tme6RC8D/aA5lIUgoSFycB qPQsgYzU0ilhwY2MR6JVIi5Yno2ieckDlyVsAkOzEQnp1zfmU9owz1If3nxdIy7CHl7Ptv Fi3U+6/B/nQFJlC1wgp4ylXZbNJPqMpT41HLR+tveRxy1hTZIOx6FzMM4qtEPA== 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 4RrFvk1pxDzt02 for ; Wed, 20 Sep 2023 11:01:22 +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 38KB1M88096657 for ; Wed, 20 Sep 2023 11:01:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38KB1Mv9096656 for bugs@FreeBSD.org; Wed, 20 Sep 2023 11:01:22 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 273962] copy_file_range does not work on shared memory objects Date: Wed, 20 Sep 2023 11:01:22 +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: theraven@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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273962 Bug ID: 273962 Summary: copy_file_range does not work on shared memory objects Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: theraven@FreeBSD.org Using copy_file_range to copy files from anonymous shared memory objects returns EINVAL. This is not one of the reasons for failure documented in t= he man page. Ideally there should be a fallback path that works for any kind = of file descriptor, but if the system call works for a limited subset of file descriptor types then the ones for which it does work should be documented = in the manual. --=20 You are receiving this mail because: You are the assignee for the bug.=