profiles: update visual studio code so that it can be run from gnome

The current attachment works from the commandline but not from
gnome as it uses an alternate path.

Fixes: https://gitlab.com/apparmor/apparmor/-/issues/368
Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
John Johansen 2024-02-24 20:27:13 -08:00
parent 95d9ba8d8b
commit 108f489f2b

View file

@ -4,7 +4,7 @@
abi <abi/4.0>,
include <tunables/global>
profile code /usr/share/code/bin/code flags=(unconfined) {
profile vscode /usr/share/code{/bin,}/code flags=(unconfined) {
userns,
# Site-specific additions and overrides. See local/README for details.