| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Comments and service modernization
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
No need to have this in basic.
|
|\ \
| | |
| | | |
various follow-ups to socket-bind logic
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In most of our codebase when we referenced "ipv4" and "ipv6" on the
right-hand-side of an assignment, we lowercases it (on the
left-hand-side we used CamelCase, and thus "IPv4" and "IPv6"). In
particular all across the networkd codebase the various "per-protocol
booleans" use the lower-case spelling. Hence, let's use lower-case for
SocketBindAllow=/SocketBindDeny= too, just make sure things feel like
they belong together better.
(This work is not included in any released version, hence let's fix this
now, before any fixes in this area would be API breakage)
Follow-up for #17655
|
| | |
| | |
| | | |
The example configuration is missing half of Quad9's addresses.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Apparently CAN links will show up in rtnetlink with very low MTUs. We
shouldn't consider them relevant if no IP is spoken over them, since
these MTUs are irrelevant for us then.
Hence, let's check if there's an address assigned to the link before
considering its MTU.
As additional safety net filter out MTUs smaller than the minimum DNS
packet size, too.
Finally, in case we don't find any suitable interface MTU, let's default
to 1500 as the generic Ethernet MTU.
Fixes: #19396
|
|\ \ \
| |_|/
|/| | |
network: introduce queue to configure address, route, etc
|
| | | |
|
| | |
| | |
| | |
| | | |
_ipv6ra
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Why is this necessary? Several examples below.
- When a route sets prefsrc, then the address must be already assigned
(see issue #19285), and also it must be ready if IPv6.
- When a route or nexthop sets gateway, then the address must be reachable.
- When a route sets nexthop ID, then the corresponding nexthop must be
assigned.
- When a route sets multipath routes on another interface, then the
interface must exist and be ready to configure.
- When configuring address, the same address must not be under removing
(see issue #18108).
Etc,. etc,...
So, this makes all requests about addresses, routes, and nethops are once
stored in the queue, and will be processed when they are ready to configure.
Fixes #18108 and #19285.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
This will be used in later commits.
|
| | |
| | |
| | |
| | | |
This will be used in later commits.
|
| | |
| | |
| | |
| | |
| | | |
Otherwise, if nexthop_add() fails, then assertion about nexthop_messages in
static_nexthop_handler() will be triggered.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
As routes may requires nexthops and addresses, nexthops may requires
addresses.
|
| | | |
|
| | |
| | |
| | |
| | | |
The function will be used in later commits.
|
| | |
| | |
| | |
| | | |
The function will be used in later commits.
|
| | |
| | |
| | |
| | | |
The function will be used in later commits.
|
| | |
| | |
| | |
| | | |
The function will be used in later commits.
|
| | |
| | |
| | |
| | | |
The interface may not exist when .network files are loaded.
|
| | |
| | |
| | |
| | | |
The function will be used in later commits.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
callback
|
| | | |
|
| |/ |
|
|\ \
| | |
| | | |
varlink ref fix
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Let's make sure that our close handler unrefs a connection again that we
are already unreffing a few stack frames up by invalidating the pointer
first, and dropping the ref counter only after that.
Replaces: 39ad3f1c092b5dffcbb4b1d12eb9ca407f010a3c
Fixes: #18025
|
| |/
| |
| |
| | |
This reverts commit 39ad3f1c092b5dffcbb4b1d12eb9ca407f010a3c.
|
|\ \
| | |
| | | |
boot/efi: install ELF linux.elf.stub in addition to PE linux.efi.stub
|
| | |
| | |
| | |
| | |
| | | |
The primary goal is to make the name of the custom_target() rule match
the output file again. Having them different is confusing.
|
| | |
| | |
| | |
| | | |
As it is not nice to ship ELF binary without a note.gnu.build-id set.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Binutils for non-x86 architectures currently does not support PE binaries. Thus
linux.efi.stub is useless on those, as one cannot use any tooling to add
linux/cmdline/splash sections to it. In addition to PE linux.efi.stub also
install ELF linux.elf.stub, such that one can use objcopy ELF target to copy in
linux/cmdline/splash sections and then convert the result to a PE binary.
|
|\ \ \
| | | |
| | | | |
specifier: refuse too long results
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We usually call specifier_printf() and then check the validity of
the result. In many cases, validity checkers, e.g. path_is_valid(),
refuse too long strings. This makes specifier_printf() refuse such
long results earlier.
Moreover, unit_full_string() and description field in sysuser now
refuse results longer than LONG_LINE_MAX. config_parse() already
refuses the line longer than LONG_LINE_MAX. Hence, it should be ok
to set the same value as the maximum length of the resolved string.
|
| | | | |
|