~mvo/snapd/+git/snapd-mvo:cerberus-dbus

Last commit made on 2023-06-14
Get this branch:
git clone -b cerberus-dbus https://git.launchpad.net/~mvo/snapd/+git/snapd-mvo

Branch merges

Branch information

Name:
cerberus-dbus
Repository:
lp:~mvo/snapd/+git/snapd-mvo

Recent commits

a6ea01b... by Michael Vogt

Merge pull request #26 from olivercalder/apparmor-prompting-permission-handling-backend

prompting/storage: added per-permission decision handling

5338555... by Oliver Calder

prompting/storage: replaced `reflect.DeepEqual` with test suite `DeepEquals`

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

cce9e55... by Oliver Calder

prompting/storage: replaced commented-out checks about deleted decisions with TODO

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

bc1f3c1... by Oliver Calder

prompting/storage: added missing assert and adjusted formatting to satisfy `run-checks`

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

98a688d... by Oliver Calder

cmd/snapd-aa-prompt-listener: updated extras map for `Set()` to use `ExtrasKey`

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

7007f84... by Oliver Calder

prompting/storage: added missing check for `!allow`

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

f58fdb7... by Oliver Calder

prompting/storage: added `AllowType` and `ExtrasKey` types

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

5ced9f6... by Oliver Calder

prompting/storage: added unit test for heterogeneous decision handling

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

1720f01... by Oliver Calder

prompting/storage: fix FindDescendantsInMap so exact matches are omitted

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

ccbfa2d... by Oliver Calder

prompting/storage: clarify exact path not matched in unit test

The functions `FindChildrenInMap()` and `FindDescendantsInMap()` should
not match paths which equal the search path, but only paths which are
direct children or descendants of the search path, respectively.

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