[Bug 164793] [kern] RLIMIT_FSIZE does not work, affecting ftruncate(2) and truncate(2)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 08 Oct 2022 00:39:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=164793

--- Comment #19 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=55b41282d698bed4b3bb75b74265992c2cf5f42b

commit 55b41282d698bed4b3bb75b74265992c2cf5f42b
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2022-09-18 11:48:40 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-10-08 00:29:36 +0000

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

    PR:     164793

    (cherry picked from commit 87525ef94007c792c6745db7938251a663ca5706)

 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.