From f3ab8d2c71f2dd4ca6b6089c615f45a598853629 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Thu, 17 Aug 2023 18:47:01 +0100 Subject: [PATCH] refractor: rename some vscode related profile --- .../{code-askpass => code-extension-git-askpass} | 10 +++++----- .../{code-git-editor => code-extension-git-editor} | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) rename apparmor.d/profiles-a-f/{code-askpass => code-extension-git-askpass} (71%) rename apparmor.d/profiles-a-f/{code-git-editor => code-extension-git-editor} (59%) diff --git a/apparmor.d/profiles-a-f/code-askpass b/apparmor.d/profiles-a-f/code-extension-git-askpass similarity index 71% rename from apparmor.d/profiles-a-f/code-askpass rename to apparmor.d/profiles-a-f/code-extension-git-askpass index 2b56494d..e70fd9da 100644 --- a/apparmor.d/profiles-a-f/code-askpass +++ b/apparmor.d/profiles-a-f/code-extension-git-askpass @@ -1,5 +1,5 @@ # apparmor.d - Full set of apparmor profiles -# Copyright (C) 2021 Alexandre Pujol +# Copyright (C) 2021-2023 Alexandre Pujol # SPDX-License-Identifier: GPL-2.0-only abi , @@ -7,7 +7,7 @@ abi , include @{exec_path} = @{lib}/code/extensions/git/dist/askpass.sh -profile code-askpass @{exec_path} { +profile code-extension-git-askpass @{exec_path} { include network inet dgram, @@ -19,7 +19,7 @@ profile code-askpass @{exec_path} { @{bin}/cat rix, @{bin}/mktemp rix, @{bin}/rm rix, - @{lib}/electron[0-9]*/electron rUx, + @{lib}/electron[0-9]*/electron rix, /usr/share/terminfo/x/xterm-256color r, @@ -27,5 +27,5 @@ profile code-askpass @{exec_path} { /dev/tty rw, - include if exists -} \ No newline at end of file + include if exists +} diff --git a/apparmor.d/profiles-a-f/code-git-editor b/apparmor.d/profiles-a-f/code-extension-git-editor similarity index 59% rename from apparmor.d/profiles-a-f/code-git-editor rename to apparmor.d/profiles-a-f/code-extension-git-editor index 2ea62ad9..591df231 100644 --- a/apparmor.d/profiles-a-f/code-git-editor +++ b/apparmor.d/profiles-a-f/code-extension-git-editor @@ -1,5 +1,5 @@ # apparmor.d - Full set of apparmor profiles -# Copyright (C) 2022 Alexandre Pujol +# Copyright (C) 2021-2023 Alexandre Pujol # SPDX-License-Identifier: GPL-2.0-only abi , @@ -7,15 +7,15 @@ abi , include @{exec_path} = @{lib}/code/extensions/git/dist/git-editor.sh -profile code-git-editor @{exec_path} { +profile code-extension-git-editor @{exec_path} { include @{exec_path} mr, @{bin}/{,ba,da}sh rix, - @{lib}/electron[0-9]*/electron rUx, + @{lib}/electron[0-9]*/electron rix, /dev/tty rw, - include if exists + include if exists } \ No newline at end of file