feat(profiles): apply guideline on some profile. Update flags list.

This commit is contained in:
Alexandre Pujol 2023-08-27 15:30:18 +01:00
parent 7a5096e7d8
commit 22e57b3620
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
12 changed files with 74 additions and 83 deletions

View file

@ -1,14 +1,15 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
include <tunables/global>
@{exec_path} = /{,usr/}{,s}bin/murmurd
@{exec_path} = @{bin}/murmurd
profile murmurd @{exec_path} {
include <abstractions/base>
include <abstractions/dbus-strict>
include <abstractions/nameservice-strict>
include <abstractions/openssl>
include <abstractions/dbus-strict>
include <abstractions/ssl_certs>
capability chown,
@ -31,7 +32,7 @@ profile murmurd @{exec_path} {
@{exec_path} mr,
/{,usr/}bin/lsb_release Px -> lsb_release,
@{bin}/lsb_release rPx -> lsb_release,
/etc/mumble-server.ini r,