HomeFreeBSD

UFS: disallow truncation to set file size past RLIMIT_FSIZE

Description

UFS: disallow truncation to set file size past RLIMIT_FSIZE

This is mandated by POSIX.

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:49 AM
Reviewer
asomers
Differential Revision
D36625: Improve POSIX compliance for RLIMIT_FSIZE
Parents
rG2ac083f60f8c: Add vn_rlimit_trunc()
Branches
Unknown
Tags
Unknown