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