From nobody Sat Sep 23 10:06:57 2023 X-Original-To: doc@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 4Rt4YY583Dz4vNhn for ; Sat, 23 Sep 2023 10:06:57 +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 4Rt4YY3wv9z4cDt for ; Sat, 23 Sep 2023 10:06:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695463617; a=rsa-sha256; cv=none; b=NgoVNRvR1mI/wMLuKV6bp2h22BOhZno6VSd8R675cpflTthfTjm7dbfcVTB0vCJUE6lUb4 IFGgJE3IXKkRqtFTjhcttVmejLhobouG+wdFEavu6d8/3D5mHL5DbTuImiVXJPY8oZLn8r UeMzDkKueXW78qtk+lnHcIbXENzmlP8qX7fmZMPywMFp7qH5eA5+zu/7rDmP2CVvsJoAWV 1gJ1WqFg56GgTVC3xd4A1PJfoO2YF2oaS3nbIF2azIH+MMqClIXJzOmeNmZfMODZYB/3Mw 4Ua8OVgMXQjmb0GdqyYVvKx00cdHXnO8/HebNKi141aYOvpBcrD2GdfGnL4CFw== 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=1695463617; 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=CuH2CkcRFdXt6qh7uQdH2yZU2ImZnts0drE2M77xHbQ=; b=nFgLDLEJYHS5HPYR8tJt2pvNtL/xShX2VeBdDz5i+uLToZakOvWQotplLFbvZ7hLlhl/fh QM0i1f2mi5PB3KJa/na6dlr1dVWpBQ3kGLtDijuSoeaRBdvE65r1wPezjnY70pevXWpwaK VY+g2PfoVYm+rerdDVlOXeK+OXIT1e8saFULTo/MqSs2EEMRChDqOhmWBuwE+sg1B812Xm 0idN+Nq8zv0pds27fTmPlJ3TUhr0jDxscncepL87isArXcDwRr3P+NsX5FpP2GHyB4vHmc riCrwj0GJs2F92r7rpf5kkTFjJrMwCY4JrnD6pTr7NmVOu1Jn7uxtqLvirUNkQ== 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 4Rt4YY2frPz10LK for ; Sat, 23 Sep 2023 10:06:57 +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 38NA6vDE027315 for ; Sat, 23 Sep 2023 10:06:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38NA6vw8027313 for doc@FreeBSD.org; Sat, 23 Sep 2023 10:06:57 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: doc@FreeBSD.org Subject: [Bug 273962] copy_file_range does not work on shared memory objects Date: Sat, 23 Sep 2023 10:06:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Manual Pages X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Documentation project List-Archive: https://lists.freebsd.org/archives/freebsd-doc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-doc@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273962 --- Comment #10 from Konstantin Belousov --- (In reply to David Chisnall from comment #9) >From IEEE Standard for Information Technology=E2=80=94 Portable Operating System Interface (POSIX=C2=AE) Base Specifications, Issue 7 2.9.7 Thread Interactions with Regular File Operations All of the following functions shall be atomic with respect to each other in the effects specified in POSIX.1-2017 when they operate on regular files or symbolic links: chmod( ) chown( ) close( ) creat( ) dup2( ) fchmod( ) fchmodat( ) fchown( ) fchownat( ) fcntl( ) fstat( ) fstatat( ) ftruncate( ) lchown( ) link( ) linkat( ) lseek( ) lstat( ) open( ) openat( ) pread( ) read( ) readlink( ) readlinkat( ) readv( ) pwrite( ) rename( ) renameat( ) stat( ) symlink( ) symlinkat( ) truncate( ) unlink( ) unlinkat( ) utime( ) utimensat( ) utimes( ) write( ) writev( ) If two threads each call one of these functions, each call shall either see= all of the specified effects of the other call, or none of them. The requirement on the close( ) function shall also apply whenever a file descriptor is successfully closed, however caused (for exam= ple, as a consequence of calling close( ), calling dup2( ), or of process termination). --=20 You are receiving this mail because: You are on the CC list for the bug.=