svn commit: r336023 - in head/sys: kern netinet

Brooks Davis brooks at freebsd.org
Mon Jul 9 08:49:42 UTC 2018


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
> > 
> > Log:
> >   Correct breakage on 32-bit platforms from r335979.
> 
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20180709/52e7e507/attachment.sig>


More information about the svn-src-head mailing list