xfce, new profiles

This commit is contained in:
nobody43 2025-01-22 23:06:56 +00:00
parent 4286b5330c
commit c04ee92d26
4 changed files with 103 additions and 0 deletions

View file

@ -0,0 +1,23 @@
# apparmor.d - Full set of apparmor profiles
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/4.0>,
include <tunables/global>
@{exec_path} = @{bin}/lightdm-session
profile lightdm-session @{exec_path} {
include <abstractions/base>
@{exec_path} mr,
@{bin}/im-launch rPx,
@{sh_path} rix,
@{bin}/mktemp rix,
@{bin}/expr rix,
include if exists <local/lightdm-session>
}
# vim:syntax=apparmor

View file

@ -0,0 +1,20 @@
# apparmor.d - Full set of apparmor profiles
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/pkla-admin-identities
profile pkla-admin-identities @{exec_path} {
include <abstractions/base>
include <abstractions/nameservice-strict>
@{exec_path} mr,
/etc/polkit-1/localauthority.conf.d/{,**} r,
include if exists <local/pkla-admin-identities>
}
# vim:syntax=apparmor

View file

@ -0,0 +1,15 @@
# apparmor.d - Full set of apparmor profiles
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/gdk-pixbuf-thumbnailer
profile gdk-pixbuf-thumbnailer @{exec_path} {
include <abstractions/base>
include if exists <local/gdk-pixbuf-thumbnailer>
}
# vim:syntax=apparmor

View file

@ -0,0 +1,45 @@
# apparmor.d - Full set of apparmor profiles
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/ucf
profile ucf @{bin}/ucf {
include <abstractions/base>
include <abstractions/consoles>
@{exec_path} mr,
@{bin}/dpkg-query rPx,
@{bin}/dpkg-divert rPx -> child-dpkg-divert,
/usr/share/debconf/frontend rPx,
@{sh_path} rix,
@{bin}/perl rix,
@{bin}/basename rix,
@{bin}/dirname rix,
@{bin}/getopt rix,
@{bin}/id rix,
@{bin}/readlink rix,
@{bin}/sed rix,
@{bin}/tr rix,
@{bin}/{,e,f}grep rix,
@{bin}/{,g,m}awk rix,
@{bin}/md5sum rix,
@{bin}/cp rix,
/etc/ucf.conf r,
/etc/libreoffice/registry/** r,
/var/lib/ucf/hashfile r,
/usr/share/debconf/confmodule r,
owner /tmp/tmp.@{rand10} r,
include if exists <local/ucf>
}
# vim:syntax=apparmor