Add askpass profile.
This commit is contained in:
parent
dc0347388b
commit
11e0066432
2 changed files with 23 additions and 0 deletions
22
apparmor.d/profiles-a-f/askpass
Normal file
22
apparmor.d/profiles-a-f/askpass
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
# 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 askpass @{exec_path} {
|
||||||
|
include <abstractions/base>
|
||||||
|
|
||||||
|
@{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,
|
||||||
|
|
||||||
|
include if exists <local/askpass>
|
||||||
|
}
|
||||||
|
|
@ -4,6 +4,7 @@
|
||||||
acpid attach_disconnected,complain
|
acpid attach_disconnected,complain
|
||||||
adb complain
|
adb complain
|
||||||
agetty complain
|
agetty complain
|
||||||
|
askpass complain
|
||||||
at-spi-bus-launcher attach_disconnected
|
at-spi-bus-launcher attach_disconnected
|
||||||
auditd complain
|
auditd complain
|
||||||
badblocks complain
|
badblocks complain
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue