mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 16:03:51 +01:00
refractor: rename some vscode related profile
This commit is contained in:
parent
555b53192c
commit
f3ab8d2c71
@ -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>
|
||||
}
|
@ -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>
|
||||
}
|
Loading…
Reference in New Issue
Block a user