[Bug 266611] copy_file_range does not copy all the way to RLIMIT_FSIZE
Date: Sun, 25 Sep 2022 17:40:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266611 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? -- You are receiving this mail because: You are the assignee for the bug.