HomeFreeBSD

FFS: truncate write if it would exceed the fs max file size or RLIMIT_FSIZE

Description

FFS: truncate write if it would exceed the fs max file size or RLIMIT_FSIZE

PR: 164793
Reviewed by: asomers, jah, markj
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D36625

Details

Provenance
kibAuthored on Sep 18 2022, 11:48 AM
Reviewer
asomers
Differential Revision
D36625: Improve POSIX compliance for RLIMIT_FSIZE
Parents
rG1b4b75171ee3: Add vn_rlimit_fsizex() and vn_rlimit_fsizex_res()
Branches
Unknown
Tags
Unknown