mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-12-25 14:36:33 +01:00
feat(aa-log): add support for attached path.
This commit is contained in:
parent
61a27bc336
commit
116272b8ad
1 changed files with 2 additions and 0 deletions
|
@ -64,6 +64,7 @@ var (
|
||||||
`/home/[^/]+/`, `@{HOME}/`,
|
`/home/[^/]+/`, `@{HOME}/`,
|
||||||
|
|
||||||
// Resolve system variables
|
// Resolve system variables
|
||||||
|
`/att/[^/@]+`, `@{att}/`,
|
||||||
`/usr/lib(32|64|exec)`, `@{lib}`,
|
`/usr/lib(32|64|exec)`, `@{lib}`,
|
||||||
`/usr/lib`, `@{lib}`,
|
`/usr/lib`, `@{lib}`,
|
||||||
`/usr/(bin|sbin)`, `@{bin}`,
|
`/usr/(bin|sbin)`, `@{bin}`,
|
||||||
|
@ -84,6 +85,7 @@ var (
|
||||||
`pci` + strings.Repeat(h, 4) + `:` + strings.Repeat(h, 2), `@{pci_bus}`,
|
`pci` + strings.Repeat(h, 4) + `:` + strings.Repeat(h, 2), `@{pci_bus}`,
|
||||||
`@{pci_bus}/[0-9a-f:*./]*/`, `@{pci}/`,
|
`@{pci_bus}/[0-9a-f:*./]*/`, `@{pci}/`,
|
||||||
`1000`, `@{uid}`,
|
`1000`, `@{uid}`,
|
||||||
|
`@{att}//`, `@{att}/`,
|
||||||
|
|
||||||
// Some system glob
|
// Some system glob
|
||||||
`:not.active.yet`, `@{busname}`, // dbus unique bus name
|
`:not.active.yet`, `@{busname}`, // dbus unique bus name
|
||||||
|
|
Loading…
Reference in a new issue