Page MenuHomeFreeBSD

contrib/ck: keep dcas parameters thin under bounds-safety
Needs ReviewPublic

Authored by abhijeetsharma2002_gmail.com on Wed, Aug 19, 12:03 PM.
Tags
None
Referenced Files
F168183441: D58986.diff
Wed, Aug 26, 6:31 PM
Unknown Object (File)
Tue, Aug 25, 3:07 PM
Unknown Object (File)
Tue, Aug 25, 2:06 PM
Unknown Object (File)
Tue, Aug 25, 11:23 AM
Unknown Object (File)
Sat, Aug 22, 5:17 PM
Unknown Object (File)
Sat, Aug 22, 12:59 PM
Unknown Object (File)
Sat, Aug 22, 12:49 PM
Unknown Object (File)
Wed, Aug 19, 12:28 PM
Subscribers

Details

Summary

Under -fbounds-safety a uint64_t [2] parameter becomes a bounds-carrying
pointer, which cannot be an inline assembly operand. Plain uint64_t * is
identical in C and carries no bound. Vendor declarations stay in the
#else for the next CK import.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 75739
Build 72622: arc lint + arc unit