1 |
commit: 1f162c021d59aabceee16140559627ef2f605458 |
2 |
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
3 |
AuthorDate: Sun Feb 26 17:04:49 2012 +0000 |
4 |
Commit: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
5 |
CommitDate: Sun Feb 26 17:04:49 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-docs.git;a=commit;h=1f162c02 |
7 |
|
8 |
Update on documents, including adding FAQ about initramfs |
9 |
|
10 |
--- |
11 |
xml/selinux-bugreporting.xml | 4 ++-- |
12 |
xml/selinux-faq.xml | 27 +++++++++++++++++++++++++-- |
13 |
xml/selinux/modules/NFS | 5 ----- |
14 |
3 files changed, 27 insertions(+), 9 deletions(-) |
15 |
|
16 |
diff --git a/xml/selinux-bugreporting.xml b/xml/selinux-bugreporting.xml |
17 |
index becc591..7d2ce99 100644 |
18 |
--- a/xml/selinux-bugreporting.xml |
19 |
+++ b/xml/selinux-bugreporting.xml |
20 |
@@ -15,8 +15,8 @@ policy updates. |
21 |
</abstract> |
22 |
|
23 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
24 |
-<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
25 |
-<license/> |
26 |
+<!-- See http://creativecommons.org/licenses/by-sa/3.0 --> |
27 |
+<license version="3.0" /> |
28 |
|
29 |
<version>1</version> |
30 |
<date>2011-11-22</date> |
31 |
|
32 |
diff --git a/xml/selinux-faq.xml b/xml/selinux-faq.xml |
33 |
index d4aeb18..62c2c28 100644 |
34 |
--- a/xml/selinux-faq.xml |
35 |
+++ b/xml/selinux-faq.xml |
36 |
@@ -17,8 +17,8 @@ The FAQ is a collection of solutions found on IRC, mailinglist, forums or |
37 |
elsewhere |
38 |
</abstract> |
39 |
|
40 |
-<version>19</version> |
41 |
-<date>2011-12-27</date> |
42 |
+<version>20</version> |
43 |
+<date>2012-02-26</date> |
44 |
|
45 |
<faqindex> |
46 |
<title>Questions</title> |
47 |
@@ -839,5 +839,28 @@ Authenticating swift. |
48 |
|
49 |
</body> |
50 |
</section> |
51 |
+<section id="initramfs"> |
52 |
+<title>How do I use SELinux with initramfs?</title> |
53 |
+<body> |
54 |
+ |
55 |
+<p> |
56 |
+We currently do not support booting in enforcing mode with an initramfs image |
57 |
+(but we are working on it). For the time being, boot in permissive mode. Once |
58 |
+booted, switch to enforcing mode (<c>setenforce 1</c>). |
59 |
+</p> |
60 |
+ |
61 |
+<p> |
62 |
+If you run SELinux on a production system and would not like to have attackers |
63 |
+be able to switch back to permissive mode (even when they would have the |
64 |
+necessary privileges otherwise), set the <c>secure_mode_policyload</c> boolean. |
65 |
+When enabled, enforcing mode cannot be disabled anymore (until you reboot). |
66 |
+</p> |
67 |
+ |
68 |
+<pre caption="Toggling secure_mode_policyload"> |
69 |
+# <i>setsebool secure_mode_policyload on</i> |
70 |
+</pre> |
71 |
+ |
72 |
+</body> |
73 |
+</section> |
74 |
</chapter> |
75 |
</guide> |
76 |
|
77 |
diff --git a/xml/selinux/modules/NFS b/xml/selinux/modules/NFS |
78 |
deleted file mode 100644 |
79 |
index aa87288..0000000 |
80 |
--- a/xml/selinux/modules/NFS |
81 |
+++ /dev/null |
82 |
@@ -1,5 +0,0 @@ |
83 |
-Important doclet: |
84 |
-- if mounting multiple locations with different context= options, but the |
85 |
- master file system (on the NFS server) is the same file system, then the |
86 |
- mount must use "nosharecache" as an option (IPv4) |
87 |
- |