Rules fix.

This commit is contained in:
Alexandre Pujol 2021-04-07 18:05:15 +01:00
parent 9446af57f8
commit 04f2d2c9a3
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
9 changed files with 14 additions and 3 deletions

View file

@ -14,6 +14,8 @@ profile accounts-daemon @{exec_path} {
include <abstractions/nameservice-strict>
# Needed?
capability dac_read_search,
capability sys_ptrace,
deny capability sys_nice,
@{exec_path} mr,

View file

@ -1,5 +1,6 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2021 Mikhail Morfikov
# 2021 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
@ -19,6 +20,7 @@ profile gvfsd-fuse @{exec_path} {
/dev/fuse rw,
@{PROC}/sys/fs/pipe-max-size r,
profile fusermount {
include <abstractions/base>

View file

@ -13,6 +13,7 @@ profile systemd-rfkill @{exec_path} {
include <abstractions/systemd-common>
capability net_admin,
capability sys_ptrace,
network netlink raw,

View file

@ -21,6 +21,7 @@ profile systemd-tmpfiles @{exec_path} {
@{exec_path} mr,
/etc/machine-id r,
/etc/brlapi.key w,
/usr/share/factory/{,**} r,
# Config file locations