From 6bea2fbd2586326f86690710f904b85e404b13ef Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Sat, 14 Aug 2021 12:59:43 +0100 Subject: [PATCH] Add geoclue profile. --- apparmor.d/groups/desktop/geoclue | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 apparmor.d/groups/desktop/geoclue diff --git a/apparmor.d/groups/desktop/geoclue b/apparmor.d/groups/desktop/geoclue new file mode 100644 index 00000000..b29f2b75 --- /dev/null +++ b/apparmor.d/groups/desktop/geoclue @@ -0,0 +1,22 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2021 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = /{usr/,}lib/geoclue +profile geoclue @{exec_path} { + include + + network netlink raw, + + @{exec_path} mr, + + /etc/geoclue/{,**} r, + + @{PROC}/@{pids}/cgroup r, + + include if exists +} \ No newline at end of file