snapd
snapd copied to clipboard
The snapd and snap tools enable systems to work with .snap files.
Snapd uses `LimitTime(90*time.Second)` as a retry policy. For this reason, it only recovers from network errors occurring within initial 90 seconds. This policy makes snapd unusable on slow network. For...
Add the `common` package, which provides type definitions and functions which are used by other components related to apparmor prompting. Notably, this package handles: - Interface-specific constraints - Abstracted permissions...
If AppArmor prompting is supported and enabled, include the `prompt` prefix in relevant AppArmor rules. For now, such rules are only those in the home interface, but rules with the...
When a client wants to receive the notices using the /v2/notices interface, it usually will first receive all the old notifications, store the date and time of the last notification,...
This change adds components to interfaces.SnapAppSet, and it adds an error to be returned from interfaces.NewSnapAppSet. This error currently is currently only used to indicate if any components added to...
This PR does some of the work for creating security profiles for component hooks. First relevant commit is ba7a8725b8af7ee8e209e3159bf0576f0fdd4444, based on https://github.com/snapcore/snapd/pull/13771.
Now that we have app sets in the interfaces repo, keep a pointer to them in ConnectedPlug/Slot types. Use this to build label expressions in the interfaces. Based on https://github.com/snapcore/snapd/pull/13772,...
This change will enable us to inject an app set into the interfaces.Connected(Plug|Slot) types, which will allow interfaces to correctly generate label expressions for connected plugs/slots. First relevant commit is...
This PR teaches `snap-confine` and `snap-device-helper` how to parse security tags that represent component hooks. An example of a security tag from a component hook would be: `snap.name+comp.hook.install` And one...
Make sure to remove sanitized plugs from component hook plugs. Based on https://github.com/snapcore/snapd/pull/13773, first relevant commit it cc5a00825bde77bf9b38c14d6c36cb60a0df30f8.