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

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 12 Oct 2022 04:50:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=164793

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

URL:
https://cgit.FreeBSD.org/src/commit/?id=0f0a0bdff052e4a61b20f6a0fc252e381c57c3ab

commit 0f0a0bdff052e4a61b20f6a0fc252e381c57c3ab
Author:     Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2022-09-25 18:59:33 +0000
Commit:     Alan Somers <asomers@FreeBSD.org>
CommitDate: 2022-10-12 04:49:34 +0000

    fusefs: truncate write if it would exceed RLIMIT_FSIZE

    PR:             164793
    Reviewed by:    kib
    Differential Revision: https://reviews.freebsd.org/D36703

    (cherry picked from commit be280f60dd8e8ef765a76966aac9c6ca7d6264d0)

 sys/fs/fuse/fuse_io.c        | 16 ++++++---
 tests/sys/fs/fusefs/write.cc | 78 ++++++++++++++++++++++++++++++++++++++------
 2 files changed, 80 insertions(+), 14 deletions(-)

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