Find a file
Lennart Poettering 637d57ddfd image-policy: split out code that "extends" underspecified partition policy flags
When encoding partition policy flags we allow parts of the flags to be
"unspecified" (i.e. entirely zeros), which when actually checking the
policy we'll automatically consider equivalent to "any" (i.e. entirely
ones). This "extension" of the flags was so far done as part of
partition_policy_normalized_flags(). Let's split this logic out into a
new function partition_policy_flags_extend() that simply sets all bits
in a specific part of the flags field if they were entirely zeroes so
far.

When comparing policy objects for equivalence we so far used
partition_policy_normalized_flags() to compare the per-designator flags,
which thus meant that "underspecified" flags, and fully specified ones
that are set to "any" were considered equivalent. Which is great.
However, we forgot to do that for the fallback policy flags, the flags
that apply to all partitions for which no explicit policy flags are
specified.

Let's use the new partition_policy_flags_extend() call to compare them
in extended form, so that there two we can hide the difference between
"underspecified" and "any" flags.
2023-04-27 01:35:06 +01:00
.clusterfuzzlite ci: unpin CFLite 2022-04-26 09:13:57 +00:00
.github mkosi: Update fedora to release 38 2023-04-25 11:25:36 +02:00
.semaphore test: drop whitespace after shell redirection operators 2023-02-06 09:19:04 +01:00
catalog man,catalog: fix typo 2023-02-24 08:52:42 +09:00
coccinelle coccinelle: add a transformation for GNU conditionals 2023-03-18 14:23:11 +01:00
docs docs: fix LoadCredentialEncrypted example (#27387) 2023-04-25 15:41:01 +02:00
factory vconsole: allow setting default keymap through build option 2023-02-15 20:00:51 +00:00
hwdb.d hwdb: disable entry for Logitech USB receiver used by G502 X 2023-04-19 21:14:03 +01:00
LICENSES network: change license of examples to MIT-0 2022-10-26 08:39:34 +02:00
man man: use ukify more in systemd-measure examples 2023-04-27 00:25:09 +01:00
mkosi.conf.d mkosi: add tmpfiles to create debian/ubuntu /etc/default/locale link 2023-04-24 10:47:29 +01:00
mkosi.extra mkosi: Always disable sshd, dnsmasq and isc-dhcp-server 2023-04-15 21:06:32 +02:00
modprobe.d meson: install the right README file in modprobe.d 2021-07-07 14:52:05 +02:00
network meson: Install missing network file 2023-01-27 17:50:27 +01:00
po po: Translated using Weblate (Galician) 2023-04-15 03:07:01 +08:00
presets journal: give the ability to enable/disable systemd-journald-audit.socket 2023-01-11 17:18:57 +01:00
rules.d udev/iocost: invert DEVTYPE match 2023-04-26 14:50:25 +09:00
shell-completion portablectl: add --extension to bash completion 2023-04-26 08:35:20 +09:00
src image-policy: split out code that "extends" underspecified partition policy flags 2023-04-27 01:35:06 +01:00
sysctl.d tree-wide: link to docs.kernel.org for kernel documentation 2022-07-04 19:56:53 +02:00
sysusers.d sysusers: also add root group 2023-02-15 10:29:10 +09:00
test Merge pull request #27355 from fbuihuu/kbd-improve-vc2x11-conversion 2023-04-26 23:37:53 +01:00
tmpfiles.d tmpfiles.d: drop misleading comment 2023-02-21 13:46:39 +01:00
tools tools: add dump-auxv.py 2023-03-24 18:49:34 +00:00
units Support /etc/system-update for OSTree systems 2023-04-25 17:40:41 +02:00
xorg xorg/50-systemd-user: add a full license header 2021-10-01 14:45:00 +02:00
.clang-format clang-format: Adjust style of pointers 2022-05-30 04:00:54 +09: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 mkosi: Use 4 space indentation for scripts 2023-02-21 14:22:52 +01:00
.gitattributes gitattributes: introduce and use "generated" attribute 2021-10-18 09:42:55 +02:00
.gitignore mkosi: Update to latest 2023-03-29 13:27:19 +02:00
.mailmap mailmap: two more names 2021-03-30 13:17:58 +02:00
.packit.yml packit: drop/replace deprecated directives 2022-12-15 21:48:49 +09:00
.vimrc scripts: use 4 space indentation 2019-04-12 08:30:31 +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
configure tools: shellcheck-ify tool scripts 2021-09-30 12:27:06 +02:00
LICENSE.GPL2
LICENSE.LGPL2.1
Makefile tree-wide: add spdx header on all scripts and helpers 2021-01-28 09:55:35 +01:00
meson.build meson: move bpf hookup into main meson build file 2023-04-24 17:10:08 +02:00
meson_options.txt tree-wide: Drop gnu-efi 2023-03-10 11:41:03 +01:00
mkosi.build mkosi: Make sure we always boot our built from source kernel 2023-04-05 16:20:28 +02:00
mkosi.kernel.config mkosi: Update bundled kconfig 2023-04-05 17:19:24 +02:00
mkosi.postinst mkosi: move debian/ubuntu ignore preset to config directory 2023-04-24 10:46:39 +01:00
mkosi.prepare mkosi: Use globs instead of prepare script to install extra packages 2023-02-10 16:05:32 +01:00
NEWS doc: replace wrong á preposition by à 2023-03-07 13:06:43 +01:00
README docs: update unit name for sd-tmpfiles-setup 2023-03-19 01:32:50 +08:00
README.md README: add a Weblate badge 2023-04-20 22:06:28 +02:00
TODO update TODO 2023-04-26 22:21:19 +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 8
CentOS CI - Arch
CentOS CI - Arch (sanitizers)
CentOS CI - Rawhide (SELinux)
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 or join our IRC channel.

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