2 Commits

Author SHA1 Message Date
Ian Johnson
48276ac105 interfaces/shared-memory: support single wild-cards in the read/write paths
* interfaces/apparmor/apparmor.go: add note about inverse functionality

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

* interfaces/shared-memory: support single wild-cards in the read/write paths

This is needed for many real-world use cases of shared memory where a constant
prefix is used but a random number is appended as a suffix to the actual shared
memory object opened for each invocation.

Also add to the spread test cases for this new feature.

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

* interfaces/shared-memory: adjust comment

Thanks to Samuele for pointing out the confusion.

Signed-off-by: Ian Johnson <ian.johnson@canonical.com>
2022-01-24 17:10:13 +01:00
Alberto Mardegan
efc6fd1378 tests: add spread test for shared-memory interface 2021-12-13 14:48:18 +03:00