aboutsummaryrefslogtreecommitdiff
blob: c6e664088c8ea56086d655dcca99e733394fe6c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
policy_module(geoclue, 1.1.0)

########################################
#
# Declarations
#

type geoclue_t;
type geoclue_exec_t;
dbus_system_domain(geoclue_t, geoclue_exec_t)

type geoclue_etc_t;
files_config_file(geoclue_etc_t)

type geoclue_var_lib_t;
files_type(geoclue_var_lib_t)

########################################
#
# Local policy
#

read_files_pattern(geoclue_t, geoclue_etc_t, geoclue_etc_t)

kernel_read_kernel_sysctls(geoclue_t)

corenet_tcp_connect_http_port(geoclue_t)

dev_read_urand(geoclue_t)

auth_use_nsswitch(geoclue_t)

miscfiles_read_generic_certs(geoclue_t)
miscfiles_read_localization(geoclue_t)

optional_policy(`
	avahi_dbus_chat(geoclue_t)
')

optional_policy(`
	networkmanager_dbus_chat(geoclue_t)
')

optional_policy(`
	modemmanager_dbus_chat(geoclue_t)
')