| #
b3e76948
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
| #
076a4dc5
|
| 09-Jul-2023 |
Jessica Clarke <jrtc27@FreeBSD.org> |
rtld-elf: Remove _PATH_ELF32_HINTS and _COMPAT32_PATH_RTLD
These are no longer referenced, with the one user of each now using the double-underscore version with "32" as an argument instead.
Review
rtld-elf: Remove _PATH_ELF32_HINTS and _COMPAT32_PATH_RTLD
These are no longer referenced, with the one user of each now using the double-underscore version with "32" as an argument instead.
Reviewed by: kib, brooks, jhb Differential Revision: https://reviews.freebsd.org/D40935
show more ...
|
| #
f940929d
|
| 09-Jul-2023 |
Jessica Clarke <jrtc27@FreeBSD.org> |
rtld-elf: Migrate from COMPAT_32BIT to generic COMPAT_libcompat/LIBCOMPAT
We still have a tiny amount of libcompat-specific code in rtld_paths.h, but it's been deduplicated as much as possible, and
rtld-elf: Migrate from COMPAT_32BIT to generic COMPAT_libcompat/LIBCOMPAT
We still have a tiny amount of libcompat-specific code in rtld_paths.h, but it's been deduplicated as much as possible, and in future we may wish to just push these variables down to the few consumers of them and make them use the double-underscore variants with a libcompat argument rather than give them names here.
See commit 8fad2cda93c7 ("bsd.compat.mk: Provide new CPP and sub-make variables") for the context behind this change.
Reviewed by: kib, brooks, jhb Differential Revision: https://reviews.freebsd.org/D40925
show more ...
|
| #
7d8e1e8d
|
| 29-Mar-2023 |
John Baldwin <jhb@FreeBSD.org> |
libcasper: Move helper libraries from /lib/casper to /lib.
These libraries are linked to directly by applications rather than opened at runtime via dlopen().
Discussed with: oshogbo Reviewed by: ma
libcasper: Move helper libraries from /lib/casper to /lib.
These libraries are linked to directly by applications rather than opened at runtime via dlopen().
Discussed with: oshogbo Reviewed by: markj, emaste Differential Revision: https://reviews.freebsd.org/D39245
show more ...
|
| #
8cc44a1e
|
| 10-Nov-2022 |
Konstantin Belousov <kib@FreeBSD.org> |
rtld: add support for the $LIB token
similar to the same token in glibc.
Requested and reviewed by: bapt Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://review
rtld: add support for the $LIB token
similar to the same token in glibc.
Requested and reviewed by: bapt Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D37329
show more ...
|
| #
0d1f0898
|
| 07-Jan-2022 |
Warner Losh <imp@FreeBSD.org> |
rtld-elf: Remove libsoft support
Remove support for loading libsoft libraries.
Sponsored by: Netflix
|
| #
f3401886
|
| 19-Nov-2021 |
Konstantin Belousov <kib@FreeBSD.org> |
rtld_paths.h: Provide _PATH_ELF32_HINTS string, unconditionally
Reviewed by: emaste Tested by: jbeich Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.fr
rtld_paths.h: Provide _PATH_ELF32_HINTS string, unconditionally
Reviewed by: emaste Tested by: jbeich Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D33058
show more ...
|
| #
33dba3bb
|
| 12-Oct-2021 |
Konstantin Belousov <kib@FreeBSD.org> |
rtld-elf/paths.h: Make it usable outside rtld
but still for tightly coupled things like ldd(1)
Rename paths.h to rtld_paths.h. Add guard for rtld-specific externs declarations. Add _COMPAT32_BASENA
rtld-elf/paths.h: Make it usable outside rtld
but still for tightly coupled things like ldd(1)
Rename paths.h to rtld_paths.h. Add guard for rtld-specific externs declarations. Add _COMPAT32_BASENAME_RTLD and _COMPAT32_PATH_RTLD.
Reviewed by: arichardson, jhb Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D32464
show more ...
|
| #
903e0ffd
|
| 29-Oct-2018 |
Alex Richardson <arichardson@FreeBSD.org> |
rtld-elf: compile with WANRS=4 warnings other than -Wcast-align
Reviewed By: kib Approved By: brooks (mentor) Differential Revision: https://reviews.freebsd.org/D17153
|
| #
711a4538
|
| 02-Aug-2018 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Make sure the rtld(1) error messages go to stderr, not stdout. While here fix capitalization of a few nearby strings, add the rtld's file name prefix so it's obvious where the message come from, and
Make sure the rtld(1) error messages go to stderr, not stdout. While here fix capitalization of a few nearby strings, add the rtld's file name prefix so it's obvious where the message come from, and return zero when "-h" is used.
Reviewed by: kib MFC after: 2 weeks Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D16530
show more ...
|
| #
c501d73c
|
| 25-Feb-2016 |
Mariusz Zaborski <oshogbo@FreeBSD.org> |
Convert casperd(8) daemon to the libcasper. After calling the cap_init(3) function Casper will fork from it's original process, using pdfork(2). Forking from a process has a lot of advantages: 1. We
Convert casperd(8) daemon to the libcasper. After calling the cap_init(3) function Casper will fork from it's original process, using pdfork(2). Forking from a process has a lot of advantages: 1. We have the same cwd as the original process. 2. The same uid, gid and groups. 3. The same MAC labels. 4. The same descriptor table. 5. The same routing table. 6. The same umask. 7. The same cpuset(1). From now services are also in form of libraries. We also removed libcapsicum at all and converts existing program using Casper to new architecture.
Discussed with: pjd, jonathan, ed, drysdale@google.com, emaste Partially reviewed by: drysdale@google.com, bdrewery Approved by: pjd (mentor) Differential Revision: https://reviews.freebsd.org/D4277
show more ...
|
| #
3dda93b9
|
| 18-Jan-2016 |
Warner Losh <imp@FreeBSD.org> |
Restore ABI variants now that ldconfig groks -soft. In addition, as a transition mechanism, if we don't have /usr/libsoft, assume that soft float ABI binaries are the default, so treat them as defaul
Restore ABI variants now that ldconfig groks -soft. In addition, as a transition mechanism, if we don't have /usr/libsoft, assume that soft float ABI binaries are the default, so treat them as default binaries. When we've fully transitioned, it will make no sense to do this stat, and it will be removed.
show more ...
|
| #
8fd53f45
|
| 03-Jan-2016 |
Warner Losh <imp@FreeBSD.org> |
Create a generalized exec hook that different architectures can hook into if they need to, but default to no action.
Differential Review: https://reviews.freebsd.org/D2718
|
| #
3deca56f
|
| 31-Oct-2015 |
Warner Losh <imp@FreeBSD.org> |
Rather than using the #define for path names, indirect through a char * variable that could change for different executable types detected.
|
| #
b2a4014c
|
| 31-Oct-2015 |
Warner Losh <imp@FreeBSD.org> |
Move all the paths into a new path.h to centralize them.
|