[Bug 260343] NFS client does not respect RLIMIT_FSIZE

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 12 Dec 2021 02:20:21 UTC

--- Comment #3 from Rick Macklem <rmacklem@FreeBSD.org> ---
Yes, I just noticed that vop_stdallocate() uses VOP_WRITE(),
so it does get checked.

I'll add it to nfs_allocate().

(I suspect long ago that VOP_SETATTR() of size was exempt
 because it does not allocate storage and the limit was
 really meant to limit storage usage and not size?
 I could be wrong, but I think rlimit was a CSRG BSD thing
 way back in the 1980s. POSIX probably picked up on it.)

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