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: b...@freebsd.org Reporter: thera...@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.