diff options
author | Olivier Certner <olce@FreeBSD.org> | 2025-03-11 16:56:20 +0000 |
---|---|---|
committer | Olivier Certner <olce@FreeBSD.org> | 2025-10-07 08:14:41 +0000 |
commit | d3bfcd66409befc2d545e5449963b41c25c369a9 (patch) | |
tree | 1a148fa9f2029d97fb2e53ccd3b29a0d04047247 /secure/lib/libcrypto/man/man3/SSL_CONF_cmd_argv.3 | |
parent | 488718ff42346888243496c00cbeb42ba004171e (diff) |
What we really want here is to know if pointers can refer to 64-bit
addresses, regardless of whether they also hold other information (such
as capabilities in CHERI). __SIZEOF_SIZE_T__ is probably the closest
indication to that piece of information, so let's use it. __ILP32__
wasn't wrong in practice though, as we don't support 32-bit CHERI
hardware (and likely never will).
Consistently with this change, test whether we can actually address the
64-bit SMBIOS's structure table by converting the end address to
'size_t' and checking whether its value is preserved.
Suggested by: jhb (for the __ILP32__ => __SIZEOF_SIZE_T__ part)
Reviewed by: jhb, imp
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D49318
Diffstat (limited to 'secure/lib/libcrypto/man/man3/SSL_CONF_cmd_argv.3')
0 files changed, 0 insertions, 0 deletions