Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Dec 2021 02:08:30 +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-AisnxvXwuK@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 #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?

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