Debian Codegraph @

tests/policies/test-expander/base-base-only.conf

raw
1 class security
2 class file
3
4 sid kernel
5
6 common file
7 {
8 read
9 }
10
11 class file
12 inherits file
13 {
14 entrypoint
15 }
16
17 class security
18 {
19 compute_av
20 }
21
22 ifdef(`enable_mls',`
23 sensitivity s0;
24
25 dominance { s0 }
26
27 category c0;
28
29 level s0:c0;
30
31 mlsconstrain file { read }
32 ( h1 dom h2 );
33 ')
34
35 attribute myattr;
36 type mytype_t;
37 role myrole_r;
38 role myrole_r types mytype_t;
39 bool mybool true;
40 gen_user(myuser_u,, myrole_r, s0, s0 - s0:c0)
41
42 sid kernel gen_context(myuser_u:myrole_r:mytype_t, s0)
43
44