summaryrefslogtreecommitdiff
path: root/security/tomoyo
diff options
context:
space:
mode:
authorSrikant Patnaik2015-01-11 12:54:11 +0530
committerSrikant Patnaik2015-01-11 12:54:11 +0530
commit9269889243fe99dcec8609a7225cf3b55f879069 (patch)
tree6d27b41229a16085f12fe67091b1f0b192100273 /security/tomoyo
parent1fcb0cd099b37ad0aabae9b7267f031be1b8cd40 (diff)
downloadFOSSEE-netbook-kernel-source-9269889243fe99dcec8609a7225cf3b55f879069.tar.gz
FOSSEE-netbook-kernel-source-9269889243fe99dcec8609a7225cf3b55f879069.tar.bz2
FOSSEE-netbook-kernel-source-9269889243fe99dcec8609a7225cf3b55f879069.zip
added security directory and modified gitignore to avoid ./out directory(modules directory)
Diffstat (limited to 'security/tomoyo')
-rw-r--r--security/tomoyo/builtin-policy.h12
-rw-r--r--security/tomoyo/policy/domain_policy.conf0
-rw-r--r--security/tomoyo/policy/exception_policy.conf2
-rw-r--r--security/tomoyo/policy/manager.conf0
-rw-r--r--security/tomoyo/policy/profile.conf0
-rw-r--r--security/tomoyo/policy/stat.conf0
6 files changed, 14 insertions, 0 deletions
diff --git a/security/tomoyo/builtin-policy.h b/security/tomoyo/builtin-policy.h
new file mode 100644
index 00000000..abfe17e3
--- /dev/null
+++ b/security/tomoyo/builtin-policy.h
@@ -0,0 +1,12 @@
+static char tomoyo_builtin_profile[] __initdata =
+"";
+static char tomoyo_builtin_exception_policy[] __initdata =
+"initialize_domain /sbin/modprobe from any\n"
+"initialize_domain /sbin/hotplug from any\n"
+"";
+static char tomoyo_builtin_domain_policy[] __initdata =
+"";
+static char tomoyo_builtin_manager[] __initdata =
+"";
+static char tomoyo_builtin_stat[] __initdata =
+"";
diff --git a/security/tomoyo/policy/domain_policy.conf b/security/tomoyo/policy/domain_policy.conf
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/security/tomoyo/policy/domain_policy.conf
diff --git a/security/tomoyo/policy/exception_policy.conf b/security/tomoyo/policy/exception_policy.conf
new file mode 100644
index 00000000..2678df49
--- /dev/null
+++ b/security/tomoyo/policy/exception_policy.conf
@@ -0,0 +1,2 @@
+initialize_domain /sbin/modprobe from any
+initialize_domain /sbin/hotplug from any
diff --git a/security/tomoyo/policy/manager.conf b/security/tomoyo/policy/manager.conf
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/security/tomoyo/policy/manager.conf
diff --git a/security/tomoyo/policy/profile.conf b/security/tomoyo/policy/profile.conf
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/security/tomoyo/policy/profile.conf
diff --git a/security/tomoyo/policy/stat.conf b/security/tomoyo/policy/stat.conf
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/security/tomoyo/policy/stat.conf