File: disable_booltunable.te

package info (click to toggle)
selint 1.5.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,948 kB
  • sloc: ansic: 12,163; yacc: 1,149; makefile: 389; lex: 183; sh: 11
file content (18 lines) | stat: -rw-r--r-- 290 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
policy_module(booltunable, 1.0)

type foo_t;

tunable_policy(tunable1 #selint-disable:C-008
,`
	allow foo_t foo_t:cls perm;
')

tunable_policy(`tunable2 && tunable3' #selint-disable:C-008
,`
	allow foo_t foo_t:cls perm;
')

if (bool1) #selint-disable:C-008
{
	allow foo_t foo_t:cls perm;
}