aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/powerpc/gen/(developers-only)
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2024-09-27 19:27:46 +0000
committerBrooks Davis <brooks@FreeBSD.org>2024-09-27 19:27:46 +0000
commit1235d276b78a769bded01d51c9bf3cdc480db9fb (patch)
tree07da1dd6264ca5d21008eadc940a8c9f2af75d23 /lib/libc/powerpc/gen/(developers-only)
parent0b325167f60def621536632460caf68e2fab4fb8 (diff)
downloadsrc-main.tar.gz
src-main.zip
lib{c,sys}: stop exposing errno symbolHEADmain
Officially since C11 (and in reality FreeBSD since 3.0 with commit 1b46cb523df3) errno has been defined to be a macro. Rename the symbol to __libsys_errno and move it to FBSDprivate_1.0 and confine it entierly to libsys for use by libthr. Add a FBSD_1.0 compat symbol for existing binaries that were incorrectly linked to the errno symbol during libc.so.7's lifetime. This deliberately breaks linking software that directly links to errno. Such software is broken and will fail in surprising ways if it becomes threaded (e.g., if it triggers loading of a pam or nss module that uses threads.) Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D46780
Diffstat (limited to 'lib/libc/powerpc/gen/(developers-only)')
0 files changed, 0 insertions, 0 deletions