mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-29 22:35:15 +01:00
Flatpack: add flatpak-session-helper.
This commit is contained in:
parent
2064783251
commit
8c2d39c232
2 changed files with 29 additions and 0 deletions
28
apparmor.d/profiles-a-f/flatpak-session-helper
Normal file
28
apparmor.d/profiles-a-f/flatpak-session-helper
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# apparmor.d - Full set of apparmor profiles
|
||||||
|
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
|
abi <abi/3.0>,
|
||||||
|
|
||||||
|
include <tunables/global>
|
||||||
|
|
||||||
|
@{exec_path} = /{usr/,}lib/flatpak-session-helper
|
||||||
|
profile flatpak-session-helper @{exec_path} {
|
||||||
|
include <abstractions/base>
|
||||||
|
include <abstractions/nameservice-strict>
|
||||||
|
include <abstractions/p11-kit>
|
||||||
|
include <abstractions/ssl_certs>
|
||||||
|
|
||||||
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
/{usr/,}bin/p11-kit rix,
|
||||||
|
/{usr/,}lib/p11-kit/p11-kit-server rix,
|
||||||
|
/{usr/,}lib/p11-kit/p11-kit-remote rix,
|
||||||
|
|
||||||
|
owner @{run}/user/@{uid}/.flatpak-helper/{,**} rw,
|
||||||
|
owner @{run}/user/@{uid}/.flatpak-helper/pkcs11-flatpak-[0-9]* rw,
|
||||||
|
|
||||||
|
owner @{PROC}/@{pids}/fd/ r,
|
||||||
|
|
||||||
|
include if exists <local/flatpak-session-helper>
|
||||||
|
}
|
|
@ -36,6 +36,7 @@ e2image complain
|
||||||
evince complain
|
evince complain
|
||||||
fatlabel complain
|
fatlabel complain
|
||||||
fdisk complain
|
fdisk complain
|
||||||
|
flatpak-session-helper complain
|
||||||
fsck-ext4 complain
|
fsck-ext4 complain
|
||||||
fuse-overlayfs complain
|
fuse-overlayfs complain
|
||||||
fusermount complain
|
fusermount complain
|
||||||
|
|
Loading…
Reference in a new issue