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

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

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

commit b9f82f035af41476e5b73ab72292a84a346f0941
Author:     Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2022-09-25 17:56:11 +0000
Commit:     Alan Somers <asomers@FreeBSD.org>
CommitDate: 2022-10-12 04:49:26 +0000

    fusefs: respect RLIMIT_FSIZE during truncate

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

    (cherry picked from commit 0a192b3abab19deac70f762cd1ec45ba09ec47ca)

 sys/fs/fuse/fuse_vnops.c       |  3 +++
 tests/sys/fs/fusefs/setattr.cc | 44 +++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 46 insertions(+), 1 deletion(-)

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