-
Notifications
You must be signed in to change notification settings - Fork 0
/
cicap.if
40 lines (35 loc) · 837 Bytes
/
cicap.if
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
## <summary>policy for cicap</summary>
########################################
## <summary>
## Execute cicap_exec_t in the cicap domain.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed to transition.
## </summary>
## </param>
#
interface(`cicap_domtrans',`
gen_require(`
type cicap_t, cicap_exec_t;
')
corecmd_search_bin($1)
domtrans_pattern($1, cicap_exec_t, cicap_t)
')
######################################
## <summary>
## Execute cicap in the caller domain.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`cicap_exec',`
gen_require(`
type cicap_exec_t;
')
corecmd_search_bin($1)
can_exec($1, cicap_exec_t)
')