Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Dec 2021 17:45:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 260343] NFS client does not respect RLIMIT_FSIZE
Message-ID:  <bug-260343-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260343

            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.=
=20
However, it is ignored by the NFS client's VOP_ALLOCATE implementation.

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

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



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