Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Dec 2021 02:20:21 +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-F9tf2a4Eeh@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-260343-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-260343-227@https.bugs.freebsd.org/bugzilla/>

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

--- 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.)

--=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-F9tf2a4Eeh>