[Bug 260343] NFS client does not respect RLIMIT_FSIZE

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 12 Dec 2021 02:08:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260343

--- Comment #1 from Rick Macklem <rmacklem@FreeBSD.org> ---
Yep. I suppose vn_rlimit_fsize() should be called in
nfs_allocate().

It should also be added to vop_stdallocate() to be consistent
w.r.t. its use.

(Note that VOP_SETATTR() of size does not check it and never
 has, for UFS, NFS,... It can grow the file size, although it
 does not allocate space.)

Maybe use of RLIMIT_FSIZE needs to be discussed on a mailing list,
to agree on what VOP calls should check it?

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