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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 52499 Build 49390: arc lint + arc unit
Event Timeline
Comment Actions
I'm slightly unhappy about the loss of grep-ability, but this does seem to be the best solution given our explosion of LIBCOMPAT's downstream.
libexec/rtld-elf/rtld_paths.h | ||
---|---|---|
79 | Does a /lib32 etc actually make sense? |
libexec/rtld-elf/rtld_paths.h | ||
---|---|---|
79 | It does if there are 32-bit tools on a 64-bit system needed to mount /usr, I guess. It shouldn't do any harm to have, and it's more code to make it not be there. I can remove it if wanted, but not as part of this NFC commit (and series, mostly). |
libexec/rtld-elf/rtld.c | ||
---|---|---|
807 | May be kernel should pass the real interp path as aux string? |
libexec/rtld-elf/rtld.c | ||
---|---|---|
807 | I would like that, but as a followup change. |