From nobody Sat Dec 11 17:45:52 2021 X-Original-To: bugs@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 3A66218E48A8 for ; Sat, 11 Dec 2021 17:45:52 +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 4JBFYW6rzyz4fqF for ; Sat, 11 Dec 2021 17:45:51 +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 CB6DE121C9 for ; Sat, 11 Dec 2021 17:45:51 +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 1BBHjpcx076919 for ; Sat, 11 Dec 2021 17:45:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1BBHjpcN076918 for bugs@FreeBSD.org; Sat, 11 Dec 2021 17:45:51 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 260343] NFS client does not respect RLIMIT_FSIZE Date: Sat, 11 Dec 2021 17:45:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639244752; 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; bh=8BAAQE+qtQTnFx/ilFTwCmaFBysDQV7eJPPUD1Q4o0Q=; b=fHCz+Y0VW9DaMl1iZ30wPTu2w8kCFPtkUQuRlvjvWRIVkb/xM4vT2qj1kXtI6I74Zk3Ldo Y8fHyaPjeHSn6AdNzE8GXr8UDq/R//Ch/97APku6veK2K3vGMWDkla467bOsc+q33w0D0o YJgl2sN9UolgbV9soAttRJaqmzZXc8yTpcljraQ1FhPHyKT40jWbgQ2r82k5r90bVeJHxY uK6/4x/+1S/WmCcqECfrxkGV9Uk8De3UR9Cs+AgMHXiwd5xzrjmlmO2iOa1UO7ea4+lqiG cd8o/XRq8RM9c412wY2/+TMw5gSGDqUSh+pvAXvtENQWt8oMGaiTl7pSLPbZiw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639244752; a=rsa-sha256; cv=none; b=S2cPS0NjD76CV2RQ5SsUg9RyqbqLXVIn9WQcjtDq+xhrRrV7kiRDjChx0lj9JJElICa2xk 7aC4T1gGUwTJ2tmLZxL68XFEbHEV+iXrcb0q/3AnhNAzCXI3THVGOPJ51mzE4fwNwT2DTk /UuJgWYj9JR1TEB06/8VPNN8FqKhuCt/VIQhvR48DtvlUmtTmbgHteTdF6+pTemGFM0IPC OHJy4qt0ODzFQnrXEjFD2STupL/EEMdvVZHyEnh4aARZgZobDPnsOSg/mkq1+dptFdcJ2G fQIFidc/vG1RpTr/JX1oGgRaH/tiZ8ULomXdqJeuaEMgliHqQbg/N9jou9m81Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260343 Bug ID: 260343 Summary: NFS client does not respect RLIMIT_FSIZE Product: Base System Version: 13.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: asomers@FreeBSD.org RLIMIT_FIZE limits the maximum size of file that a process can create. It should be checked during any syscall that can increase the size of a file.= =20 However, it is ignored by the NFS client's VOP_ALLOCATE implementation. nfsrpc_allocate should probably have the same check for vn_rlimit_fsize() t= hat nfs_copy_file_range and ncl_write do. --=20 You are receiving this mail because: You are the assignee for the bug.=