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

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 25 Sep 2022 21:04:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=164793

--- Comment #17 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

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

commit be280f60dd8e8ef765a76966aac9c6ca7d6264d0
Author:     Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2022-09-25 18:59:33 +0000
Commit:     Alan Somers <asomers@FreeBSD.org>
CommitDate: 2022-09-25 21:02:59 +0000

    fusefs: truncate write if it would exceed RLIMIT_FSIZE

    PR:             164793
    MFC after:      2 weeks
    Reviewed by:    kib
    Differential Revision: https://reviews.freebsd.org/D36703

 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.