summaryrefslogtreecommitdiffstats
path: root/man (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-06-10docs: desaturate dark-mode background colorBenjamin Franzke1-1/+2
The documentations dark-mode background color as added in #23417 was perceived to be too purple-y [1] and is therefore replaced by a desaturated black that is derived from the systemd brand-black using 12% less HSL saturation. [1] https://github.com/systemd/systemd/pull/23417#issuecomment-1146323820
2022-06-10test: import timedated test from debian/ubuntu test suiteYu Watanabe5-0/+311
2022-06-10test: drop redundant IMAGE_NAME=Yu Watanabe3-3/+0
If it is not specified, then "default" will be used.
2022-06-10boot/efi-string: check the end of haystack before testing remaining patternYu Watanabe2-5/+2
Fixes buffer-overflow reported at https://github.com/systemd/systemd/pull/23589#issuecomment-1151820341.
2022-06-10fix: sd_id128_get_invocation now works for user servicesi-do-cpp1-1/+4
2022-06-10tree-wide: fix typoYu Watanabe3-3/+3
2022-06-09po: Translated using Weblate (Estonian)H A1-37/+42
Currently translated at 18.5% (35 of 189 strings) Co-authored-by: H A <contact+fedora@hen.ee> Translate-URL: https://translate.fedoraproject.org/projects/systemd/master/et/ Translation: systemd/main
2022-06-09test: account for ADDR_NO_RANDOMIZE if it's setFrantisek Sumsal1-4/+12
On ppc64le sanitizers disable ASLR (i.e. by setting ADDR_NO_RANDOMIZE), which opinionated_personality() doesn't return. Let's tweak the current personality ourselves in such cases. See: https://github.com/llvm/llvm-project/commit/78f7a6eaa601bfdd6ae70ffd3da2254c21ff77f9 Resolves: #23666
2022-06-09bpf: use __always_inline macro in restrict-ifaces.bpf.cJames Hilliard1-1/+1
This appears to be more reliable at inlining with some compilers.
2022-06-09meson: Build with frame pointers in developer modeDaan De Meyer1-0/+4
Profiling tools tend to work better when binaries and libraries are compiled with frame pointers as without them there's no easy and fast way to get the current stacktrace.
2022-06-09shutdown: Lazy unmount /oldroot/{dev,proc,sys}Jan Janssen1-0/+11
These should not prevent us from cleaning up the remainders of /oldroot if something in the kernel is blocking these from being unmounted.
2022-06-09shutdown: Log processes that block umountJan Janssen1-3/+63
2022-06-09shutdown: Rename umount_log_level and make it a boolJan Janssen3-50/+44
This was already effectively a bool because only ever two states were valid. To make the meaning of it more clear, also rename it to last_try.
2022-06-09systemctl: simplify code a bitZbigniew Jędrzejewski-Szmek1-4/+5
gcc insists that bus may be used unitialized here, but I don't see any possibility of that.
2022-06-09shared/bus-util: rename variables to follow newer styleZbigniew Jędrzejewski-Szmek2-14/+12
2022-06-09shared/bus-util: simplificationZbigniew Jędrzejewski-Szmek1-17/+9
2022-06-09test-udev-util: do not pass NULL to printf, style fixesZbigniew Jędrzejewski-Szmek1-8/+8
2022-06-09test-process-util: do not pass NULL to printf, simplify testsZbigniew Jędrzejewski-Szmek1-6/+7
We don't need to fork to test that the function returns -EINVAL on null input. So let's simplify things a bit.
2022-06-09test-dns-domain: a few more "NULL in printf %s"sZbigniew Jędrzejewski-Szmek1-10/+10
2022-06-09test-fstab-util: one more "NULL in printf %s"Zbigniew Jędrzejewski-Szmek1-3/+3
2022-06-09various: indentationZbigniew Jędrzejewski-Szmek2-11/+11
2022-06-09docs/AUTOMATIC_BOOT_ASSESSMENT: describe how to integrate a DE viability checkZbigniew Jędrzejewski-Szmek1-28/+45
I reordered the component list to match chronological order: we first install an entry, then boot it, then the checks happen, etc. Before it was ordered by "importance", but that is harder to follow.
2022-06-09docs/BLS: move "boot counting" into the main specZbigniew Jędrzejewski-Szmek2-63/+118
The boot-counting file-renaming entry-sorting part that the boot loader implements is moved to the main document. The second document describes a specific implementation that is provided through systemd units. The sorting algorithm is extended to say that bad entries should be sorted later. I also added a note that bad entries should be available for booting. For some reason, the second document said that it applies only to EFI systems. AFAIK there are no implementations for non-EFI, but the specification should work just fine, if somebody were to implement it. So that part is dropped. Fixes #23345. Sadly, bootctl doesn't implement sorting of boot entries with counting :(((( But I'm leaving that for another PR.
2022-06-09boot: Drop use of DuplicateDevicePathJan Janssen1-1/+17
2022-06-09boot: Don't copy device pathJan Janssen1-6/+1
BS->LocateDevicePath only advances the passed device path pointer. It does not actually modify it, so there is no need to make a copy.
2022-06-09boot: Drop use of LibLocateHandleJan Janssen1-2/+2
2022-06-09boot: Drop use of UnpackDevicePathJan Janssen1-12/+13
Device paths are a packed data structure and the UEFI spec is clear that members may be misaligned. In this case all accesses are aligned except for the signature. We can simply memcpy it instead of making a whole (aligned) copy of the device path.
2022-06-09boot: Drop use of FileDevicePathJan Janssen4-6/+44
2022-06-09boot: Use xmallocJan Janssen11-83/+72
This drops the unused xnew0 and xallocate_zero_pool as there is only two users of it. _cleanup_freepool_ will be phased out once the types in the declarations are changed/renamed.
2022-06-09boot: Add xmallocJan Janssen2-13/+43
2022-06-09boot: Drop use of DevicePathFromHandleJan Janssen2-7/+10
2022-06-09boot: Drop use of LibLocateProtocolJan Janssen6-8/+8
2022-06-09boot: Drop use of LibOpenRootJan Janssen5-17/+41
2022-06-09boot: Drop use of LibGetSystemConfigurationTableJan Janssen1-4/+11
2022-06-09boot: Drop use of MetaiMatchJan Janssen2-5/+19
A future commit will add support for unicode collation protocol that allows case folding and comparing strings with locale awareness. But it only operates on whole strings, so fnmatch cannot use those without a heavy cost. Instead we just case fold the patterns instead (the IDs we try to match are already lower case).
2022-06-09boot: Add efi_fnmatchJan Janssen3-0/+155
Unlike MetaiMatch from the UEFI spec/EDK2 this implementation is intended to be compatible with POSIX fnmatch.
2022-06-09bash-completion: add systemd-cryptenroll supportAntonio Alvarez Feijoo2-0/+103
2022-06-09bash-completion: fix typos in commentsAntonio Alvarez Feijoo2-2/+2
2022-06-09Resolve conflicts between #23616 and the recent NFT additionsZbigniew Jędrzejewski-Szmek3-36/+22
2022-06-09test-load-fragment: don't print NULLsZbigniew Jędrzejewski-Szmek1-2/+2
2022-06-09test-bus-address: silence gcc warning about NULL arg to strcmp()Zbigniew Jędrzejewski-Szmek1-7/+5
The code was overly complicated… We know what value we expect, we can test it directly.
2022-06-09test-mountpoint-util: fix NULL arg to %sZbigniew Jędrzejewski-Szmek1-1/+1
2022-06-09sd-journal: inline variable declarationsZbigniew Jędrzejewski-Szmek1-16/+9
2022-06-09sd-journal: use _cleanup_Zbigniew Jędrzejewski-Szmek1-29/+18
2022-06-09hwdb: Add HP Dev OneJeremy Soller1-0/+5
This enables the microphone mute and programmable hotkey for the HP Dev One.
2022-06-09meson: Add nspawn-locale meson optionDaan De Meyer3-4/+6
https://github.com/systemd/systemd/pull/23192 caused breakage in Arch Linux's build tooling. Let's give users an opt-out aside from reverting the patch. It's hardly any maintenance work on our side and gives users an easy way to revert the locale change if needed. Of course, by default we still pick C.UTF-8 if the option is not specified.
2022-06-09nspawn: use udev_available()Nick Rosbrook1-1/+1
2022-06-09libsystemd-network: use udev_available()Nick Rosbrook1-2/+1
2022-06-08cifuzz: build fuzzers on i386 as wellEvgeny Vereshchagin1-2/+7
It's a follow-up to https://github.com/systemd/systemd/pull/23550.
2022-06-08po: Added translation using Weblate (Estonian)H A2-0/+848
Co-authored-by: H A <contact+fedora@hen.ee>