| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
So that front-ends can ignore them if they wish to.
See https://gitlab.gnome.org/GNOME/cheese/-/merge_requests/4
|
|
|
|
|
|
|
|
| |
Newer webcams and video devices have controls only available through
/dev/media* nodes. Make sure they're accessible in the same way as
/dev/video* nodes.
Closes: #21054
|
|
|
|
| |
since `meson compile` first appears in 0.54.0
|
|\
| |
| | |
network: slightly optimize "networkctl reload"
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
When a .network file is updated but its change is not so big, it is not
necessary to first drop all configs and then reassign later again.
This slightly optimize such situation. First foreignize all configs, and
then drop later when it is not requested by the updated .network file.
|
| | |
|
| | |
|
|\ \
| | |
| | | |
dir_is_empty_at() tweaks
|
| | |
| | |
| | |
| | |
| | |
| | | |
Apparently memory sanitizer doesn't grok getdents64() properly. Let's
address that by explicitly marken memory initialized by getdents64() as
unpoisoned.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
That way we have a single syscall only for it, instead of the multiple
readdir() and friends do. And we can operate entirely on the stack, no
malloc() implicit.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We already have a similar loop twice, let's make it easier to read via
an iteration macro.
(The new macro is a bit more careful even, as it verifies the full
dirent fits into the remaining buffer when returning it)
|
| | |
| | |
| | |
| | |
| | | |
We want to reuse getdents64() wherever necessary, let's hence move
definitions useful for that into public code.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
That way we can fail earlier if the specified fd is not actually a
directory.
(Also, it's not exactly according to standards to open things without
either O_RDONLY/O_RDWR...)
|
| | |
| | |
| | |
| | | |
Otherwise, it is hard to debug when the test fails.
|
| | |
| | |
| | |
| | | |
not configured yet
|
| | |
| | |
| | |
| | |
| | | |
The man page says that when 'always' is set, the DHCPv6 client always
starts in managed mode, and that means we need to ignore the RA flags.
|
|\ \ \
| | | |
| | | | |
network: dhcp6pd: several cleanups
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
dhcp6_pd_assign_prefix()
Preparation for later commits.
|
| | |/
| |/|
| | |
| | | |
subnet prefix
|
| |/
|/| |
|
|/
|
|
|
|
| |
See dev_change_name() in kernel's net/core/dev.c.
Fixes #21105.
|
|\
| |
| | |
make tests a bit cleaner in regards to oomd handling
|
| |
| |
| |
| |
| |
| |
| |
| | |
Talking to external daemons we ourselves maintain is a job for the
integration tests, not the unit tests. This communication is likely to
fail hence don#t even bother.
This makes our tests a bit cleaner.
|
| | |
|
|\ \
| | |
| | | |
Last batch of coverage-related tweaks
|
| | |
| | |
| | |
| | | |
Relevant mainly for tests which utilize both QEMU and nspawn.
|
| |/
| |
| |
| |
| |
| | |
Collecting coverage causes a significant slowdown in general, but since
this test requires certain timing, we need to tweak the defaults to make
it reliably pass.
|
|\ \
| | |
| | | |
optimize remounting with mount_setattr() syscall
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
bind_remount_one_with_mountinfo()
Let's move things around a bit, and open /proc/self/mountinfo if needed
inside of bind_remount_one_with_mountinfo(). That way bind_remount_one()
can become a superthin inline wrapper around
bind_remount_one_with_mountinfo(). Main benefit is that we don't even
have to open /p/s/mi in case mount_setattr() actually worked for us.
|
| | | |
|
| |/
| |
| |
| |
| |
| |
| | |
bind_remount_one_with_mountinfo()
New kernels have a nice syscall for changing bind mount flags. Let's use
it. This makes the complex libmount based iteration logic unnecessary.
|
|/
|
|
| |
Follow-up for 20e458ae3c3b386e2b720bbd3c37d95781e69ae7.
|
| |
|
|\
| |
| | |
A couple more coverage-related tweaks
|
| |
| |
| |
| |
| |
| | |
Otherwise we break TEST-15-DROPIN, since it uses
/usr/lib/systemd/system/service.d/override.conf in some of its
sub-tests.
|
| | |
|
|/
|
|
|
|
|
|
|
|
| |
Depending on the location of the original build dir, either ProtectHome=
or ProtectSystem= may get in the way when creating the gcov metadata
files.
Follow-up to:
* 02d7e73013a92c5580023e4e548d19adbc254dbe
* 6c9efba67715cd1ced170ac46c04d47934ad276a
|
|\
| |
| | |
network: DHCPv6 PD: several trivial cleanups
|
| |
| |
| |
| |
| |
| | |
downstream
Also, narrow the acceptable range of the states.
|
| |
| |
| |
| |
| |
| | |
upstream interface
As now the subnet prefix may be assigned to the upstream interface.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In order to minimize EFI variable NVRAM wear, do not rewrite variables
if they are already in the wanted state (i.e. same data and attributes).
This allows e.g. performing repeat calls of "bootctl install" (which
always rewrites the EFI boot entry) without consuming EFI NVRAM write
cycles.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We should drop caches if we are configured to do so in all cases where
we are done with home dir operations: except if that operation is
activation, because in that case we are not destroying anything, but
leaving it on.
Hence, turn off the flag that reminds us that we should drop caches
before exiting, once activation completed fully,
Follow-up for 86019efa4416d7b548cab321c15bc22a65463786
|
| |
| |
| |
| |
| |
| | |
Follow-up for 4a4654e0241fbeabecb8587fd3520b6b39264b9c.
Fixes #21090.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
it for its payload
We try to pass containers roughly the same rlimits as the host gets from
the kernel. However, this means we'd set the RLIMIT_NOFILE to 4K. Which
is quite limiting though, and is something we actually departed from in
PID1: since 52d620757817bc0fa7de3ddbe43024544ced7ea0 we raise the limit
substantially for all userspace.
Given that nspawn is quite often invoked without proper PID1, let's raise the
limits for container payloads the same way as we do from the real PID1
to its service payloads.
|
| | |
|