[Bug 260343] NFS client does not respect RLIMIT_FSIZE

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 11 Dec 2021 17:45:52 UTC

            Bug ID: 260343
           Summary: NFS client does not respect RLIMIT_FSIZE
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: asomers@FreeBSD.org

RLIMIT_FIZE limits the maximum size of file that a process can create.  It
should be checked during any syscall that can increase the size of a file. 
However, it is ignored by the NFS client's VOP_ALLOCATE implementation.

nfsrpc_allocate should probably have the same check for vn_rlimit_fsize() that
nfs_copy_file_range and ncl_write do.

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