From 9269889243fe99dcec8609a7225cf3b55f879069 Mon Sep 17 00:00:00 2001 From: Srikant Patnaik Date: Sun, 11 Jan 2015 12:54:11 +0530 Subject: added security directory and modified gitignore to avoid ./out directory(modules directory) --- .gitignore | 2 ++ scripts/kconfig/mconf | Bin 0 -> 151187 bytes security/tomoyo/builtin-policy.h | 12 ++++++++++++ security/tomoyo/policy/domain_policy.conf | 0 security/tomoyo/policy/exception_policy.conf | 2 ++ security/tomoyo/policy/manager.conf | 0 security/tomoyo/policy/profile.conf | 0 security/tomoyo/policy/stat.conf | 0 8 files changed, 16 insertions(+) create mode 100755 scripts/kconfig/mconf create mode 100644 security/tomoyo/builtin-policy.h create mode 100644 security/tomoyo/policy/domain_policy.conf create mode 100644 security/tomoyo/policy/exception_policy.conf create mode 100644 security/tomoyo/policy/manager.conf create mode 100644 security/tomoyo/policy/profile.conf create mode 100644 security/tomoyo/policy/stat.conf diff --git a/.gitignore b/.gitignore index 7f3cb7f9..70c4961f 100644 --- a/.gitignore +++ b/.gitignore @@ -45,6 +45,8 @@ modules.builtin /Module.markers /Module.symvers .svn/* +/out +uzImage.bin # # git files that we don't want to ignore even it they are dot-files # diff --git a/scripts/kconfig/mconf b/scripts/kconfig/mconf new file mode 100755 index 00000000..f98093b8 Binary files /dev/null and b/scripts/kconfig/mconf differ 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 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 diff --git a/security/tomoyo/policy/profile.conf b/security/tomoyo/policy/profile.conf new file mode 100644 index 00000000..e69de29b diff --git a/security/tomoyo/policy/stat.conf b/security/tomoyo/policy/stat.conf new file mode 100644 index 00000000..e69de29b -- cgit