mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-19 00:15:38 +01:00
xfce, new profiles
This commit is contained in:
parent
4286b5330c
commit
c04ee92d26
4 changed files with 103 additions and 0 deletions
23
apparmor.d/groups/display-manager/lightdm-session
Normal file
23
apparmor.d/groups/display-manager/lightdm-session
Normal 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
|
20
apparmor.d/groups/freedesktop/pkla-admin-identities
Normal file
20
apparmor.d/groups/freedesktop/pkla-admin-identities
Normal 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
|
15
apparmor.d/profiles-g-l/gdk-pixbuf-thumbnailer
Normal file
15
apparmor.d/profiles-g-l/gdk-pixbuf-thumbnailer
Normal 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
|
45
apparmor.d/profiles-s-z/ucf
Normal file
45
apparmor.d/profiles-s-z/ucf
Normal 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
|
Loading…
Add table
Reference in a new issue