feat: small update and minor fixes.

This commit is contained in:
Alexandre Pujol 2024-03-05 18:29:44 +00:00
parent ff849b9f09
commit 1df176cf7b
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
11 changed files with 18 additions and 22 deletions

View file

@ -25,16 +25,13 @@ profile command-not-found @{exec_path} {
@{lib}/python3/dist-packages/CommandNotFound/**/__pycache__/*.cpython-@{int}.pyc.@{int} w,
/var/lib/command-not-found/commands.db rwk,
/usr/share/command-not-found/{,**} r,
/var/lib/command-not-found/commands.db rwk,
owner @{PROC}/@{pid}/fd/ r,
/dev/tty@{int} rw,
# Silencer
deny /usr/lib/ r,
include if exists <local/command-not-found>
}

View file

@ -54,7 +54,6 @@ profile firefox @{exec_path} flags=(attach_disconnected) {
signal (send) set=(term, kill) peer=firefox-*,
# dbus: own bus=session name=org.mozilla.firefox
# dbus: own bus=session name=org.mozilla.firefox_beta
deny dbus send bus=system path=/org/freedesktop/hostname1,

View file

@ -27,13 +27,16 @@ profile gdm @{exec_path} flags=(attach_disconnected) {
signal (send) set=(term),
unix (bind, listen) type=stream addr="@/tmp/dbus-@{rand8}",
unix (send receive accept) type=stream addr="@/tmp/dbus-@{rand8}" peer=(label=gdm-session-worker, addr=none),
# dbus: own bus=system name=org.gnome.DisplayManager
# dbus: talk bus=system name=org.freedesktop.login1 label=systemd-logind
dbus send bus=system path=/org/freedesktop/Accounts
interface=org.freedesktop.Accounts
member=ListCachedUsers
member={ListCachedUsers,UserAdded}
peer=(name=:*, label=accounts-daemon),
dbus send bus=system path=/org/freedesktop/Accounts
interface=org.freedesktop.DBus.Properties

View file

@ -27,6 +27,8 @@ profile nautilus @{exec_path} flags=(attach_disconnected) {
include <abstractions/openssl>
include <abstractions/trash>
# userns,
# mqueue r type=posix /,
dbus bind bus=session name=org.gnome.Nautilus,

View file

@ -38,7 +38,7 @@
# Emails
@{thunderbird_name} = thunderbird{,-bin}
@{thunderbird_name} = thunderbird{,.sh,-bin}
@{thunderbird_lib_dirs} = @{lib}/@{thunderbird_name}
@{thunderbird_path} = @{bin}/@{thunderbird_name} @{thunderbird_lib_dirs}/@{thunderbird_name}