diff options
author | Mariusz Zaborski <oshogbo@FreeBSD.org> | 2021-03-24 21:10:33 +0000 |
---|---|---|
committer | Mariusz Zaborski <oshogbo@FreeBSD.org> | 2021-03-24 22:40:48 +0000 |
commit | f90218886fc82e7b1fdb9e241adc5d713dadabe3 (patch) | |
tree | 8a080321c742e9e91ae69d30d856cedc596ec660 /sys/compat/linuxkpi/common/include | |
parent | 852a88a1d92500028f1364a4afc58955190db7a5 (diff) | |
download | src-f90218886fc82e7b1fdb9e241adc5d713dadabe3.tar.gz src-f90218886fc82e7b1fdb9e241adc5d713dadabe3.zip |
rtld: introduce PRELOAD_FDS
The new PRELOAD_FDS variable accepts a list of file descriptors
that should be loaded into the process.
This may be used to optimize a loading process - in the case when
we already have a file descriptor to the library; we don't have
to look into multiple PATH to find it.
It may also be used in capability mode to load a single additional
library without the need to open a directory that contains it.
The last use of this functionality t may be a race-free method
of loading libraries.
Reviewed by: kib, markj
Differential Revision: https://reviews.freebsd.org/D29334
Diffstat (limited to 'sys/compat/linuxkpi/common/include')
0 files changed, 0 insertions, 0 deletions