From be759e7c7c74da1a2daead1a23cdd39d7a69d6db Mon Sep 17 00:00:00 2001 From: EricLin0509 Date: Mon, 28 Oct 2024 00:42:21 +0800 Subject: [PATCH] Apply suggestion --- apparmor.d/profiles-s-z/v2ray | 3 +-- apparmor.d/profiles-s-z/xray | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/apparmor.d/profiles-s-z/v2ray b/apparmor.d/profiles-s-z/v2ray index b62cc59d..5a923835 100644 --- a/apparmor.d/profiles-s-z/v2ray +++ b/apparmor.d/profiles-s-z/v2ray @@ -20,8 +20,7 @@ profile v2ray @{exec_path} flags=(attach_disconnected) { @{exec_path} mr, - /etc/v2ray/ r, - /etc/v2ray/**.json r, + /etc/v2ray/{,*} r, /usr/share/v2ray/**.dat r, @{PROC}/sys/net/core/somaxconn r, diff --git a/apparmor.d/profiles-s-z/xray b/apparmor.d/profiles-s-z/xray index 39f32179..7e86ada2 100644 --- a/apparmor.d/profiles-s-z/xray +++ b/apparmor.d/profiles-s-z/xray @@ -20,8 +20,7 @@ profile xray @{exec_path} flags=(attach_disconnected) { @{exec_path} mr, - /etc/xray/ r, - /etc/xray/**.json r, + /etc/xray/{,*} r, /usr/share/xray/**.dat r, @{PROC}/sys/net/core/somaxconn r,