1 |
commit: 504ddb3df9bc759ece6a4ce53de413a210af2999 |
2 |
Author: Miroslav Grepl <mgrepl <AT> redhat <DOT> com> |
3 |
AuthorDate: Mon Nov 25 10:18:05 2013 +0000 |
4 |
Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 30 15:01:35 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=504ddb3d |
7 |
|
8 |
Add setroubleshoot_signull() interface |
9 |
|
10 |
--- |
11 |
policy/modules/contrib/setroubleshoot.if | 18 ++++++++++++++++++ |
12 |
1 file changed, 18 insertions(+) |
13 |
|
14 |
diff --git a/policy/modules/contrib/setroubleshoot.if b/policy/modules/contrib/setroubleshoot.if |
15 |
index 3a9a70b..800b545 100644 |
16 |
--- a/policy/modules/contrib/setroubleshoot.if |
17 |
+++ b/policy/modules/contrib/setroubleshoot.if |
18 |
@@ -42,6 +42,24 @@ interface(`setroubleshoot_dontaudit_stream_connect',` |
19 |
dontaudit $1 setroubleshootd_t:unix_stream_socket connectto; |
20 |
') |
21 |
|
22 |
+####################################### |
23 |
+## <summary> |
24 |
+## Send null signals to setroubleshoot. |
25 |
+## </summary> |
26 |
+## <param name="domain"> |
27 |
+## <summary> |
28 |
+## Domain allowed access. |
29 |
+## </summary> |
30 |
+## </param> |
31 |
+# |
32 |
+interface(`setroubleshoot_signull',` |
33 |
+ gen_require(` |
34 |
+ type setroubleshootd_t; |
35 |
+ ') |
36 |
+ |
37 |
+ allow $1 setroubleshootd_t:process signull; |
38 |
+') |
39 |
+ |
40 |
######################################## |
41 |
## <summary> |
42 |
## Send and receive messages from |