From nobody Sat Sep 24 16:43:19 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 4MZZZw0V2bz4d3hS for ; Sat, 24 Sep 2022 16:43: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 4MZZZv6LpYz3L86 for ; Sat, 24 Sep 2022 16:43: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 4MZZZv5Jhzz17dM for ; Sat, 24 Sep 2022 16:43: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 28OGhJx6019797 for ; Sat, 24 Sep 2022 16:43:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28OGhJEf019796 for standards@FreeBSD.org; Sat, 24 Sep 2022 16:43: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: Sat, 24 Sep 2022 16:43:19 +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=1664037799; 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=3Ea/VjQFOmEfmY67ZvYzV3Fn9hq1DCyJqh7RhSz/pFA=; b=T+sAR8/iigc7sJBasRMtTiM/GfGkkP+K4KEMJ0CEVAwFO4GVgvedzog1wPg1O8gfCpBfx4 FC96vggFwtiPs7k3ChJ/IZXbtT7lhbaYXrSU3bp29pX+c2z3FSw+jzzc4qBO+kRaoTxfaf Hpwx8lT/ZZv/P4MDVBxCxuUHaNxT7SYlMoWkZwt7ysSrbiKUOFPTI0bUrpcfZe4AFux84A voYdoOYOYZCsnnHrISMZA5VeEnfedLYN4jxnxw68lartS0caie1jimDCU4v/y0i8TWzOqE nocivOXAxNG7+l4m3lfLi+k7gwOCPJIgDbdQb90SCCi/DGRTT2/YusHKWNweQQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664037799; a=rsa-sha256; cv=none; b=IykWxy5JVugpSW6hXjW8oCtQujiDdiehStMfS73446qBdbyp+fjOAaJ735nW6KKU/4Ec4p YkQQM7LVOpPEPlSwQ19r5g43O/AXo1d1nruTmnZeWVupaufhW2wXKhXGFfFKldNt5QFReG hUPV6iG+wEffeMd5432zcT/1jvu/zThT7obShQo2nmz3H/q7kqXLqsF8Ww9m2Wq3jtpYc6 p8o6/xn+IpTetzTv/OOjfaGeFTkarsnQ9d6dfgmztM535Qy0xjvjPGDN379p05DvDg0Thq JiT31jEwv2D0XNTg5QUCtI66ikx0UqccIIhgSNcWMfSX+SnXTsDL0/EeTGqVXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D164793 --- Comment #14 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D70385088cafaab3365c5243f22b8fc9c7= 12c1fde commit 70385088cafaab3365c5243f22b8fc9c712c1fde Author: Konstantin Belousov AuthorDate: 2022-09-18 11:49:57 +0000 Commit: Konstantin Belousov CommitDate: 2022-09-24 16:41:22 +0000 UFS: disallow truncation to set file size past RLIMIT_FSIZE This is mandated by POSIX. 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/ufs/ufs_vnops.c | 3 +++ 1 file changed, 3 insertions(+) --=20 You are receiving this mail because: You are the assignee for the bug.=