forked from OwlCyberDefense/refpolicy-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrealmd.te
90 lines (67 loc) · 1.66 KB
/
realmd.te
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
policy_module(realmd, 1.1.0)
########################################
#
# Declarations
#
type realmd_t;
type realmd_exec_t;
init_system_domain(realmd_t, realmd_exec_t)
########################################
#
# Local policy
#
allow realmd_t self:capability sys_nice;
allow realmd_t self:process setsched;
kernel_read_system_state(realmd_t)
corecmd_exec_bin(realmd_t)
corecmd_exec_shell(realmd_t)
corenet_all_recvfrom_unlabeled(realmd_t)
corenet_all_recvfrom_netlabel(realmd_t)
corenet_tcp_sendrecv_generic_if(realmd_t)
corenet_tcp_sendrecv_generic_node(realmd_t)
corenet_sendrecv_http_client_packets(realmd_t)
corenet_tcp_connect_http_port(realmd_t)
corenet_tcp_sendrecv_http_port(realmd_t)
domain_use_interactive_fds(realmd_t)
dev_read_rand(realmd_t)
dev_read_urand(realmd_t)
fs_getattr_all_fs(realmd_t)
files_read_usr_files(realmd_t)
auth_use_nsswitch(realmd_t)
logging_send_syslog_msg(realmd_t)
optional_policy(`
dbus_system_domain(realmd_t, realmd_exec_t)
optional_policy(`
networkmanager_dbus_chat(realmd_t)
')
optional_policy(`
policykit_dbus_chat(realmd_t)
')
')
optional_policy(`
hostname_exec(realmd_t)
')
optional_policy(`
kerberos_use(realmd_t)
kerberos_rw_keytab(realmd_t)
')
optional_policy(`
nis_exec_ypbind(realmd_t)
nis_initrc_domtrans(realmd_t)
')
optional_policy(`
gnome_read_generic_home_content(realmd_t)
')
optional_policy(`
samba_domtrans_net(realmd_t)
samba_manage_config(realmd_t)
samba_getattr_winbind_exec(realmd_t)
')
optional_policy(`
sssd_getattr_exec(realmd_t)
sssd_manage_config(realmd_t)
sssd_manage_lib_files(realmd_t)
sssd_manage_public_files(realmd_t)
sssd_read_pid_files(realmd_t)
sssd_initrc_domtrans(realmd_t)
')