From owner-svn-src-head@freebsd.org Mon Jul 9 08:49:42 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1E64310313BC for ; Mon, 9 Jul 2018 08:49:42 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C126B8BBF1; Mon, 9 Jul 2018 08:49:41 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 6544E5A9F17; Mon, 9 Jul 2018 08:49:35 +0000 (UTC) Date: Mon, 9 Jul 2018 08:49:35 +0000 From: Brooks Davis To: John Baldwin Cc: Brooks Davis , svn-src-head@freebsd.org Subject: Re: svn commit: r336023 - in head/sys: kern netinet Message-ID: <20180709084935.GA85898@spindle.one-eyed-alien.net> References: <201807061003.w66A3X6Z082209@repo.freebsd.org> <1e5035b3-3b4e-9095-50b9-6fed7be0181e@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zhXaljGHf11kAtnf" Content-Disposition: inline In-Reply-To: <1e5035b3-3b4e-9095-50b9-6fed7be0181e@FreeBSD.org> User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2018 08:49:42 -0000 --zhXaljGHf11kAtnf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 06, 2018 at 09:24:22AM -0700, John Baldwin wrote: > On 7/6/18 3:03 AM, Brooks Davis wrote: > > Author: brooks > > Date: Fri Jul 6 10:03:33 2018 > > New Revision: 336023 > > URL: https://svnweb.freebsd.org/changeset/base/336023 > >=20 > > Log: > > Correct breakage on 32-bit platforms from r335979. >=20 > Do we still need the kvaddr_t casts after the uintptr_t cast? Are those > only required for CHERI (and perhaps if we change the default of how > uintptr_t gets converted to an int to default to the vaddr we may find > we won't need them at all even on CHERI)? The kvaddr_t casts are probably unnecessicary on FreeBSD. I'll look at removing them. The uintptr_t casts are currently harmless on CHERI in hybrid mode and broken in pure-capbiltiy mode until we change uintptr_t cast behavior. -- Brooks --zhXaljGHf11kAtnf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJbQyGeAAoJEKzQXbSebgfAzn0H+weX1F7OjikL74LM0Se+Ek4+ oWgqtAV9cpCPeLYtS6g0Bj8r7Jv17wQmhrHSo2Y9EwOLjRmmUIEJeagOg0RQ1+KR vOgRvslprZE8FyfFAUFZkojUNAQWiX0D0EZydFSIzEGHIAgyzA68IodnXnK6c/eD slDGPTBOKSCvGNQn/WSqFyVdd5eh5Ijy+rp6hdoPIQssElKBC+9bdmDT3TSlaL59 +qd6wFK301ZNSZQN4hRqCcXBUObAvMy9yUP3+zN8f/OYOpxf+bqSKfgb7CkYEZOJ DnlaA0EUjgXMEQwPusTKb42TiVlHXxYKYwVFkfrsikPtBwEKG2FYifwgBfWEEfk= =sZZI -----END PGP SIGNATURE----- --zhXaljGHf11kAtnf--