diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2019-11-06 19:44:44 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2019-11-06 19:44:44 +0000 |
commit | 89f34d4611aea4dd9d9ad76075e94aead95fa3c4 (patch) | |
tree | 2967a9389c9b39ae27e4d3837cdec863827a0a08 /stand/libsa | |
parent | 0b59366325117cff311b389d33626ef7aff3b502 (diff) | |
download | src-89f34d4611aea4dd9d9ad76075e94aead95fa3c4.tar.gz src-89f34d4611aea4dd9d9ad76075e94aead95fa3c4.zip |
libstats: Improve ABI assertion.
On platforms where pointers are larger than 64-bits, struct statsblob
may be harmlessly padded out such that opaque[] always has some included
space. Make the assertion more general by comparing to the offset of
opaque rather than the size of struct statsblob.
Discussed with: jhb, James Clarke
Reviewed by: trasz, lstewart
Obtained from: CheriBSD
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D22188
Notes
Notes:
svn path=/head/; revision=354409
Diffstat (limited to 'stand/libsa')
0 files changed, 0 insertions, 0 deletions