From nobody Sun Sep 25 21:04:20 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 4MbJKc0Bgvz4cx1j for ; Sun, 25 Sep 2022 21:04:20 +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 4MbJKb6HrWz3ggK for ; Sun, 25 Sep 2022 21:04:19 +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 4MbJKb5Nv1zYQy for ; Sun, 25 Sep 2022 21:04:19 +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 28PL4JHS051979 for ; Sun, 25 Sep 2022 21:04:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28PL4JJq051978 for standards@FreeBSD.org; Sun, 25 Sep 2022 21:04:19 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: Sun, 25 Sep 2022 21:04:20 +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=1664139859; 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=FSg8ZxQPt3XX82xjBMkAbOYXyIC8LygOKnhGFD8tt+8=; b=Z5EtqY/WY9sb9Pwf9p3JaZxNkqfaoe1uqUYhkNknNgoZPSdmcKHW0IFN3RABc5zDjUyQSJ xeyKYIF7dzHaH+NAnhuGpC05nHhByZ83mcN1KiBDzw+ppOXFZPbBi5KhLt2mYauufPVMbl 5oBnML2mQkkueusd24EkpB3KnuKzn9bEpUYmY0u5ipCJuR0GM854/cea0ORp51aJ26akNr iGOh6BBsVpWL4S+3Cx8rRvP6Wm0R6NgHRbQ6ujabcf1AVU47ahNjuTTct+6eoKBE0VoBwl P12FOR3C692+08NdPtt7q3Lnj/eSO7oljSYsbdDC09Wqaaeh6lZdD9/XwxOnMw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664139859; a=rsa-sha256; cv=none; b=Jnmzh/nQYxPQeFByyqr9y/Qc0O2+N2mBatFfYWV2V/2Fvb5bwWWK/4JjWxZRnA7YUAbzef TCw5pMcf3MnEPFdq7dlyG9aPiLFJT4MZ7l/y7VfJ/enpkTvS1YG9UQS3iJ8szfaX67Yk5X 0pyGnSfkrJSpSj4PAEr2cv20M9MO2My9bSkNkIas5MLY0BkQy6EoY3XaJhYeVahZxt0uuy Pf/wBZd94WBNkSk42lPSShrFl2iVAD1eqMCGOH5sRplf8JXAky5MyH/KUG5k6VhBRytry3 B2r7fYbWs2WqJg4rOzslmnTuAQDkBwDzEGu9LdC76/Zb2NJHb8J2jctIQM/Stg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D164793 --- Comment #17 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dbe280f60dd8e8ef765a76966aac9c6ca7= d6264d0 commit be280f60dd8e8ef765a76966aac9c6ca7d6264d0 Author: Alan Somers AuthorDate: 2022-09-25 18:59:33 +0000 Commit: Alan Somers 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(-) --=20 You are receiving this mail because: You are the assignee for the bug.=