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 2b56494d2..e70fd9da5 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 2ea62ad9d..591df2318 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