Files
snapd/interfaces/policy
Alberto Mardegan 34fccfdeb9 interfaces: custom-device
* i/b/custom_device: add new custom-device interface

* tests: spread tests for the custom-device interface

* tests: remove unused variable

* tests: add custom-device plug to interfaces-many-core-provided

* i/b/custom-device: fix base declaration

* i/b/custom-devices: error reporting, pattern handling

* i/b/custom_device: add unit test for ** check

* i/b/custom_device: add support for read-devices attribute

* i/b/custom_device: revert change on ** in paths

It's safer to be restrictive and keep the globbing to "*".

* i/b/custom_device: update comment on AppArmor globbing

* i/b/custom_device: minor formatting change

* i/b/custom_device: improve logic of slot attribute naming

* i/b/custom_device_test: add tests

* i/b/custom_device: update interface declaration

* interfaces/custom-device: mv read/write under a files key

As suggested by Samuele. Also update all the tests.

Signed-off-by: Ian Johnson <ian.johnson@canonical.com>

* i/b/custom_device: remove leftover comments

* i/b/custom_device: remove unneeded function parameter

* i/b/custom-devices: improve validation, error handling and tests

* i/b/custom_device: test more invalid characters

Co-authored-by: Michael Vogt <mvo@ubuntu.com>
Co-authored-by: Ian Johnson <ian.johnson@canonical.com>
2022-03-02 16:52:43 +01:00
..