From nobody Sat Sep 24 16:43:15 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 4MZZZq55zgz4d3Sq for ; Sat, 24 Sep 2022 16:43:15 +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 4MZZZq42f4z3KV5 for ; Sat, 24 Sep 2022 16:43:15 +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 4MZZZq2w44z17dH for ; Sat, 24 Sep 2022 16:43:15 +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 28OGhFwa019660 for ; Sat, 24 Sep 2022 16:43:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28OGhFm1019659 for standards@FreeBSD.org; Sat, 24 Sep 2022 16:43:15 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: Sat, 24 Sep 2022 16:43:15 +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=1664037795; 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=aOr+b/dRjaNlqAcdtoH5JQFEZfgrIxZcYpnilnRwikY=; b=fxzmDgbciysKSIl2avlasPAoMjxem+xzAS+GscXsGhc7ULGRWrEND/4G58sXlD79ylBOII 2e/c3z/GLyfqsd27wHS8Jn/GCdS+sVVcqUxs+mwPmcX3kJJJcfF4JFp9Tre7IpvZTB0/5W 9Pe/QyHZfSpHct3ge4R4Pn0VrhHX3aSF2mjI2BaWwaVTq92mao7derl+JCPNKUPWJSG+Yj 7PWEOidYlyGWVa4GKGrVCvhF0BN6PzKigjT/Ej4/hHJ8WDswVKj1cB/Ahz5J7AQxQOEe7o 9MLhBDDmRiGZMXjt8kzL85qMaF5a83HZVTwxENpjK01zeskBl7zDwmayGqoieg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664037795; a=rsa-sha256; cv=none; b=U7A1eUTbKYo7ony7UNyS3WVJuaaF5SfHz+LsyD7XxqHdlgAAdfrJVzuUjblkoFZy/5UUHW AA1GMT79Lglys0ZSY26IMRi1n7qKRUWx/P3VigVFjiwb44CnpSkIrwlTNGUrmpMCUPYNP3 tqbssXDR7nLnxgGq+6x4dHAK9sYzUrrpa99okTJ88RhbCkNg4b9tS0BwvTs/yHqUciZH8p eFODQUsU9WLEN8OmMXg8T6/FXVKwOqTss5iacFIWuB13sXSkvur/kChPJq8bmY8588ChXM /JRvf4xia21xeJGjhHLJC9EWXP5IJd0AKdVvgloHBs3BDxOMnMAaqilkWdVPpA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D164793 --- Comment #10 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D87525ef94007c792c6745db7938251a66= 3ca5706 commit 87525ef94007c792c6745db7938251a663ca5706 Author: Konstantin Belousov AuthorDate: 2022-09-18 11:48:40 +0000 Commit: Konstantin Belousov CommitDate: 2022-09-24 16:41:57 +0000 FFS: truncate write if it would exceed the fs max file size or RLIMIT_F= SIZE 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/ufs/ffs/ffs_vnops.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=