[Bug 260343] NFS client does not respect RLIMIT_FSIZE
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 260343] NFS client does not respect RLIMIT_FSIZE"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 260343] NFS client does not respect RLIMIT_FSIZE"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 260343] NFS client does not respect RLIMIT_FSIZE"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 260343] NFS client does not respect RLIMIT_FSIZE"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 11 Dec 2021 17:45:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260343 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.