[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:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=164793

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

URL:
https://cgit.FreeBSD.org/src/commit/?id=2bd3dbe3dd60aeb84ebc52f23f0f4205d3eb082d

commit 2bd3dbe3dd60aeb84ebc52f23f0f4205d3eb082d
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2022-09-18 13:27:28 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-10-08 00:29:36 +0000

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

    PR:     164793

    (cherry picked from commit 8bdb2695d69710b7f2e7cc20820aab8b3f4668a6)

 sys/fs/tmpfs/tmpfs_vnops.c | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.