Skip to content

utils: allow mount destination globbing

Georgia Garcia requested to merge georgiag/apparmor:mount-dest-glob into master

The abstraction lxc/start-container shipped by the liblxc-common package uses the following mount rule which was not allowed by our regexes:

mount options=(rw, make-slave) -> **, mount options=(rw, make-rslave) -> **,

Since in AppArmor regex ** includes '/' but * by itself doesn't, I'm adding explicit support for **.

Signed-off-by: Georgia Garcia georgia.garcia@canonical.com

Merge request reports