]> git.ipfire.org Git - people/stevee/selinux-policy.git/blob - policy/modules/services/oav.if
trunk: merge UBAC.
[people/stevee/selinux-policy.git] / policy / modules / services / oav.if
1 ## <summary>Open AntiVirus scannerdaemon and signature update</summary>
2
3 ########################################
4 ## <summary>
5 ## Execute oav_update in the oav_update domain.
6 ## </summary>
7 ## <param name="domain">
8 ## <summary>
9 ## Domain allowed access.
10 ## </summary>
11 ## </param>
12 #
13 interface(`oav_domtrans_update',`
14 gen_require(`
15 type oav_update_t, oav_update_exec_t;
16 ')
17
18 corecmd_search_bin($1)
19 domtrans_pattern($1, oav_update_exec_t, oav_update_t)
20 ')
21
22 ########################################
23 ## <summary>
24 ## Execute oav_update in the oav_update domain, and
25 ## allow the specified role the oav_update domain.
26 ## </summary>
27 ## <param name="domain">
28 ## <summary>
29 ## Domain allowed access.
30 ## </summary>
31 ## </param>
32 ## <param name="role">
33 ## <summary>
34 ## The role to be allowed the oav_update domain.
35 ## </summary>
36 ## </param>
37 ## <rolecap/>
38 #
39 interface(`oav_run_update',`
40 gen_require(`
41 type oav_update_t;
42 ')
43
44 oav_domtrans_update($1)
45 role $2 types oav_update_t;
46 ')