From 116272b8ada281178150f1c9a564aac1967121f6 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Fri, 11 Oct 2024 14:21:22 +0100 Subject: [PATCH] feat(aa-log): add support for attached path. --- pkg/logs/logs.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/logs/logs.go b/pkg/logs/logs.go index 24639460..194e6dc0 100644 --- a/pkg/logs/logs.go +++ b/pkg/logs/logs.go @@ -64,6 +64,7 @@ var ( `/home/[^/]+/`, `@{HOME}/`, // Resolve system variables + `/att/[^/@]+`, `@{att}/`, `/usr/lib(32|64|exec)`, `@{lib}`, `/usr/lib`, `@{lib}`, `/usr/(bin|sbin)`, `@{bin}`, @@ -84,6 +85,7 @@ var ( `pci` + strings.Repeat(h, 4) + `:` + strings.Repeat(h, 2), `@{pci_bus}`, `@{pci_bus}/[0-9a-f:*./]*/`, `@{pci}/`, `1000`, `@{uid}`, + `@{att}//`, `@{att}/`, // Some system glob `:not.active.yet`, `@{busname}`, // dbus unique bus name