Add gssproxy.

This commit is contained in:
Alexandre Pujol 2021-09-28 21:59:28 +01:00
parent 6bd8e64c78
commit 66d02dab2b
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC

View File

@ -0,0 +1,26 @@
# 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} = /{usr/,}bin/gssproxy
profile gssproxy @{exec_path} {
include <abstractions/base>
include <abstractions/authentication>
include <abstractions/nameservice-strict>
@{exec_path} mr,
/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>
}