1 |
commit: 073a0b3330c5f31fbe0a31f6c0948fc23763e8c1 |
2 |
Author: Luis Ressel <aranea <AT> aixah <DOT> de> |
3 |
AuthorDate: Sat Feb 1 11:36:49 2014 +0000 |
4 |
Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 9 10:51:11 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=073a0b33 |
7 |
|
8 |
kernel/files.if: Add files_dontaudit_list_var interface |
9 |
|
10 |
This is required for an update of the couchdb policy. |
11 |
|
12 |
--- |
13 |
policy/modules/kernel/files.if | 19 +++++++++++++++++++ |
14 |
1 file changed, 19 insertions(+) |
15 |
|
16 |
diff --git a/policy/modules/kernel/files.if b/policy/modules/kernel/files.if |
17 |
index 74959e8..5cff62e 100644 |
18 |
--- a/policy/modules/kernel/files.if |
19 |
+++ b/policy/modules/kernel/files.if |
20 |
@@ -5239,6 +5239,25 @@ interface(`files_list_var',` |
21 |
|
22 |
######################################## |
23 |
## <summary> |
24 |
+## Do not audit attempts to list |
25 |
+## the contents of /var. |
26 |
+## </summary> |
27 |
+## <param name="domain"> |
28 |
+## <summary> |
29 |
+## Domain to not audit. |
30 |
+## </summary> |
31 |
+## </param> |
32 |
+# |
33 |
+interface(`files_dontaudit_list_var',` |
34 |
+ gen_require(` |
35 |
+ type var_t; |
36 |
+ ') |
37 |
+ |
38 |
+ dontaudit $1 var_t:dir list_dir_perms; |
39 |
+') |
40 |
+ |
41 |
+######################################## |
42 |
+## <summary> |
43 |
## Create, read, write, and delete directories |
44 |
## in the /var directory. |
45 |
## </summary> |