apparmor.d/apparmor.d/profiles-a-f/code-extension-git-askpass

32 lines
719 B
Text
Raw Normal View History

2021-12-08 18:39:21 +01:00
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
2021-12-08 18:39:21 +01:00
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{lib}/code/extensions/git/dist/askpass.sh
profile code-extension-git-askpass @{exec_path} {
2021-12-08 18:39:21 +01:00
include <abstractions/base>
2022-02-22 21:51:28 +01:00
network inet dgram,
network inet6 dgram,
2021-12-08 18:39:21 +01:00
@{exec_path} mr,
@{bin}/{,ba,da}sh rix,
@{bin}/cat rix,
@{bin}/mktemp rix,
@{bin}/rm rix,
@{lib}/electron@{int}/electron rix,
2021-12-08 18:39:21 +01:00
2023-12-05 21:45:13 +01:00
/usr/share/terminfo/** r,
2022-02-22 21:51:28 +01:00
owner /tmp/tmp.* rw,
/dev/tty rw,
2022-02-22 21:51:28 +01:00
include if exists <local/code-extension-git-askpass>
}