mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
Add askpass profile.
This commit is contained in:
parent
dc0347388b
commit
11e0066432
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
|
||||
adb complain
|
||||
agetty complain
|
||||
askpass complain
|
||||
at-spi-bus-launcher attach_disconnected
|
||||
auditd complain
|
||||
badblocks complain
|
||||
|
Loading…
Reference in New Issue
Block a user