~mvo/snapd/+git/snapd-mvo:add-Wmissing-field-initializers

Last commit made on 2023-08-14
Get this branch:
git clone -b add-Wmissing-field-initializers https://git.launchpad.net/~mvo/snapd/+git/snapd-mvo

Branch merges

Branch information

Name:
add-Wmissing-field-initializers
Repository:
lp:~mvo/snapd/+git/snapd-mvo

Recent commits

60d0533... by Michael Vogt

cmd: remove -W{no-,}missing-field-initializers

With `-Wextra` the `-Wmissing-field-initializers` is already included
so removing `-Wno-missing-field-initializers` is enough.

90665a5... by Michael Vogt

snap-confine: build with `-Wmissing-field-initializers`

The tiobe software quality checker flaged this and while it's a bit
debatable it adds some clarity around the booleans in the `sc_mount`
struct so I think it's overall worth it.

22e1eb3... by Sergio Cazzolato

tests: fix error in gadget-config-defaults-to-snaps test (#13033)

* Fix error in gadget-config-defaults-to-snaps test

The test fails when either two variants are executed in the same machine
or the test execution is reapetead

The problem is that the snap lib ie cleaned but the
test-snapd-with-configure and test-snapd-with-default-configure snaps
are leaving leftovers in /snap and /var/snap, so during the second
execution, the files in SNAP_COMMON are the created in the first one.

The solution is to remove test-snapd-with-default-configure and clean
the leftovers for test-snapd-with-configure snap

* fix shellcheck

ab6d918... by Miguel Pires

aspects: optimise aspect tx Get

Cache a copy of the transaction's databag so that a new one doesn't have
to be created and all the deltas applied.

0b69df7... by Zeyad Gouda

interfaces/builtin/pulseaudio_test: fix apparmor checking incorrect permissions

Signed-off-by: Zeyad Gouda <email address hidden>

d0c82eb... by Philip Meulengracht

daemon: allow nil stored rebootInfo

Otherwise this causes getRebootArguments to try to resolve a bootloader when even when there is no RebootInfo set as a part of HandleRestart.

f1de83c... by Sergio Costas

interfaces/audio: allow to provide pipewire/pulse slots from a containerized pipewire/desktop (#12865)

* UDENG-535: allow access to pipewire socket

This PR ports UDENG-418 to upstream, that enables audio in core
Desktop. It allows access to the pipewire socket from snapped
applications, and allows to have pipewire running inside a snap
container. To avoid security issues, it only allows to access
the sockets located at the folder belonging to the snap that
owns the slot.

With this patch, audio works fine in Core Desktop, and also
screen sharing.

* Replace PLUG_SECURITY_TAGS with SLOT_SECURITY_TAGS

* Remove unneeded "ImplicitOnCore: false" statements

* Better explanation for the /etc/pulse rule

* Add pulseaudio tests

ebf1df4... by Oliver Calder

gadget: remove unused private types after refactor

Signed-off-by: Oliver Calder <email address hidden>

d9e4ab8... by Valentin David

osutil/kcmdline: simplify names

c9bbf25... by Valentin David

osutil: extract kcmdline to its own package