Go to file
Lennart Poettering bd4beaa2eb tree-wide: always do dlopen() with RTLD_NOW + RTLD_NODELETE
Let's systematically use RTL_NOW|RLTD_NODELETE as flags passed to
dlopen(), across our codebase.

Various distros build with "-z now" anyway, hence it's weird to specify
RTLD_LAZY trying to override that (which it doesn't). Hence, let's
follow suit, and just do what everybody else does.

Also set RTLD_NODELETE, which is apparently what distros will probably
end up implying sooner or later anyway. Given that for pretty much all
our dlopen() calls we never call dlclose() anyway, let's just set this
everywhere too, to make things systematic.

This way, the flags we use by default match what distros such as fedora
do, there are no surprises, and read-only relocations can be a thing.

Fixes: #34537
2024-10-02 07:13:21 +02:00
.clusterfuzzlite ci: unpin CFLite 2022-04-26 09:13:57 +00:00
.github build(deps): bump systemd/mkosi 2024-10-01 22:49:03 +02:00
.semaphore semaphore: use variable for Salsa repo URL 2024-05-20 13:14:50 +01:00
catalog catalog: beef up new sysctl message 2024-09-13 07:29:04 +02:00
coccinelle introduce FOREACH_ELEMENT 2024-04-18 17:39:34 +02:00
docs Fix reference to FileDescriptorStoreMax= directive 2024-09-25 16:16:29 +02:00
factory man: don't suggest using pam_unix.so's use_authtok switch 2024-01-17 23:59:05 +00:00
hwdb.d hwbd: use newer KEY_PICKUP_PHONE, KEY_HANGUP_PHONE, KEY_SELECTIVE_SCREENSHOT, KEY_NOTIFICATION_CENTER keycodes where appropriate 2024-10-01 18:46:55 +02:00
LICENSES LICENSES/README: expand text to summarize state for binaries and libs 2024-06-28 13:46:58 +02:00
man Update sd_bus_message_append_array.xml 2024-10-01 15:55:28 +02:00
mime creds-util: add a concept of "user-scoped" credentials 2024-01-30 17:07:47 +01:00
mkosi.conf.d mkosi: Install util-linux-script on Rawhide 2024-09-05 18:38:33 +02:00
mkosi.extra mkosi: Disable pagination in gdb 2024-08-14 14:18:40 +02:00
mkosi.images mkosi: update arch commit reference 2024-09-25 21:23:16 +02:00
mkosi.profiles mkosi: Introduce particle profile 2024-04-30 10:46:18 +02:00
mkosi.repart mkosi: Switch back to btrfs 2024-08-05 15:00:24 +02:00
mkosi.sanitizers mkosi: Don't create sanitizer wrappers for every mkfs binary 2024-09-03 08:48:34 +02:00
modprobe.d modprobe: set 'ifb numifbs=0' to avoid autocreating ifb0 2024-01-12 23:24:54 +00:00
network network: request non-NULL SSID when a wlan interface is configured as station 2024-07-31 10:06:04 +09:00
po po: Translated using Weblate (Portuguese (Brazil)) 2024-09-25 03:07:13 +02:00
presets presets: Don't enable systemd-homed-firstboot.service by default 2024-06-08 11:29:55 +01:00
profile.d shell: define three system credentials we can propagate into shell prompts and welcome messages 2024-09-09 19:03:48 +02:00
rules.d udev: allow persistent storage rules for zram devices 2024-09-11 17:01:26 +02:00
shell-completion shell-completion/analyze: add has-tpm2 2024-09-19 19:08:49 +09:00
src tree-wide: always do dlopen() with RTLD_NOW + RTLD_NODELETE 2024-10-02 07:13:21 +02:00
sysctl.d sysctl.d: Fix pid_max comment 2023-10-31 13:07:49 +01:00
sysusers.d sysusers: simplify meson config 2024-05-14 20:46:24 +02:00
test systemd-integritysetup: accept integrity-algorithm=xxhash64 2024-10-01 11:16:14 +02:00
tmpfiles.d tmpfiles.d: Remove purge flag from lines that don't support it 2024-09-17 23:02:01 +02:00
tools mkosi: add helper script to update mkosi hash 2024-09-12 10:52:52 +02:00
units units: Order ldconfig after systemd-tmpfiles-setup.service 2024-09-24 15:32:58 +02:00
xorg xorg/50-systemd-user: add a full license header 2021-10-01 14:45:00 +02:00
.clang-format Improve the formatting by adding AlignArrayOfStructures and setting it to Right(right justify) 2024-03-06 15:24:23 +01:00
.ctags editors: Prevent ctags from following symlinks 2019-02-15 11:01:20 -08:00
.dir-locals.el scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
.editorconfig editorconfig: add NEWS whitespace configuration 2023-10-26 22:41:03 +01:00
.gitattributes Mark all base64 files as generated 2023-08-16 12:49:45 +02:00
.gitignore gitignore: Ignore /pkg/ instead of pkg/ (#33119) 2024-05-31 14:06:07 +08:00
.gitmodules mkosi: Replace submodules with our own thing 2024-05-30 19:31:32 +02:00
.mailmap mailmap: "reduce contributor count by 13" 2023-08-16 12:49:42 +02:00
.packit.yml Revert "packit: temporarily build systemd without BPF stuff" 2024-02-11 16:45:03 +01:00
.pylintrc Add .pylintrc to globally suppress warnings we don't really care about 2023-08-10 18:13:29 +02:00
.vimrc vimrc: explicitly set shiftwidth for the C file type 2023-09-18 13:11:45 +02:00
.ycm_extra_conf.py ycm: add doc string for all the functions in configuration file 2017-11-29 13:21:49 -07:00
LICENSE.GPL2 relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
LICENSE.LGPL2.1 licence: remove references to old FSF address 2012-12-17 11:41:31 +01:00
meson_options.txt meson: increase default number of available sections for the stub 2024-09-11 04:47:00 +09:00
meson.build bpf: fix cross build failure on Debian 2024-10-01 22:08:06 +02:00
meson.version meson: update version to 257~devel 2024-06-11 22:55:29 +01:00
mkosi.clangd mkosi: Add back support for running clangd within mkosi 2024-09-22 15:23:01 +02:00
mkosi.clean mkosi: Add missing SPDX line 2024-09-22 15:23:08 +02:00
mkosi.conf mkosi: bump mkosi MinimumVersion 2024-09-20 16:45:44 +02:00
mkosi.coredump-journal-storage.conf mkosi: Adapt configuration to take into account configuration rework 2024-07-09 08:07:09 +02:00
mkosi.functions mkosi: Use squashfs for sysext if mkfs.erofs is not available 2024-07-15 16:17:33 +02:00
mkosi.leak-sanitizer-suppressions mkosi: Adapt configuration to take into account configuration rework 2024-07-09 08:07:09 +02:00
mkosi.postinst.chroot ci: Don't add testuser to wheel and systemd-journal groups 2024-09-19 08:47:53 +09:00
NEWS Revert "Preset user units on first boot as well" 2024-10-01 17:33:44 +02:00
README README: update requirements for signed dm-verity 2024-07-04 19:04:58 +02:00
README.md README.md: link bug bounty program 2024-04-11 12:58:53 +02:00
TODO update TODO 2024-10-01 16:50:36 +02:00

Systemd

System and Service Manager

Semaphore CI 2.0 Build Status
Coverity Scan Status
OSS-Fuzz Status
CIFuzz
CII Best Practices
CentOS CI - CentOS 9
CentOS CI - Arch
CentOS CI - Arch (sanitizers)
Fossies codespell report
Weblate
Coverage Status
Packaging status
OpenSSF Scorecard

Details

Most documentation is available on systemd's web site.

Assorted, older, general information about systemd can be found in the systemd Wiki.

Information about build requirements is provided in the README file.

Consult our NEWS file for information about what's new in the most recent systemd versions.

Please see the Code Map for information about this repository's layout and content.

Please see the Hacking guide for information on how to hack on systemd and test your modifications.

Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.

When preparing patches for systemd, please follow our Coding Style Guidelines.

If you are looking for support, please contact our mailing list, join our IRC channel #systemd on libera.chat or Matrix channel

Stable branches with backported patches are available in the stable repo.

We have a security bug bounty program sponsored by the Sovereign Tech Fund hosted on YesWeHack