#
1235d276 |
| 27-Sep-2024 |
Brooks Davis <brooks@FreeBSD.org> |
lib{c,sys}: stop exposing errno symbol
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
lib{c,sys}: stop exposing errno symbol
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
show more ...
|
Revision tags: release/13.4.0 |
|
#
42c545c5 |
| 20-Jun-2024 |
Brooks Davis <brooks@FreeBSD.org> |
libsys: sort Symbol.map
Fixes: 7448408656b0 Make __libsys_interposing_slot libsys only
|
Revision tags: release/14.1.0 |
|
#
397d8f3c |
| 30-Apr-2024 |
Brooks Davis <brooks@FreeBSD.org> |
libsys: don't try to expose freebsd7___semctl
This has always been in libc and never exported directly. I accidently included it along side some freebsd11_* symbols based on a tree where I moved se
libsys: don't try to expose freebsd7___semctl
This has always been in libc and never exported directly. I accidently included it along side some freebsd11_* symbols based on a tree where I moved semctl(2).
Fixes: df1a09ba524d0 libsys: expose a few more symbols for libc's use
show more ...
|
#
74484086 |
| 22-Apr-2024 |
Brooks Davis <brooks@FreeBSD.org> |
Make __libsys_interposing_slot libsys only
Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D44881
|
#
df1a09ba |
| 16-Apr-2024 |
Brooks Davis <brooks@FreeBSD.org> |
libsys: expose a few more symbols for libc's use
These private symbols are used by libc so expose as we do with auxargs bits rather then relying on duplicate implementations in libc.
Reviewed by: k
libsys: expose a few more symbols for libc's use
These private symbols are used by libc so expose as we do with auxargs bits rather then relying on duplicate implementations in libc.
Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D44114
show more ...
|
#
83392afe |
| 07-Mar-2024 |
Brooks Davis <brooks@FreeBSD.org> |
libsys: don't expose __init_elf_aux_vector
__init_elf_aux_vector is now complied statically so don't try to export it from the dynamic library.
Fixes: 8271d9b99a3b libsys: remove usage of pthread_o
libsys: don't expose __init_elf_aux_vector
__init_elf_aux_vector is now complied statically so don't try to export it from the dynamic library.
Fixes: 8271d9b99a3b libsys: remove usage of pthread_once and _once_stub
Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D44237
show more ...
|
Revision tags: release/13.3.0 |
|
#
99ea6757 |
| 19-Feb-2024 |
Brooks Davis <brooks@FreeBSD.org> |
lib{c,sys}: move auxargs more firmly into libsys
Continue to filter the public interface (elf_aux_info()), but entierly relocate the private interfaces (_elf_aux_info(), __init_elf_aux_vector(), and
lib{c,sys}: move auxargs more firmly into libsys
Continue to filter the public interface (elf_aux_info()), but entierly relocate the private interfaces (_elf_aux_info(), __init_elf_aux_vector(), and __elf_aux_vector) to libsys.
This ensures that rtld updates the correct (only) copy of __elf_aux_vector. After 968a18975adc9c2a619bb52aa2f009de99fc9e24 updates were confused and __getosreldate was failing, causing the system to fall back to compat compat12 syscalls in some cases.
Return to explicitly linking libc to libsys and link libthr with libc and libsys (in that order).
Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D43910
show more ...
|