Page MenuHomeFreeBSD

rtld: intrdouce PRELOAD_FDS
AbandonedPublic

Authored by oshogbo on Mar 18 2021, 8:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 27 2024, 7:56 AM
Unknown Object (File)
Dec 23 2023, 7:52 AM
Unknown Object (File)
Dec 10 2023, 5:05 PM
Unknown Object (File)
Dec 10 2023, 7:23 AM
Unknown Object (File)
Dec 6 2023, 9:34 AM
Unknown Object (File)
Nov 19 2023, 1:43 AM
Unknown Object (File)
Nov 19 2023, 1:43 AM
Unknown Object (File)
Nov 16 2023, 9:27 AM
Subscribers

Details

Reviewers
None
Group Reviewers
manpages
Summary

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.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 37932
Build 34821: arc lint + arc unit