feat(profile): general update.

This commit is contained in:
Alexandre Pujol 2024-06-04 20:13:40 +01:00
parent d98621625a
commit 8b60e56002
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
21 changed files with 71 additions and 59 deletions

View file

@ -21,5 +21,7 @@ profile gdk-pixbuf-query-loaders @{exec_path} {
@{lib}/gdk-pixbuf-[0-9].@{int}/{,*}/loaders.cache.* rw,
@{lib}/gdk-pixbuf-[0-9].@{int}/*/loaders.cache rw,
/usr/share/gvfs/remote-volume-monitors/{,**} r,
include if exists <local/gdk-pixbuf-query-loaders>
}

View file

@ -26,6 +26,9 @@ profile gpu-manager @{exec_path} {
/var/log/gpu-manager.log w,
@{sys}/devices/@{pci}/boot_vga r,
@{sys}/module/compression r,
@{PROC}/modules r,
@{PROC}/cmdline r,

View file

@ -1,27 +0,0 @@
# apparmor.d - Full set of apparmor profiles
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/hostapd
profile hostapd @{exec_path} {
include <abstractions/base>
include <abstractions/nameservice-strict>
capability net_admin,
capability net_raw,
@{exec_path} mr,
/dev/rfkill r,
/etc/hostapd.conf r,
/etc/hostapd/{,*} r,
@{run}/hostapd/{,**} rw,
@{run}/hostapd.pid rw,
include if exists <local/hostapd>
}