-
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dbus): rewrite some dbus rules (6).
- Loading branch information
Showing
29 changed files
with
122 additions
and
412 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# apparmor.d - Full set of apparmor profiles | ||
# Copyright (C) 2023 Alexandre Pujol <[email protected]> | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
|
||
dbus send bus=session path=/org/freedesktop/Notifications | ||
interface=org.freedesktop.DBus.Properties | ||
member=GetAll | ||
peer=(name=:*, label=gjs-console), | ||
|
||
include if exists <abstractions/bus/notification.d> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# apparmor.d - Full set of apparmor profiles | ||
# Copyright (C) 2021 Alexandre Pujol <[email protected]> | ||
# Copyright (C) 2021-2023 Alexandre Pujol <[email protected]> | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
|
||
abi <abi/3.0>, | ||
|
@@ -9,24 +9,17 @@ include <tunables/global> | |
@{exec_path} = @{lib}/gsd-disk-utility-notify | ||
profile gsd-disk-utility-notify @{exec_path} { | ||
include <abstractions/base> | ||
include <abstractions/bus/udisk> | ||
include <abstractions/dbus-session-strict> | ||
include <abstractions/dbus-strict> | ||
|
||
dbus receive bus=system path=/org/freedesktop/UDisks2{,/**} | ||
interface=org.freedesktop.DBus.{Properties,ObjectManager}, | ||
|
||
dbus send bus=system path=/org/freedesktop/UDisks2 | ||
interface=org.freedesktop.DBus.ObjectManager | ||
member=GetManagedObjects, | ||
dbus bind bus=session name=org.gnome.Disks.NotificationMonitor, | ||
|
||
dbus receive bus=session | ||
interface=org.freedesktop.DBus.Introspectable | ||
member=Introspect | ||
peer=(name=:*, label=gnome-shell), | ||
|
||
dbus bind bus=session | ||
name=org.gnome.Disks.NotificationMonitor, | ||
|
||
@{exec_path} mr, | ||
|
||
include if exists <local/gsd-disk-utility-notify> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.