mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-20 08:55:34 +01:00
feat(profiles): add initial version of passim passimd.
This commit is contained in:
parent
4d0ccebb21
commit
ab0ee1a317
2 changed files with 32 additions and 0 deletions
31
apparmor.d/profiles-m-r/passimd
Normal file
31
apparmor.d/profiles-m-r/passimd
Normal file
|
@ -0,0 +1,31 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{lib}/passimd
|
||||
profile passimd @{exec_path} flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/dbus-strict>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
capability dac_read_search,
|
||||
|
||||
network inet stream,
|
||||
network inet6 stream,
|
||||
network netlink raw,
|
||||
|
||||
dbus bind bus=system name=org.freedesktop.Passim,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/usr/share/dbus-1/interfaces/org.freedesktop.Passim.xml r,
|
||||
|
||||
/var/lib/passim/{,**} r,
|
||||
/var/lib/passim/data/{,**} rw,
|
||||
|
||||
include if exists <local/passimd>
|
||||
}
|
|
@ -217,6 +217,7 @@ nvidia-persistenced complain
|
|||
os-prober attach_disconnected,complain
|
||||
packagekitd attach_disconnected,complain
|
||||
pass-import complain
|
||||
passimd attach_disconnected,complain
|
||||
pidof complain
|
||||
pinentry complain
|
||||
pinentry-curses complain
|
||||
|
|
Loading…
Add table
Reference in a new issue