| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
tree-wide: beef up strextend() a bit
|
| |
| |
| |
| |
| |
| |
| | |
This uses GREEDY_ALLOC_ROUND_UP() to grow the allocation size
exponentially. This should speed allocation loops up a bit, given
that we often call strextend() repeatedly in a loop on the same
buffer.
|
| |
| |
| |
| |
| | |
The trailing NULL in the argument list is now implied (similar to
what we already have in place in strjoin()).
|
|/
|
|
|
|
|
|
|
| |
commit 15d7ab87c4e5917f5788f1f8dce327a1e272bea3 introduced the
change to add an 'alias' state, but it was wired to systemctl
only when running in 'client-side' mode. Return success as
expected and documented also when running in 'server-mode'.
Fixes https://github.com/systemd/systemd/issues/18134
|
|
|
|
|
|
| |
New API added upstream:
https://gitlab.com/cryptsetup/cryptsetup/-/commit/8a12f6dc2c75f8fd0c4969fbdc421895eb418072
|
| |
|
|\
| |
| |
| |
| | |
yuwata/network-routing-policy-rule-family-both-fixes
network: fixes related to Family=both in [RoutingPolicyRule]
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
routing_policy_rule_get() in link_set_routing_policy_rules() does not
work when [RoutingPolicyRule] section does not have From= or To=.
|
| |
| |
| |
| | |
By the previous commit, the checks are not necessary any more.
|
| |
| |
| |
| |
| | |
When set_put() returns 0, then already stored rule will be unref()ed
from Manager.
|
| | |
|
|\ \
| | |
| | | |
Fuzz fix timeout
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously, dns_answer_add() was O(n^2).
With this change dns_packet_extract() becomes ~15 times faster for some
extremal case.
Before:
```
$ time ./fuzz-dns-packet ~/downloads/clusterfuzz-testcase-minimized-fuzz-dns-packet-5631106733047808
/home/watanabe/downloads/clusterfuzz-testcase-minimized-fuzz-dns-packet-5631106733047808... ok
real 0m15.453s
user 0m15.430s
sys 0m0.007s
```
After:
```
$ time ./fuzz-dns-packet ~/downloads/clusterfuzz-testcase-minimized-fuzz-dns-packet-5631106733047808
/home/watanabe/downloads/clusterfuzz-testcase-minimized-fuzz-dns-packet-5631106733047808... ok
real 0m0.831s
user 0m0.824s
sys 0m0.006s
```
Hopefully fixes oss-fuzz#19227.
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19227
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |/
| |
| |
| |
| |
| |
| | |
Hopefully fixes oss-fuzz#19081, oss-fuzz#21731, oss-fuzz#21755.
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19081
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21731
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21755
|
|/ |
|
|
|
|
|
|
| |
We already handle foreign routing policy rules correctly by the previous
commit. So, the serialization/deserialization of rules are not necessary
anymore.
|
|
|
|
|
|
|
|
|
|
|
|
| |
networkd already drop foreign address, routes, and nexthops on startup,
except those created by kernel. However, previously, routing policy
rules were not. The logic of serialization/deserialization of rules only
works for rules created by previous invocation of networkd, and does not
work for one created by other tools like `ip rule`.
This makes networkd drop foreign routing policy rules except created by
kernel on startup. Also, remove rules created by networkd when the
corresponding links are dropped or networkd is stopping.
|
| |
|
|
|
|
|
|
| |
support FRA_PROTOCOL
Otherwise, each configured rule is treated as foreign.
|
| |
|
|
|
|
| |
Fixes https://github.com/systemd/systemd/issues/18078
|
|
|
|
|
|
|
|
|
| |
When compiling with CFLAGS='-Werror=maybe-uninitialized -Og' we get a
warning about uninitialized "next_timeout" variable.
Avoid the warning by adding an (unreachable) "default" label.
Fixes: c24288d21ee9 ("sd-dhcp-client: correct dhcpv4 renew/rebind retransmit timeouts")
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
DenyList= filters provided prefixes, not router address.
So, RouteDenyLisy= should so for consistency.
Fixes 16c89e649d248b0fc7c1dc7ad9f3323be4eac0f4.
|
|
|
|
| |
Fix bug introduced by 221019166f315252304b3459902ead613b905de5.
|
| |
|
|
|
|
| |
Follow-up for 16c89e649d248b0fc7c1dc7ad9f3323be4eac0f4.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In situations where a service fails to start, systemd suggests the user to
use "journalctl -xe" to get details about the failure. While running this
command does provide some additional details, most of the information is
similar to what was already printed when the service fails.
often the actual reason for the failure can be found in the logs of the
service that fails to start.
This patch updates the wording to suggest using "-u" to view the service
logs instead.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
|
|
|
|
|
|
|
|
|
|
| |
When set to "kernel", systemd is not supposed to touch that sysctl.
5e0534f1c13cd50ec2b143a8b18156cd37e502f7, part of
https://github.com/systemd/systemd/pull/17240 forgot to handle that
case.
Fixes https://github.com/systemd/systemd/issues/18003
|
|
|
|
| |
IPv6 privacy extensions are plural, not singular.
|
|
|
|
|
|
|
|
| |
This commit adds support for disabling the read and write
workqueues with the new crypttab options no-read-workqueue
and no-write-workqueue. These correspond to the cryptsetup
options --perf-no_read_workqueue and --perf-no_write_workqueue
respectively.
|
|
|
|
|
|
|
|
| |
cdrom_id udev helper does not parse all MMC profiles. Following change
fixes this issue and parse all 34 profiles from all MMC standard versions.
Also it replaces magic constants by macros provided by linux/cdrom.h and
fixes cd_profiles_old_mmc() to issue READ_DISC_INFO command in two steps,
like it is doing kernel and also mkudffs.
|
|
|
|
|
| |
Creates a file or a directory depending on the source path, useful
for creating mount points.
|
|
|
|
| |
Fixes #18039.
|
|
|
|
|
| |
Fixes oss-fuzz#28817.
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28817
|
|
|
|
|
|
|
|
| |
Fixes following warning/error w/ clang:
../src/cryptenroll/cryptenroll-tpm2.c:64:64: error: unused variable 'a' [-Werror,-Wunused-variable]
_cleanup_(json_variant_unrefp) JsonVariant *v = NULL, *a = NULL;
^
1 error generated.
|
|
|
|
| |
Follow-up for 94566540e3863032df3a8a89f948b94d764ca2b4.
|
|\
| |
| | |
hostname: fix build failure
|
| |
| |
| |
| |
| |
| | |
Follow-up for b9d8069832425b34211a6812e06537e0c50d46b6.
libudev.h was dropped from most of our binaries.
|
|/
|
|
| |
As sizeof(int64_t) is always 8.
|
|\
| |
| | |
hostnamed: Add "Model" field
|