apparmor.d/apparmor.d/profiles-g-l/gssproxy
2023-08-06 16:30:38 +02:00

28 lines
616 B
Plaintext

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/gssproxy
profile gssproxy @{exec_path} {
include <abstractions/base>
include <abstractions/authentication>
include <abstractions/nameservice-strict>
@{exec_path} mr,
@{lib}/ r,
/etc/gssproxy/{,**} r,
owner /var/lib/gssproxy/{,**} rw,
owner @{run}/gssproxy.pid rw,
owner @{run}/gssproxy.sock rw,
owner @{PROC}/@{pids}/net/rpc/use-gss-proxy rw,
include if exists <local/gssproxy>
}