-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnagvis.te
26 lines (21 loc) · 879 Bytes
/
nagvis.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
module nagvis 1.0;
require {
type var_log_t;
type httpd_t;
type var_t;
type usr_t;
type var_lib_t;
type user_home_t;
class sock_file { write getattr };
class dir setattr;
class file { read setattr create ioctl write getattr unlink open };
}
#============= httpd_t ==============
#!!!! This avc is allowed in the current policy
allow httpd_t usr_t:file { read setattr create ioctl write getattr unlink open };
allow httpd_t usr_t:sock_file { write getattr };
allow httpd_t var_lib_t:file { write unlink setattr };
allow httpd_t var_log_t:file { read setattr create ioctl write getattr unlink open };
allow httpd_t var_t:dir setattr;
allow httpd_t var_t:file { read setattr create ioctl write getattr unlink open };
allow httpd_t user_home_t:file { read setattr create ioctl write getattr unlink open };