diff --git a/apparmor.d/profiles-a-f/dleyna-renderer-service b/apparmor.d/profiles-a-f/dleyna-renderer-service new file mode 100644 index 00000000..5b0b5040 --- /dev/null +++ b/apparmor.d/profiles-a-f/dleyna-renderer-service @@ -0,0 +1,26 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2023 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = @{lib}/dleyna-renderer-service +profile dleyna-renderer-service @{exec_path} { + include + + network inet dgram, + network inet6 dgram, + network inet stream, + network inet6 stream, + network netlink dgram, + + @{exec_path} mr, + + /etc/dleyna-renderer-service.conf r, + + owner @{user_config_dirs}/dleyna-renderer-service.conf rw, + + include if exists +} \ No newline at end of file diff --git a/apparmor.d/profiles-a-f/dleyna-server-service b/apparmor.d/profiles-a-f/dleyna-server-service new file mode 100644 index 00000000..bdb622a2 --- /dev/null +++ b/apparmor.d/profiles-a-f/dleyna-server-service @@ -0,0 +1,24 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2023 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = @{lib}/dleyna-server-service +profile dleyna-server-service @{exec_path} { + include + + network inet dgram, + network inet6 dgram, + network inet stream, + network inet6 stream, + network netlink raw, + + @{exec_path} mr, + + @{user_config_dirs}/dleyna-server-service.conf r, + + include if exists +} \ No newline at end of file diff --git a/dists/flags/main.flags b/dists/flags/main.flags index 5af41d10..a67cc771 100644 --- a/dists/flags/main.flags +++ b/dists/flags/main.flags @@ -83,6 +83,7 @@ dbus-daemon attach_disconnected,complain DiscoverNotifier complain dkms attach_disconnected,complain dleyna-renderer-service complain +dleyna-server-service complain dmesg.service complain docker-proxy complain dockerd attach_disconnected,complain