mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-07 02:35:06 +01:00
31 lines
No EOL
729 B
Text
31 lines
No EOL
729 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = /{usr/,}lib/code/extensions/git/dist/askpass.sh
|
|
profile code-askpass @{exec_path} {
|
|
include <abstractions/base>
|
|
|
|
network inet dgram,
|
|
network inet6 dgram,
|
|
|
|
@{exec_path} mr,
|
|
|
|
/{usr/,}bin/{,ba,da}sh rix,
|
|
/{usr/,}bin/cat rix,
|
|
/{usr/,}bin/mktemp rix,
|
|
/{usr/,}bin/rm rix,
|
|
/{usr/,}lib/electron[0-9]*/electron rUx,
|
|
|
|
/usr/share/terminfo/x/xterm-256color r,
|
|
|
|
owner /tmp/tmp.* rw,
|
|
|
|
/dev/tty rw,
|
|
|
|
include if exists <local/code-askpass>
|
|
} |