From 66d02dab2bd1ba78fb566fa9b144f86ba6784ac0 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Tue, 28 Sep 2021 21:59:28 +0100 Subject: [PATCH] Add gssproxy. --- apparmor.d/profiles-g-l/gssproxy | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 apparmor.d/profiles-g-l/gssproxy diff --git a/apparmor.d/profiles-g-l/gssproxy b/apparmor.d/profiles-g-l/gssproxy new file mode 100644 index 00000000..af96cbd9 --- /dev/null +++ b/apparmor.d/profiles-g-l/gssproxy @@ -0,0 +1,26 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2021 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = /{usr/,}bin/gssproxy +profile gssproxy @{exec_path} { + include + include + include + + @{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 +} \ No newline at end of file