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

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 24 Sep 2022 16:43:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=164793

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

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

commit b5b16659c5aceb9caa0a9b76c7746e1d12a505ce
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2022-09-18 13:28:11 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-09-24 16:41:30 +0000

    tmpfs: disallow truncation to set file size past RLIMIT_FSIZE

    PR:     164793
    Reviewed by:    asomers, jah, markj
    Tested by:      pho
    Sponsored by:   The FreeBSD Foundation
    MFC after:      2 weeks
    Differential revision:  https://reviews.freebsd.org/D36625

 sys/fs/tmpfs/tmpfs_subr.c | 4 ++++
 1 file changed, 4 insertions(+)

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