diff --git a/apparmor.d/profiles-a-f/askpass b/apparmor.d/profiles-a-f/askpass new file mode 100644 index 000000000..e5f5486a1 --- /dev/null +++ b/apparmor.d/profiles-a-f/askpass @@ -0,0 +1,22 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2021 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = /{usr/,}lib/code/extensions/git/dist/askpass.sh +profile askpass @{exec_path} { + include + + @{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 +} \ No newline at end of file diff --git a/dists/flags/main.flags b/dists/flags/main.flags index 8f52199ad..d057bb310 100644 --- a/dists/flags/main.flags +++ b/dists/flags/main.flags @@ -4,6 +4,7 @@ acpid attach_disconnected,complain adb complain agetty complain +askpass complain at-spi-bus-launcher attach_disconnected auditd complain badblocks complain