mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 07:54:17 +01:00
feat(profile): add dbus-broker-launch.
This commit is contained in:
parent
18dbc60ff0
commit
46cb726834
32
apparmor.d/groups/bus/dbus-broker-launch
Normal file
32
apparmor.d/groups/bus/dbus-broker-launch
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
# 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} = @{bin}/dbus-broker-launch
|
||||||
|
profile dbus-broker-launch @{exec_path} {
|
||||||
|
include <abstractions/base>
|
||||||
|
include <abstractions/nameservice-strict>
|
||||||
|
|
||||||
|
capability net_admin,
|
||||||
|
capability setgid,
|
||||||
|
capability setuid,
|
||||||
|
|
||||||
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
@{bin}/dbus-broker rPUx,
|
||||||
|
|
||||||
|
@{system_share_dirs}/dbus-1/{,**} r,
|
||||||
|
@{system_share_dirs}/dbus-1/services/{,**} r,
|
||||||
|
/usr/share/dbus-1/{,**} r,
|
||||||
|
/usr/share/defaults/**.conf r,
|
||||||
|
|
||||||
|
/etc/machine-id r,
|
||||||
|
|
||||||
|
@{PROC}/sys/kernel/random/boot_id r,
|
||||||
|
|
||||||
|
include if exists <local/dbus-broker-launch>
|
||||||
|
}
|
@ -87,6 +87,8 @@ cups-notifier-mailto complain
|
|||||||
cups-notifier-rss complain
|
cups-notifier-rss complain
|
||||||
cups-pk-helper-mechanism complain
|
cups-pk-helper-mechanism complain
|
||||||
cupsd attach_disconnected,complain
|
cupsd attach_disconnected,complain
|
||||||
|
dbus-broker complain
|
||||||
|
dbus-broker-launch complain
|
||||||
dbus-daemon attach_disconnected,complain
|
dbus-daemon attach_disconnected,complain
|
||||||
DiscoverNotifier complain
|
DiscoverNotifier complain
|
||||||
dkms attach_disconnected,complain
|
dkms attach_disconnected,complain
|
||||||
|
Loading…
Reference in New Issue
Block a user