From nobody Tue Sep 9 18:54:02 2025 X-Original-To: dev-commits-src-all@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 4cLtK54V4gz67JQN for ; Tue, 09 Sep 2025 18:54:17 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cLtK42jXVz3th7 for ; Tue, 09 Sep 2025 18:54:16 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-45dd7b15a64so40684135e9.0 for ; Tue, 09 Sep 2025 11:54:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757444054; x=1758048854; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=E8ecDhIQxGMoOaKlbPKiFmulcr00wJjRC6zeQeLMs4I=; b=BJnlKiQqoWBTD99ItNlt3kkYQQaTIHW0V73juvPzDCiRajS6WzPXNpX+APOAqyaDOr /3fNtPgQS5+3dpz1qSFcOXNcxKu+sxTGgfuAZznvtAFzk3JcudtVBREPEWFGCPZcVRQS uInkbK685/iIXeyFNwK3ps+QO7zHm+l5IPDWPsXVnKGdQ0xmJVLKsro1MWJHKjb6mNmI EfhOZ2scIDZdScL7VwVLVjj0P/OEwQr4qggIh33lm2RF8fbs6oRA3tYWFp5ayhzCvoOl UuAm3dxt5SZuTNCxzyBbrj5jnc1Z3D9ro2o5l1S/nWeaian3Yv40ukIc8aAH/NnJjmWq B3XQ== X-Forwarded-Encrypted: i=1; AJvYcCVbSitGuS7sUgZgo2ajwVN/5PfOGZYhUliwhfanhQu6ElTM4sweAVpKsOuSB3pl861z8Y0bgnZg7z016/nelDOIwJC3@freebsd.org X-Gm-Message-State: AOJu0YyFGeHRG3OCiBecxqYkXSBj7Tq4eWfacCQmDVzaEpzmoxLK7ZUL 6kb3NPgFZf19+Ig59FPGqY+rx1rGVRIeHoIUdydzowkCapWmJa4As7+VvMGPyeh69Fo9MsT1zCP gg9Tp X-Gm-Gg: ASbGnctFk6R7lCoxF1G6AAWe2oN7vOhaQlEr10GRBvhD2Kt+TjW7j1QAuOA5OImpXcw 7GE/WLwXj5QvN7BxtHsq6AyVCCnVqbf6KLMmEYyct3Nec8s8pS1k1bMjMA5xRQ9dqII9daDxdJS e5UiKEK8bAp18HCvq6Z8ek91O4YEscMOTammPApMXaRkwKKkI9oNiG15HeFKVW49LwG2zZR8wNk ToJe8ajGhtIIEeenoA70wmFSQT/uWckamH2aZ4uuAZ7JTOR4vh/HC7tsrb965RKezQTUEhAyLZy vJidsp8rj7UQo1uOP6wcAbU24PPR0tCKoAwF03YzFJW2dqtyuFchNY0rCg/zpUtJPeVGlzQ9Niw Df60OT9gkB+U7SQED5VtsJ9+xr5uY2KhmodilEFHQQfd7lMywWoCHSm6nzJY= X-Google-Smtp-Source: AGHT+IHPdB9ts1ARL2zQYX5jFejYCYBdMMIx8YuTHcR5lYhmQZUatySUBSBmi/h9ELEcjN1bQHPWwA== X-Received: by 2002:a05:600c:8b5c:b0:45b:9b9f:88cb with SMTP id 5b1f17b1804b1-45dd5b78584mr148088965e9.16.1757444053827; Tue, 09 Sep 2025 11:54:13 -0700 (PDT) Received: from smtpclient.apple (nat-184-7.net.cam.ac.uk. [131.111.184.7]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3e7521c9a2esm4010877f8f.14.2025.09.09.11.54.13 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Sep 2025 11:54:13 -0700 (PDT) Content-Type: text/plain; charset=utf-8 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81\)) Subject: Re: git: 16f600dc30b7 - main - jaildesc: replace EBADF with EINVAL From: Jessica Clarke In-Reply-To: Date: Tue, 9 Sep 2025 19:54:02 +0100 Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <202509091818.589II2D2005924@gitrepo.freebsd.org> <9B159FF1-8D1D-4F1D-9CED-977EB0834403@freebsd.org> To: James Gritton X-Mailer: Apple Mail (2.3826.700.81) X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4cLtK42jXVz3th7 On 9 Sep 2025, at 19:52, James Gritton wrote: > On 2025-09-09 11:42, Jessica Clarke wrote: >> On 9 Sep 2025, at 19:18, Jamie Gritton wrote: >>> The branch main has been updated by jamie: >>> URL: = https://cgit.FreeBSD.org/src/commit/?id=3D16f600dc30b7bb82429660e540da802a= 1e3f7449 >>> commit 16f600dc30b7bb82429660e540da802a1e3f7449 >>> Author: Jamie Gritton >>> AuthorDate: 2025-09-09 18:13:11 +0000 >>> Commit: Jamie Gritton >>> CommitDate: 2025-09-09 18:13:11 +0000 >>> jaildesc: replace EBADF with EINVAL >>> Following fd9e09cb, EBADF is not the suitable error code for a = non- >>> jail descriptor passed to jail_set, jail_get, jail_attach_fd, and >>> jail_remove_fd. >>> Reported by: kib >> Will you be MFC=E2=80=99ing this fix, the error checking one and any = future >> fixes to the new jaildesc code? The original jaildesc commit made it = in >> in time for stable/15 so will be part of 15.0, so either important >> fixes need to be MFC=E2=80=99ed to ensure we release something = without bugs or >> it should be reverted in stable/15 and the whole series later = MFC=E2=80=99ed >> once deemed ready. Especially given the discussion about file object >> ownership I=E2=80=99m a bit concerned that we have something in = stable/15 that >> has a design, rather than implementation, aspect that might be wrong, >> and we really don=E2=80=99t want to be shipping a broken syscall ABI = if so. >> Jessica >=20 > Yes, I just forgot to set the MFC tag in the commit. This and some > following commits are all slated for MFC. >=20 > This will include the file permission API concerns, and the missing > jail descriptor kevent support. Those are coming soon (next few days) > but I'm pushing the low-hanging fruit out right now. Great, thank you for the quick confirmation that it was just that, as I hoped, and that the bigger items are being worked on. Jessica