From nobody Wed Oct 12 04:50:35 2022 X-Original-To: standards@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MnKwC3G0Bz4fLw8 for ; Wed, 12 Oct 2022 04:50:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MnKwC2FM5z3Cl5 for ; Wed, 12 Oct 2022 04:50:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MnKwC1KrKz1CHR for ; Wed, 12 Oct 2022 04:50:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 29C4oZUO066194 for ; Wed, 12 Oct 2022 04:50:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29C4oZGx066193 for standards@FreeBSD.org; Wed, 12 Oct 2022 04:50:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: standards@FreeBSD.org Subject: [Bug 164793] [kern] RLIMIT_FSIZE does not work, affecting ftruncate(2) and truncate(2) Date: Wed, 12 Oct 2022 04:50:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: standards X-Bugzilla-Version: 9.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: standards@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Standards compliance List-Archive: https://lists.freebsd.org/archives/freebsd-standards List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-standards@freebsd.org X-BeenThere: freebsd-standards@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665550235; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WgtYezIFpVUbc/dVmhGc1c8+osyDESb+lmCFF45CY0s=; b=cQOeW2sD5sxX1Lwx4vo01bnEC1laL/SvMJCK51+Ej5nJ8w6WpAxyJd051+wo5SO8jpIMCQ gIzoZozBoHseWCx4Tq5ZaHvXSNeFlYx/3ulsaYYsqIFMXRm493CFOSKnggzbiRVE/X4i7G dX5Q/2Xw4yVSEnZI6eBFUhR1cljE7ewYCyAtGoCpFuy9bWeEYwU14GOznzJ7lc9rwLsPyC yMY5aSl6HjQ7W9m+GHrSFl7YLSU9/ppLUK+k5oFCnr2SFseIFSLUCnpx4mDoLPT19ivDP7 +3Hi1hPJidq0jHWuxCOiG3lx2/xbBBm8EAmNpt6t4CgHX6F8Q9bCQzmxkVeuyg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665550235; a=rsa-sha256; cv=none; b=yFG9Gkjb5ojqsH2ZknE50Y+4QwCej1LZUcohnXpcqQpf310i44F1e8n6yj0qKjSOA/n5kd MwhVghvMhzKq4fYVdMnExCHTNNTVVwDZflEfQsWK0ap1bH9dVSDOKLCyGBVNN8ZCjhYNI9 BZz9S7/yiRN/CG6kB09jtrLGCehScj9NyT07ll1iycYKP1TKBPy9/LL8U0VRdPKS307m9X cNyC+c+ab4ZjUmQj1ci1F5t2bBIaS7NgvxUJSpt2kY8wjz8gDtAbrUth/Wr3CHnvlHSmRg fmLf/r7Fm5vIEicwe3lGFFrnWOZ+3oci+QPbeV3WOnVUiO5wbb5O2P88DXoHaw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D164793 --- Comment #25 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D0f0a0bdff052e4a61b20f6a0fc252e381= c57c3ab commit 0f0a0bdff052e4a61b20f6a0fc252e381c57c3ab Author: Alan Somers AuthorDate: 2022-09-25 18:59:33 +0000 Commit: Alan Somers 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(-) --=20 You are receiving this mail because: You are the assignee for the bug.=