[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:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=164793
--- Comment #10 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=87525ef94007c792c6745db7938251a663ca5706
commit 87525ef94007c792c6745db7938251a663ca5706
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2022-09-18 11:48:40 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-09-24 16:41:57 +0000
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
sys/ufs/ffs/ffs_vnops.c | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.