apparmor.d/apparmor.d/profiles-a-f/dleyna-server-service
2024-02-07 00:16:21 +01:00

28 lines
679 B
Plaintext

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{lib}/dleyna-server-service
profile dleyna-server-service @{exec_path} {
include <abstractions/base>
network inet dgram,
network inet6 dgram,
network inet stream,
network inet6 stream,
network netlink dgram,
network netlink raw,
@{exec_path} mr,
/etc/dleyna-server-service.conf r,
@{user_config_dirs}/dleyna-server-service.conf r,
owner @{user_config_dirs}/dleyna-server-service.conf w,
include if exists <local/dleyna-server-service>
}