Last change
on this file since 1875 was
88,
checked in by presbrey, 18 years ago
|
Nagios NRPE strict SELinux module
|
File size:
528 bytes
|
Line | |
---|
1 | # Joe Presbrey |
---|
2 | # presbrey@mit.edu |
---|
3 | # 2006/1/15 |
---|
4 | |
---|
5 | interface(`nrpe_domtrans',` |
---|
6 | gen_requires(` |
---|
7 | type nrpe_t, nrpe_exec_t; |
---|
8 | ') |
---|
9 | |
---|
10 | domain_auto_trans($1,nrpe_exec_t,nrpe_t) |
---|
11 | |
---|
12 | allow $1 nrpe_t:fd use; |
---|
13 | allow nrpe_t $1:fd use; |
---|
14 | allow nrpe_t:$1:fifo_file rw_file_perms; |
---|
15 | allow nrpe_t $1:process sigchld; |
---|
16 | ') |
---|
17 | |
---|
18 | template(`nrpe_access',` |
---|
19 | require { |
---|
20 | type nrpe_etc_t; |
---|
21 | } |
---|
22 | |
---|
23 | allow $1 nrpe_etc_t:file r_file_perms; |
---|
24 | allow $1 nrpe_etc_t:dir r_dir_perms; |
---|
25 | ') |
---|
Note: See
TracBrowser
for help on using the repository browser.