refractor: rename some vscode related profile

This commit is contained in:
Alexandre Pujol 2023-08-17 18:47:01 +01:00
parent 555b53192c
commit f3ab8d2c71
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC
2 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
# Copyright (C) 2021-2023 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
@ -7,7 +7,7 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{lib}/code/extensions/git/dist/askpass.sh
profile code-askpass @{exec_path} {
profile code-extension-git-askpass @{exec_path} {
include <abstractions/base>
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 <local/code-askpass>
include if exists <local/code-extension-git-askpass>
}

View File

@ -1,5 +1,5 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
# Copyright (C) 2021-2023 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
@ -7,15 +7,15 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{lib}/code/extensions/git/dist/git-editor.sh
profile code-git-editor @{exec_path} {
profile code-extension-git-editor @{exec_path} {
include <abstractions/base>
@{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 <local/code-git-editor>
include if exists <local/code-extension-git-editor>
}