Skip to content
Snippets Groups Projects
Commit 7359b017 authored by Frederic Danis's avatar Frederic Danis
Browse files

Add AppArmor rules


Signed-off-by: default avatarFrédéric Danis <frederic.danis@collabora.com>
parent ddb724ed
No related branches found
No related tags found
2 merge requests!10backport Add AppArmor rules,!8Add AppArmor rules
#include <tunables/global>
/usr/libexec/geoclue {
#include <abstractions/chaiwala-base>
#include <abstractions/dbus-strict>
dbus send
bus=system
path=/org/freedesktop/DBus
interface=org.freedesktop.DBus
member={RequestName,ReleaseName}
peer=(name=org.freedesktop.DBus),
dbus bind bus=system name=org.freedesktop.GeoClue2,
dbus (send, receive) bus=system peer=(label=unconfined),
dbus (send, receive) bus=system peer=(label=avahi-daemon),
network netlink,
network inet,
network inet6,
/etc/gai.conf r,
/etc/geoclue/ r,
/etc/geoclue/** r,
/etc/hosts r,
/etc/host.conf r,
/etc/nsswitch.conf r,
/etc/ssl/openssl.cnf r,
/run/connman/resolv.conf r,
@{PROC}/@{pid}/cgroup r,
}
debian/apparmor.d/* /etc/apparmor.d/
debian/local/geoclue-2.0.pkla var/lib/polkit-1/localauthority/10-vendor.d/
debian/local/geoclue-2.0.rules usr/share/polkit-1/rules.d/
etc/dbus-1/system.d/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment