From nobody Fri Nov 06 14:08:31 2026 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 4jLgy824xJz6yMMZ; Fri, 06 Nov 2026 14:08:32 +0000 (UTC) (envelope-from brooks@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4jLgy81TYrz4QWG; Fri, 06 Nov 2026 14:08:32 +0000 (UTC) (envelope-from brooks@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793974112; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=YTfy8/15vy8oDM60m/x19YMMZ5oeHqg91NRxfr+P+Ro=; b=VKvllcb3nX626rLpajYueyPZ7W+JJb5pIXxlr/IeNvolvyhgwBwJULy2wdH4FSqiVnhWgk tsRe+vfIwR62bAk69XH8I6Wp+iNGnOmw2NIvpdTlIfIdryHdkezBrA8ekkKV4h2xxZvqUN wR9mmCWuXgezJ1fckT+JasL+pCbIEjx2YiR1uLRFXFPqQ1cRl0OnGW+Vf1q/744oMLENd5 NH0N/GXuumBubmgmIK3RTZIIFdMlNJepYU+VsYTT/XbeSO8h9EL03gWKQnyqQ7HoQDnCZZ zqTxfmvH4W5fkXXol26x6CvxMOGHkAzpSLE4flA+naWLZVBLVga6XmYzS03IKg== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1793974112; b=ASS3jD2WN4nhpwARtcgOFN+4NZCATHpo6IjD3bvODmgAY4lbHbH+GsnlruyXDT4BDoshKZ cmBhT3Iw7Rs+ZSCB/xa0jk7xHVkr4T1IDM10Nor6Joq+FXW3WG73VHfrMIxjJby5e2CKoI YP5n1Kp23nWy+XIqarN7Vdr7cPDhr1cIepA77RRKkTrRKMDtPg1CFJTPrUmCjn45v2JVR0 GA7SUfYRpXygeGLbHbO2BgYJuaH/92fh0XN3no6kChRbzRz7tH2U6mJNcilTwArnbUrkSo YDIpWRp1bTVC/dNxs3LZXM7yoKDU+SZQHMUt0PBdeoSRx678DmkO/NPuUP1Fxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793974112; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=YTfy8/15vy8oDM60m/x19YMMZ5oeHqg91NRxfr+P+Ro=; b=NhOZb+xzP/mjmRLcdTjsS/fLbUfTZh58ICT005gDRHwPbhjmvVfr4ZFIAAvu61ibCReDqw EdZIAoEYYcPhE/DZgPpRb6PS0uVKut/V5zTz+xBgSL5jGUMrJbSRa8LqrpP01UjsRPJytt yRklrb+X5MKv+3T1xETdZ4t2DuhzXj4hCODTvvGSHBVxq/NfDZSAcooyrKtUmUNdQIsWTK G+fILxnFELWAR1drZYpkTY/WJN3RKoUpCJ8kNpBaZSQR/IZXbDP4/IL/dvR0+U+7kz8GGI QG706oUkaRvXb1ePpYNbtp1o3huXmdvP9AFFzX3ZViY6DmfF7v0Zm8YtbqxiDQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (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) (Authenticated sender: brooks/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4jLgy80m7gzlGm; Fri, 06 Nov 2026 14:08:32 +0000 (UTC) (envelope-from brooks@freebsd.org) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 59F213C01A0; Fri, 06 Nov 2026 14:08:31 +0000 (UTC) Date: Fri, 6 Nov 2026 14:08:31 +0000 From: Brooks Davis To: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 675739153bde - main - sys/security/audit: add kern_ implementations Message-ID: References: <6aeddd06.1f08d.23e7673@gitrepo.freebsd.org> List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: Commit messages for all branches of the src repository List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6aeddd06.1f08d.23e7673@gitrepo.freebsd.org> On Fri, Nov 06, 2026 at 01:58:30PM +0000, Brooks Davis wrote: > The branch main has been updated by brooks: > > URL: https://cgit.FreeBSD.org/src/commit/?id=675739153bde1d871bd55448b4315f76f1479c57 > > commit 675739153bde1d871bd55448b4315f76f1479c57 > Author: Brooks Davis > AuthorDate: 2026-11-06 13:58:14 +0000 > Commit: Brooks Davis > CommitDate: 2026-11-06 13:58:14 +0000 > > sys/security/audit: add kern_ implementations > > Effort: CHERI upstreaming > Sponsored by: Innovate UK > PR: https://github.com/freebsd/freebsd-src/pull/2284 I've got a pile (40+) of these queue in the PR and I'm going to start trickling them in. They don't each explain why becuase it would all be the same and the changes are fairly mechanical. The TL;DR is that when doing freebsd32 or freebsd64 in CHERI, we need a place to construct bounded pointers from integer pointer arguments to syscalls so the kernel can use them to access userspace. The changes are generally trivial, just adding a shim function (usually kern_, but sometimes user_ if a kern function already exists and has complex consumers). Actual compat layer changes will follow later. -- Brooks