[Bug 164793] [kern] RLIMIT_FSIZE does not work, affecting ftruncate(2) and truncate(2)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 24 Sep 2022 16:43:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=164793
--- Comment #14 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=70385088cafaab3365c5243f22b8fc9c712c1fde
commit 70385088cafaab3365c5243f22b8fc9c712c1fde
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2022-09-18 11:49:57 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-09-24 16:41:22 +0000
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 | 3 +++
1 file changed, 3 insertions(+)
--
You are receiving this mail because:
You are the assignee for the bug.