This commit is contained in:
nobodysu 2022-10-09 16:54:14 +03:00
parent ed0b11212d
commit 10a25889b2
7 changed files with 12 additions and 17 deletions

View file

@ -58,8 +58,8 @@ profile accounts-daemon @{exec_path} flags=(attach_disconnected) {
/etc/default/locale r,
/etc/gdm{3,}/ r,
@{etc_rw}/gdm{3,}/daemon.conf{,.??????} rw,
@{etc_rw}/gdm{3,}/custom.conf{,.??????} rw,
/etc/gdm{3,}/daemon.conf{,.??????} rw,
/etc/gdm{3,}/custom.conf{,.??????} rw,
/etc/machine-id r,
/etc/shadow r,
/etc/shells r,

View file

@ -26,15 +26,6 @@ profile xdg-user-dirs-update @{exec_path} {
/var/lib/gdm{3,}/@{XDG_TEMPLATES_DIR}/ rw,
/var/lib/gdm{3,}/@{XDG_VIDEOS_DIR}/ rw,
owner @{HOME}/@{XDG_DESKTOP_DIR}/ rw,
owner @{HOME}/@{XDG_DOCUMENTS_DIR}/ rw,
owner @{HOME}/@{XDG_DOWNLOAD_DIR}/ rw,
owner @{HOME}/@{XDG_MUSIC_DIR}/ rw,
owner @{HOME}/@{XDG_PICTURES_DIR}/ rw,
owner @{HOME}/@{XDG_PUBLICSHARE_DIR}/ rw,
owner @{HOME}/@{XDG_TEMPLATES_DIR}/ rw,
owner @{HOME}/@{XDG_VIDEOS_DIR}/ rw,
owner @{user_config_dirs}/user-dirs.dirs r,
include if exists <local/xdg-user-dirs-update>

View file

@ -11,7 +11,7 @@ include <tunables/global>
@{exec_path} += /{usr/,}bin/Xorg
@{exec_path} += /{usr/,}lib/Xorg{,.wrap}
@{exec_path} += /{usr/,}lib/xorg/Xorg{,.wrap}
profile xorg @{exec_path} flags=(attach_disconnected) {
profile xorg @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/dbus-strict>
include <abstractions/fontconfig-cache-read>

View file

@ -29,9 +29,11 @@ profile nautilus @{exec_path} flags=(attach_disconnected) {
member={IsSupported,List}
peer=(name=:*),
dbus bind bus=session name=org.gnome.Nautilus,
dbus bind bus=session
name=org.gnome.Nautilus,
dbus bind bus=session name=org.freedesktop.FileManager1,
dbus bind bus=session
name=org.freedesktop.FileManager1,
@{exec_path} mr,
/{usr/,}bin/{,ba,da}sh rix,

View file

@ -3,6 +3,7 @@
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>

View file

@ -8,7 +8,7 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}lib/systemd/systemd-hostnamed
profile systemd-hostnamed @{exec_path} flags=(attach_disconnected complain) {
profile systemd-hostnamed @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/dbus-strict>
include <abstractions/systemd-common>

View file

@ -13,6 +13,7 @@ profile im-launch @{exec_path} {
@{exec_path} mr,
/{usr/,}bin/{,ba,da}sh rix,
/{usr/,}bin/gnome-session rix,
/{usr/,}bin/env rix,
/{usr/,}bin/locale rix,
/{usr/,}bin/gettext{,.sh} rix,
@ -20,14 +21,14 @@ profile im-launch @{exec_path} {
/{usr/,}bin/sed rix,
/{usr/,}bin/dpkg-query rpx,
/{usr/,}bin/gnome-session rPUx,
/usr/share/im-config/{,**} r,
/etc/default/im-config r,
/etc/X11/xinit/xinputrc r,
/etc/X11/Xsession.d/70im-config_launch r,
owner @{HOME}/.xinputrc r,
# file inherit
owner /dev/tty[0-9]* rw,