From 9cd1939ddc0c871ec9ca511e5e13003da2c49240 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Tue, 10 Sep 2024 18:41:01 +0100 Subject: [PATCH] feat(abs): improve the app-launcher* abs. --- apparmor.d/abstractions/app-launcher-root | 4 ++-- apparmor.d/abstractions/app-launcher-user | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apparmor.d/abstractions/app-launcher-root b/apparmor.d/abstractions/app-launcher-root index c31d328f..2aaecbd2 100644 --- a/apparmor.d/abstractions/app-launcher-root +++ b/apparmor.d/abstractions/app-launcher-root @@ -3,8 +3,8 @@ # Copyright (C) 2022-2024 Alexandre Pujol # SPDX-License-Identifier: GPL-2.0-only - @{bin}/* PUx, - /usr/local/{s,}bin/* PUx, + @{bin}/** PUx, + /usr/local/{s,}bin/** PUx, @{bin}/ r, / r, diff --git a/apparmor.d/abstractions/app-launcher-user b/apparmor.d/abstractions/app-launcher-user index edf96b05..04b20e84 100644 --- a/apparmor.d/abstractions/app-launcher-user +++ b/apparmor.d/abstractions/app-launcher-user @@ -3,10 +3,10 @@ # Copyright (C) 2022-2024 Alexandre Pujol # SPDX-License-Identifier: GPL-2.0-only - @{bin}/* PUx, + @{bin}/** PUx, /opt/*/** PUx, - /usr/share/*/* PUx, - /usr/local/bin/* PUx, + /usr/share/** PUx, + /usr/local/bin/** PUx, @{brave_path} Px, @{chrome_path} Px,