File: amtu.te

package info (click to toggle)
refpolicy 2%3A2.20190201-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 11,440 kB
  • sloc: python: 1,915; makefile: 612; ansic: 336; sh: 174; sed: 20; xml: 13; awk: 7
file content (39 lines) | stat: -rw-r--r-- 655 bytes parent folder | download | duplicates (2)
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
policy_module(amtu, 1.4.0)

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

attribute_role amtu_roles;

type amtu_t;
type amtu_exec_t;
init_system_domain(amtu_t, amtu_exec_t)
role amtu_roles types amtu_t;

type amtu_initrc_exec_t;
init_script_file(amtu_initrc_exec_t)

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

kernel_read_system_state(amtu_t)

files_manage_boot_files(amtu_t)
files_read_etc_runtime_files(amtu_t)
files_read_etc_files(amtu_t)

logging_send_audit_msgs(amtu_t)

userdom_use_user_terminals(amtu_t)

optional_policy(`
	nscd_dontaudit_search_pid(amtu_t)
')

optional_policy(`
	seutil_use_newrole_fds(amtu_t)
')