]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
UFS: disallow truncation to set file size past RLIMIT_FSIZE
authorKonstantin Belousov <kib@FreeBSD.org>
Sun, 18 Sep 2022 11:49:57 +0000 (14:49 +0300)
committerKonstantin Belousov <kib@FreeBSD.org>
Sat, 24 Sep 2022 16:41:22 +0000 (19:41 +0300)
commit70385088cafaab3365c5243f22b8fc9c712c1fde
tree3f62b41502bdbb382f16256ec3f251899b93acc1
parent2ac083f60f8c9ce361c3daf691c60486459d87ae
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
sys/ufs/ufs/ufs_vnops.c