Checking library symbols

2024-03-16 Thread Taylor R Campbell
[bcc tech-toolchain, followups to tech-userlevel to stay in one place] Every now and then we have some embarrassing bug with accidental removal or exposure of symbols in a shared library. This has been a constant problem with libm (e.g., https://gnats.NetBSD.org/57960, https://gnats.NetBSD.org/57

OpenSSL SHA-2 symbol mess

2024-03-16 Thread Taylor R Campbell
[followups to tech-userlevel; bcc tech-crypto, tech-security, tech-toolchain] tl;dr -- We have an annoying maintenance burden with OpenSSL's SHA-2 API that I'd like to try to reduce. Instead of patching OpenSSL's SHA-2 symbols out in favour of libc's as we do now, what if we just rename the symbo