3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux
Andreas Rammhold 494ed4d6ee
systemd: patch runtime dlopen calls
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).
2021-01-03 11:50:01 +01:00
..
915resolution
acpi
acpi-call
acpid
acpitool
afuse
akvcam linuxPackages.akvcam: init at 1.1.1 2020-11-26 13:06:35 +01:00
alsa-firmware Revert "alsa-firmware: 1.2.1 -> 1.2.4" 2020-12-24 17:17:57 +01:00
alsa-lib alsaLib: 1.2.3 -> 1.2.4 2020-12-23 20:18:24 -05:00
alsa-oss
alsa-plugins
alsa-tools
alsa-topology-conf
alsa-ucm-conf
alsa-utils
amdgpu-pro
anbox treewide: cmake buildInputs to nativeBuildInputs, minor cleanups 2021-01-01 11:52:33 +07:00
android-udev-rules
apparmor apparmor: 2.13.5 -> 2.13.6 2020-12-17 07:32:24 +01:00
asus-wmi-sensors
ati-drivers
atop atop: 2.4.0 -> 2.6.0 2020-12-27 22:56:12 +01:00
audit
autofs autofs: fix compilation fail due to libtirpc changes 2020-11-24 19:53:20 +01:00
batman-adv batman-adv: 2020.3 -> 2020.4 2020-11-09 22:24:11 +01:00
bbswitch
bcc linuxPackages.bcc: 0.16.0 -> 0.17.0 2020-11-06 10:06:34 +01:00
blktrace
bluez
bolt bolt: Disable atime tests 2020-12-07 08:44:08 +01:00
bpftool
bpftrace linuxPackages.bpftrace: 0.11.0 -> 0.11.4 2020-11-28 14:00:09 +01:00
bridge-utils
brillo
broadcom-sta kernelPackages.broadcom_sta: fix build for 5.9 (#106760) 2020-12-30 11:58:49 +01:00
btfs libtorrentRasterbar: rename to libtorrent-rasterbar 2020-12-20 20:51:28 +01:00
busybox
cachefilesd
can-isotp
can-utils
catfs
checkpolicy
checksec
chromium-xorg-conf
cifs-utils cifs-utils: don't check for AC_FUNC_MALLOC when cross compiling 2020-12-13 07:59:06 +01:00
compsize
conky
conntrack-tools
consoletools
conspy
cpufrequtils
cpuid
cpupower
cpuset cpuset: 1.5.8 -> 1.6 2020-12-26 16:03:54 -03:00
cpustat
cramfsprogs
cramfsswap
crda
criu criu: Switch to Python 3 2020-11-29 17:17:20 +01:00
cryptodev
cryptsetup
cshatag
dbus-broker
ddcci
device-tree
devmem2
digimend
directvnc
disk-indicator
displaylink displaylink: manually activate dlm.service 2020-12-21 00:34:31 +01:00
dmidecode
dmraid
dmtcp
dpdk
drbd
dropwatch
dstat
e1000e
earlyoom
ebtables
edac-utils
ell ell: fix cross compilation 2020-12-27 13:20:50 +01:00
ena kernelPackages.ena: 2.2.11 -> 2.3.0 2020-12-18 10:24:12 +08:00
erofs-utils erofs-utils: init at 1.2 2020-12-31 14:43:11 +01:00
eudev utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
evdi evdi: unstable-20200416 -> v1.7.2 2020-12-15 21:02:30 +01:00
eventstat eventstat: 0.04.10 -> 0.04.11 2020-11-13 07:16:05 +00:00
exfat
extrace
facetimehd
fatrace
fbterm
ffado
firejail firejail: fix -overlay and -build functionality on NixOS 2020-11-27 23:14:58 +01:00
firmware raspberrypi-armstubs: init at 2020-10-08 2020-12-31 18:20:49 +01:00
flashbench
fnotifystat
forkstat forkstat: 0.02.15 -> 0.02.16 2020-11-13 10:12:04 +00:00
forktty
freefall
fscrypt
fscryptctl
fswebcam
ftop
fuse fuse3: 3.10.0 -> 3.10.1 (#106162) 2020-12-07 16:37:19 +01:00
fwts
fxload
g15daemon
gcadapter-oc-kmod gcadapter-oc-kmod: init at 1.4 2020-12-04 09:35:01 -08:00
gfxtablet
gobi_loader
gogoclient
google-authenticator
gpu-switch
gradm
guvcview
hal-flash
hd-idle
hdapsd
hdparm hdparm: 9.58 -> 9.60 2020-11-28 00:27:56 +00:00
health-check
hibernate
hostapd
hwdata
hyperv-daemons
i2c-tools i2c-tools: 4.1 -> 4.2 2020-11-03 08:56:06 -08:00
i7z
i810switch
ifenslave
ifmetric
iio-sensor-proxy
ima-evm-utils
input-utils
intel-compute-runtime Merge pull request #97177 from r-ryantm/auto-update/intel-compute-runtime 2020-12-20 09:57:49 +02:00
intel-ocl
intel-speed-select
iomelt
ioport
iotop
iproute iproute2: Update the source hash 2020-12-21 22:21:35 +01:00
ipsec-tools
ipset ipset: 7.7 -> 7.9 2020-11-28 04:41:04 +00:00
iptables iptables: 1.8.5 -> 1.8.6 2020-11-10 15:06:39 +01:00
iptstate
iputils
ipvsadm
irqbalance
it87
iw
iwd iwd: fix cross compilation 2020-12-27 13:47:52 +01:00
ixgbevf
jfbview mupdf: mark 1.17 as insecure but as still required as dependency 2020-11-09 09:57:38 -08:00
jool
jujuutils
kbd
kbdlight
kernel Merge staging-next into staging 2020-12-31 18:42:44 +00:00
kernel-headers linuxHeaders: 5.9.8 -> 5.10.4 2020-12-30 20:03:57 -05:00
kexectools
keyutils
klibc
kmod
kmod-blacklist-ubuntu
kmod-debian-aliases
kmscon
kmscube
latencytop
ldm utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
ledger-udev-rules
libaio libaio: 0.3.111 -> 0.3.112 2020-12-01 14:40:43 +01:00
libatasmart
libbpf
libcap libcap: fix static build 2020-12-08 05:21:05 +01:00
libcap-ng libcap_ng: 0.7.11 -> 0.8 2020-12-08 05:39:01 +01:00
libcgroup
libevdevc
libfabric
libgestures
libnl
libpsm2 libpsm2: 11.2.156 -> 11.2.185 2020-12-20 22:07:34 +01:00
libratbag
libselinux selinux: 2.9 -> 3.0 (#104087) 2020-11-20 14:54:14 +01:00
libsemanage
libsepol selinux: 2.9 -> 3.0 (#104087) 2020-11-20 14:54:14 +01:00
libsmbios
libudev0-shim
libvolume_id
libwebcam treewide: cmake buildInputs to nativeBuildInputs, minor cleanups 2021-01-01 11:52:33 +07:00
light light: 1.2.1 -> 1.2.2 2020-11-26 10:20:17 +00:00
lightum
linuxptp
lksctp-tools
lm-sensors
lockdep
logitech-udev-rules
lsb-release
lsiutil
lsscsi
lttng-modules
lvm2 utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
lxc
lxcfs utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
macchanger
mba6x_bl
mbpfan
mcelog mcelog: 169 -> 173 2020-11-28 19:37:46 +00:00
mdadm utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
metastore
microcode microcodeIntel: 20201112 -> 20201118 2020-11-19 20:30:53 +01:00
mingetty
miraclecast
mkinitcpio-nfs-utils
mmc-utils
molly-guard
msr-tools
mstpd
multipath-tools
musl musl: patch CVE-2020-28928 2020-11-21 00:40:40 +01:00
mwprocapture
mxu11x0
ndiswrapper linuxPackages.ndiswrapper: 1.62-pre -> 1.63 2020-11-18 10:59:38 +01:00
net-tools
netatop
nfs-utils nfs-utils: pass native rpcsvc-proto to configureFlag 2020-12-13 07:57:18 +01:00
nftables nftables: 0.9.6 -> 0.9.7 2020-11-18 15:51:53 +01:00
nmon
nss_ldap
numactl
numad
numatop
numworks-udev-rules
nvidia-x11 nvidia-x11.vulkan_beta: 455.46.02 -> 455.46.04 2020-12-21 16:00:44 -06:00
nvidiabl
nvme-cli
oci-seccomp-bpf-hook
odp-dpdk
ofp
open-iscsi utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
open-isns
opengl/xorg-sys
openrazer utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
openvswitch utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
otpw
pagemon
pam pam: 1.3.1 -> 1.5.1 2020-12-23 12:33:08 -05:00
pam_ccreds
pam_gnupg pam_gnupg: 0.1 -> 0.2 2020-11-04 02:49:33 +00:00
pam_krb5
pam_ldap
pam_mount utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
pam_p11
pam_pgsql
pam_ssh_agent_auth pam-ssh-agent: fix EDCSA crash 2020-12-30 16:44:06 +01:00
pam_u2f
pam_usb
pax-utils
paxctl
paxtest
pcm pcm: 202010 -> 202011 2020-12-01 05:15:01 +00:00
pcmciautils
perf-tools
pflask
phc-intel
piper
pipework
pktgen utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
ply
plymouth
pm-utils utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
pmount utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
policycoreutils
pommed-light
power-calibrate
powerstat
powertop
pps-tools
prl-tools utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
procdump
procps-ng procps-ng: apply sanity check patch of SC_ARG_MAX 2020-12-02 14:46:53 +01:00
pscircle
psftools psftools: enable on darwin 2020-12-09 18:59:05 -05:00
psmisc
r8125
r8168
radeontools
radeontop radeontop: 2019-06-03 -> 1.3 2020-12-29 00:42:28 -08:00
raspberrypi-eeprom rpi-eeprom: unstable-2020-10-05 -> 2020-12-11 2020-12-27 17:01:02 +01:00
rdma-core rdma-core: 31.1 -> 31.2 2020-11-26 18:43:23 +00:00
read-edid
regionset
reptyr
rewritefs
rfkill
roccat-tools
rtkit
rtl88x2bu
rtl88xxau-aircrack
rtl8192eu
rtl8723bs
rtl8812au
rtl8814au
rtl8821au
rtl8821ce
rtl8821cu Bump rtl8821cu for Linux 5.10 support 2020-12-29 19:08:37 -05:00
rtlwifi_new
s6-linux-utils s6-linux-utils: 2.5.1.2 -> 2.5.1.3 2020-11-20 18:15:17 +01:00
sch_cake
schedtool
sd-switch
sdnotify-wrapper
sdparm
selinux-python
selinux-sandbox
semodule-utils
sepolgen
service-wrapper
setools
seturgent
shadow shadow: Add test 2020-12-23 13:28:52 -05:00
sinit
smem
smemstat
speedometer
sssd sssd: fix nss collision with upstream patch 2020-11-24 20:09:04 +01:00
statifier
swapview
syscall_limiter
sysdig Revert "Merge branch 'master' into staging-next" 2020-12-31 08:50:36 +01:00
sysfsutils
sysklogd
syslinux syslinux: fix build on gcc10 2020-12-28 08:43:33 +01:00
sysstat
system76
system76-acpi
system76-io
systemd systemd: patch runtime dlopen calls 2021-01-03 11:50:01 +01:00
systemd-wait
sysvinit
targetcli
tbs
tcp-wrappers
thunderbolt
tiptop
tiscamera
tmon
tomb tomb: 2.8 -> 2.8.1 2020-12-19 21:48:52 +01:00
tp_smapi
tpacpi-bat
trace-cmd tree-wide: unify Bash completions outputs (#103421) 2020-11-12 21:22:18 +00:00
trezor-udev-rules
trinity
tunctl
turbostat
tuxedo-keyboard
uclibc
udisks utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
udisks-glue
undervolt
unstick
untie
upower
usbguard usbguard: fix ambiguous GPL license indicator 2020-12-29 15:56:26 +08:00
usbip
usbtop
usbutils
usermount
util-linux util-linux: removing symfollow 2020-12-27 09:19:20 +01:00
uvcdynctrl
v4l-utils
v4l2loopback
v86d
virtualbox
wireguard linuxPackages.wireguard: 1.0.20200908 -> 1.0.20201112 2020-11-12 13:10:20 +01:00
wireless-tools
wooting-udev-rules
wpa_supplicant
x86_energy_perf_policy
x86info
xf86-input-cmt
xf86-input-wacom
xf86-video-nested
xpadneo
xsensors
zenmonitor
zenpower
zenstates
zfs linuxPackages.zfs: use autoconf 2.69 2020-12-17 12:53:48 +00:00
zsa-udev-rules nixos/zsa: init at unstable-2020-12-16 2020-12-26 09:56:34 +01:00