494ed4d6ee
This ensures that all the features that are implemented via dlopen(3) are available (or explicitly deactivated) by pointing dlopen to the absolute store path instead of relying on the linkers runtime lookup code. All of the dlopen calls have to be handled. When new ones are introduced by upstream (or one of our patches) those must be explicitly declared, otherwise the build will fail. As of systemd version 247 we've seen a few errors like `libpcre2.… not found` when using e.g. --grep with journalctl. Those errors should become less unexpected now. There are generally two classes of dlopen calls. Those that we want to support and those that should be deactivated / unsupported. This change enforces that we handle all dlopen calls explicitly. Meaning: There is not a single dlopen call in the code source tree that we did not explicitly handle. In order to do this I introduced a list of attributes that maps from shared object name to the package that contains them. The package can be null meaning the reference should be nuked and the shared object will never be loadable during runtime (because it points at an invalid store path location). |
||
---|---|---|
.. | ||
0001-Start-device-units-for-uninitialised-encrypted-devic.patch | ||
0002-Don-t-try-to-unmount-nix-or-nix-store.patch | ||
0003-Fix-NixOS-containers.patch | ||
0004-Look-for-fsck-in-the-right-place.patch | ||
0005-Add-some-NixOS-specific-unit-directories.patch | ||
0006-Get-rid-of-a-useless-message-in-user-sessions.patch | ||
0007-hostnamed-localed-timedated-disable-methods-that-cha.patch | ||
0008-Fix-hwdb-paths.patch | ||
0009-Change-usr-share-zoneinfo-to-etc-zoneinfo.patch | ||
0010-localectl-use-etc-X11-xkb-for-list-x11.patch | ||
0011-build-don-t-create-statedir-and-don-t-touch-prefixdi.patch | ||
0012-inherit-systemd-environment-when-calling-generators.patch | ||
0013-add-rootprefix-to-lookup-dir-paths.patch | ||
0014-systemd-shutdown-execute-scripts-in-etc-systemd-syst.patch | ||
0015-systemd-sleep-execute-scripts-in-etc-systemd-system-.patch | ||
0016-kmod-static-nodes.service-Update-ConditionFileNotEmp.patch | ||
0017-path-util.h-add-placeholder-for-DEFAULT_PATH_NORMAL.patch | ||
0018-logind-seat-debus-show-CanMultiSession-again.patch | ||
0019-Revert-pkg-config-prefix-is-not-really-configurable-.patch | ||
default.nix |