Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Sep 2023 11:01:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 273962] copy_file_range does not work on shared memory objects
Message-ID:  <bug-273962-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273962

            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 the
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273962-227>