summaryrefslogtreecommitdiffstats
path: root/src/binfmt/binfmt.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-12-23boot: Use correct handle to find TextInputEx protocolJan Janssen1-31/+56
LibLocateProtocol will return the protocol for the first device that supports it. But it may not actually come from the ConIn device that we want to use here. This should be the root cause of what was previously considered just broken firmware. If you ask the wrong device to return some key, of course it will never provide one. This changes the way we handle input yet again in light of this new knowledge and because using the correct TextInputEx with fallback to ConIn can actually create double input in some cases. Since we are now confident that we get the right TextInputEx, we can use that exclusively, only falling back to ConIn if the console input device does not support the better interface (the spec is pretty clear that it must support it, though). Because some firmware is broken, we still need to provide a fallback to the previously used TextInputEx thats overrides ConIn/ConInEx if it is functional.
2021-12-23NEWS: update contributors list and release dateYu Watanabe1-11/+12
2021-12-23hwdb: update hwdb for v250-finalYu Watanabe5-35/+296
Generated by `meson compile -C build update-hwdb update-hwdb-autosuspend`.
2021-12-23machined: set TTYPath for container shellLudwig Nussel1-1/+2
TTYPath is needed for proper utmp registration of the shell to receive wall messages.
2021-12-23man: reindent and rebreak systemd.networkYu Watanabe1-1785/+1907
Also fixes the following: - IPServiceType= is moved to [DHCPv4] section, - drop an incorrect sentence in RouteMTUBytes= in [DHCPv4] section. - drop unnecessary word 'unsigned'.
2021-12-23meson: fix typoYu Watanabe1-1/+1
2021-12-23analyze: do not connect to DBUS with --offlineLuca Boccassi2-4/+6
Co-authored-by: Lucas Werkmeister <mail@lucaswerkmeister.de>
2021-12-22boot: Use -fvisibility=hidden instead of -fwhole-programJan Janssen1-1/+2
It's functionally the same for sd-boot, but using visibilty is generally preferred over whole-program.
2021-12-22meson: make it compatible with AFL and honggfuzz againEvgeny Vereshchagin1-0/+3
afl-clang and hufzz-clang try to instrument the code and the underlying compilers don't like it. It should probably be fixed in both afl and honggfuzz eventually but until then let's just use "raw" clang to build bpf-skeletons. It's a follow-up to https://github.com/systemd/systemd/pull/21607
2021-12-22test: wait for user inactiveYu Watanabe1-0/+7
The user may be busy when auto-rebalancing the user's home device. Workaround for #21589. --- Dec 01 15:03:15 H systemd-homework[1078]: Provided password unlocks user record. Dec 01 15:03:15 H systemd-homework[1078]: Image file '/home/test-user.home' already locked, can't use. Dec 01 15:03:15 H systemd-homed[240]: Worker reported error code EADDRINUSE. Dec 01 15:03:15 H systemd-homed[240]: Activation failed: Address already in use ---
2021-12-22test: remove test-user2Yu Watanabe1-0/+15
Otherwise, we cannot run the test multiple times.
2021-12-22home: update log messageYu Watanabe2-2/+2
The ratelimit hits even when the all previous attempts are successfull.
2021-12-22test: add test for errno-list.[ch]Yu Watanabe2-0/+36
2021-12-22errno-name: drop aliases defined for specific archYu Watanabe1-0/+4
In kernel's arch/parisc/include/uapi/asm/errno.h, ECANCELLED and EREFUSED are defined as aliases of ECANCELED and ECONNREFUSED, respectively. Let's drop them. Fixes #21844.
2021-12-22test,static-destruct: Use retain attribute to prevent linker garbage collectionJan Janssen4-2/+8
Fixes: #21847
2021-12-22test: add LoongArch 64bit testcaseXiaotian Wu2-0/+9
2021-12-22virt: add detection for LoongArch 64bitXiaotian Wu1-3/+3
2021-12-22dmi: add LoongArch 64bit supportXiaotian Wu1-1/+1
2021-12-22test: tweak TriggerLimitIntervalSec= if we're running w/o KVM as wellFrantisek Sumsal1-5/+6
since in that case we might be also slow enough to miss the rate-limit window. However, let's not set the trigger limit unconditionally to still have coverage for the unaltered path unit (but without sacrificing CI stability). See: https://github.com/systemd/systemd/pull/21808#issuecomment-998927401
2021-12-21boot: Fix armhf build failureJan Janssen1-0/+14
Fixes: #21842
2021-12-21meson: fix cross compilingYu Watanabe1-1/+1
2021-12-21shared: Remove remaining usages of GPT_ROOT_NATIVE, GPT_USR_NATIVE from ↵Daan De Meyer1-10/+0
dissect-image.c Follow-up for 49ae9d91f9ba68bf3f1a6928152a5969d329bbc2 Fixes #21843
2021-12-21timedatectl: Uniform commas in NTPMessage outputScott Worley1-1/+1
2021-12-20test: tweak the path trigger limit a bit when collecting coverageFrantisek Sumsal1-0/+12
Basically the same thing as in e70103e, but for TEST-63. Uses directives introduced by 47dba9f. Follow-up to aaae822.
2021-12-20NEWS: add missing nounv250-rc3Zbigniew Jędrzejewski-Szmek1-4/+5
2021-12-20journal: Handle partially read HashItem's when punching holesDaan De Meyer1-2/+5
2021-12-20nss-resolve: expose various source-disablement settings as variablesZbigniew Jędrzejewski-Szmek3-11/+73
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2006761: > systemd-resolved always (reverse)-resolves the host's IP addresses and FQDN. > This can be harmful when an application (for instance, a DNS zone manager) is > installed on the same server instance. That application would expect > NXDOMAIN to be returned if the current server's IP does not belong in an > already managed reverse zone. This allows clients of nss-resolve to use the same config options that are available through the dbus api and as command-line options to resolvectl. The man page text is is mostly copied directly from c6f20515ab600098b5c2871bae2e9ecab3b41555.
2021-12-20test: add a test case for issue #21817Yu Watanabe1-0/+19
2021-12-20test: install losetup by defaultYu Watanabe4-3/+1
Preparation for the next commit.
2021-12-20NEWS: add note about path unit's TriggerLimitBurst= and TriggerLimitIntervalSec=Luca Boccassi1-0/+6
2021-12-20repart: use real disk start/end for bar productionTom Yan1-8/+6
Partitions are not always within our aligned scope. Bar printing involves foreign partitions as well. Fixes #21817.
2021-12-20hwdb: update for -rc3Zbigniew Jędrzejewski-Szmek9-681/+1456
Just a small bunch of additions and a naming updates.
2021-12-20journal-remote: use MHD_HTTP_CONTENT_TOO_LARGE as MHD_HTTP_PAYLOAD_TOO_LARGE ↵Yu Watanabe2-4/+8
is deprecated since 0.9.74
2021-12-20NEWS: add the boot loader stuffZbigniew Jędrzejewski-Szmek1-0/+43
2021-12-20build(deps): bump actions/upload-artifact from 2.3.0 to 2.3.1dependabot[bot]1-1/+1
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2.3.0 to 2.3.1. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/da838ae9595ac94171fa2d4de5a2f117b3e7ac32...82c141cc518b40d92cc801eee768e7aafc9c2fa2) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2021-12-20man: correctly document default for DNSSEC= and DNSoverTLS=Zbigniew Jędrzejewski-Szmek2-3/+8
https://bugzilla.redhat.com/show_bug.cgi?id=1926323
2021-12-20man: describe flags for record resolvingZbigniew Jędrzejewski-Szmek2-23/+63
2021-12-20man: describe $SYSTEMD_NSS_RESOLVE_VALIDATEZbigniew Jędrzejewski-Szmek1-1/+16
This variable has a pretty important effect, but we didn't mention it anywhere in the docs. It was added in aee9d18c8d909eb7aca2838e4bce5da018b6a112.
2021-12-20basic: add a size check to format timex members properlyMike Gilbert2-2/+5
As of glibc-2.34, the size of members in struct timex varies depending on the _TIME_BITS macro. Fixes: https://github.com/systemd/systemd/issues/21826
2021-12-19sd-radv: do not use goto for non-error-handling casesYu Watanabe1-45/+61
Follow-up for 059d7b6eae827e73c73633bcc40fe74f3696f3f6. The comment https://github.com/systemd/systemd/pull/21814#discussion_r771842132 suggests to introduce new helper, but it is used only one place. Let's not add such, but simply replace the goto with a flag.
2021-12-19logind: Use new macrosNishal Kulkarni4-508/+392
Migrate logind to use the new macros to declare a D-Bus method or signal. Replaced SD_BUS_METHOD_WITH_NAMES with SD_BUS_METHOD_WITH_ARGS. Replaced SD_BUS_SIGNAL_WITH_NAMES with SD_BUS_SIGNAL_WITH_ARGS.
2021-12-19path unit: add TriggerLimitBurst= and TriggerLimitIntervalSec=Luca Boccassi7-4/+63
Given there's now a default for these settings, also allow users to configure them, matching socket units
2021-12-18man: fix typo in systemd.socket.5Luca Boccassi1-1/+1
2021-12-18core: Add trigger limit for path unitsDaan De Meyer4-5/+31
When conditions fail on a service unit, a path unit can cause PID 1 to busy loop as it keeps trying to activate the service unit. To avoid this from happening, add a trigger limit to the path unit, identical to the trigger limit we have for socket units. Initially, let's start with a high limit and not make it configurable. If needed, we can add properties to configure the rate limit similar to the ones we have for socket units.
2021-12-18homed: Use new SD_BUS_METHOD_WITH_ARGS macroNishal Kulkarni2-233/+174
Migrate homed to use the new macros to declare a D-Bus method. Replaced `SD_BUS_METHOD_WITH_NAMES` with `SD_BUS_METHOD_WITH_ARGS`
2021-12-18test-network: add tests for renewing/rebinding leaseYu Watanabe1-61/+60
2021-12-18test-network: introduce dump_dnsmasq_log_file()Yu Watanabe1-0/+5
2021-12-18test-network: use dnsmasq for testing DHCP4-6RDYu Watanabe2-23/+8
2021-12-18test-network: use --bind-interfaces option for dnsmasqYu Watanabe1-2/+2
Also make the interface name and router address configurable.
2021-12-18sd-dhcp-client: add log message when a message is receivedYu Watanabe1-0/+2