• R/O
  • SSH
  • HTTPS

caitsith: Commit


Commit MetaInfo

Revision158 (tree)
Time2015-07-19 23:50:40
Authorkumaneko

Log Message

(empty log message)

Change Summary

Incremental Difference

--- trunk/caitsith-patch/include/linux/lsm2caitsith.h (revision 157)
+++ trunk/caitsith-patch/include/linux/lsm2caitsith.h (revision 158)
@@ -3,7 +3,7 @@
33 *
44 * Copyright (C) 2005-2012 NTT DATA CORPORATION
55 *
6- * Version: 1.8.4 2015/07/11
6+ * Version: 1.8.4 2015/07/21
77 */
88
99 #ifndef _LINUX_LSM2CAITSITH_H
--- trunk/caitsith-patch/include/linux/caitsith.h (revision 157)
+++ trunk/caitsith-patch/include/linux/caitsith.h (revision 158)
@@ -3,7 +3,7 @@
33 *
44 * Copyright (C) 2005-2012 NTT DATA CORPORATION
55 *
6- * Version: 0.1.13 2015/06/06
6+ * Version: 0.1.14 2015/07/21
77 */
88
99 #ifndef _LINUX_CAITSITH_H
--- trunk/caitsith-patch/security/caitsith/policy_io.c (revision 157)
+++ trunk/caitsith-patch/security/caitsith/policy_io.c (revision 158)
@@ -3,7 +3,7 @@
33 *
44 * Copyright (C) 2005-2012 NTT DATA CORPORATION
55 *
6- * Version: 0.1.13 2015/06/06
6+ * Version: 0.1.14 2015/07/21
77 */
88
99 #include "internal.h"
@@ -2197,7 +2197,7 @@
21972197 static void cs_check_profile(void)
21982198 {
21992199 cs_policy_loaded = true;
2200- printk(KERN_INFO "CaitSith: 0.1.13 2015/06/06\n");
2200+ printk(KERN_INFO "CaitSith: 0.1.14 2015/07/21\n");
22012201 if (cs_policy_version == 20120401) {
22022202 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0) && defined(CONFIG_SECURITY)
22032203 caitsith_exports.add_hooks();
@@ -3111,7 +3111,7 @@
31113111 {
31123112 if (head->r.eof)
31133113 return;
3114- cs_set_string(head, "0.1.13");
3114+ cs_set_string(head, "0.1.14");
31153115 head->r.eof = true;
31163116 }
31173117
@@ -3179,7 +3179,7 @@
31793179 cs_io_printf(head, "quota memory %s %u\n",
31803180 cs_memory_headers[i], cs_memory_quota[i]);
31813181 }
3182- while (head->r.step < CS_MAX_GROUP + CS_MAX_MEMORY_STAT) {
3182+ while (head->r.step < CS_MAX_LOG_QUOTA + CS_MAX_MEMORY_STAT) {
31833183 unsigned int a;
31843184 unsigned int d;
31853185 unsigned int u;
--- trunk/caitsith-patch/security/caitsith/memory.c (revision 157)
+++ trunk/caitsith-patch/security/caitsith/memory.c (revision 158)
@@ -3,7 +3,7 @@
33 *
44 * Copyright (C) 2005-2012 NTT DATA CORPORATION
55 *
6- * Version: 0.1.13 2015/06/06
6+ * Version: 0.1.14 2015/07/21
77 */
88
99 #include "internal.h"
--- trunk/caitsith-patch/security/caitsith/permission.c (revision 157)
+++ trunk/caitsith-patch/security/caitsith/permission.c (revision 158)
@@ -3,7 +3,7 @@
33 *
44 * Copyright (C) 2005-2012 NTT DATA CORPORATION
55 *
6- * Version: 0.1.13 2015/06/06
6+ * Version: 0.1.14 2015/07/21
77 */
88
99 #include "internal.h"
--- trunk/caitsith-patch/security/caitsith/gc.c (revision 157)
+++ trunk/caitsith-patch/security/caitsith/gc.c (revision 158)
@@ -3,7 +3,7 @@
33 *
44 * Copyright (C) 2005-2012 NTT DATA CORPORATION
55 *
6- * Version: 0.1.13 2015/06/06
6+ * Version: 0.1.14 2015/07/21
77 */
88
99 #include "internal.h"
--- trunk/caitsith-patch/security/caitsith/load_policy.c (revision 157)
+++ trunk/caitsith-patch/security/caitsith/load_policy.c (revision 158)
@@ -3,7 +3,7 @@
33 *
44 * Copyright (C) 2005-2012 NTT DATA CORPORATION
55 *
6- * Version: 0.1.13 2015/06/06
6+ * Version: 0.1.14 2015/07/21
77 */
88
99 #include <linux/version.h>
--- trunk/caitsith-patch/security/caitsith/realpath.c (revision 157)
+++ trunk/caitsith-patch/security/caitsith/realpath.c (revision 158)
@@ -3,7 +3,7 @@
33 *
44 * Copyright (C) 2005-2012 NTT DATA CORPORATION
55 *
6- * Version: 0.1.13 2015/06/06
6+ * Version: 0.1.14 2015/07/21
77 */
88
99 #include "internal.h"
--- trunk/caitsith-patch/security/caitsith/internal.h (revision 157)
+++ trunk/caitsith-patch/security/caitsith/internal.h (revision 158)
@@ -3,7 +3,7 @@
33 *
44 * Copyright (C) 2005-2012 NTT DATA CORPORATION
55 *
6- * Version: 0.1.13 2015/06/06
6+ * Version: 0.1.14 2015/07/21
77 */
88
99 #ifndef _SECURITY_CAITSITH_INTERNAL_H
--- trunk/caitsith-patch/caitsith/lsm.c (revision 157)
+++ trunk/caitsith-patch/caitsith/lsm.c (revision 158)
@@ -3,7 +3,7 @@
33 *
44 * Copyright (C) 2010-2013 Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
55 *
6- * Version: 0.1.13 2015/06/06
6+ * Version: 0.1.14 2015/07/21
77 */
88
99 #include <linux/version.h>
--- trunk/caitsith-patch/caitsith/lsm-4.2.c (revision 157)
+++ trunk/caitsith-patch/caitsith/lsm-4.2.c (revision 158)
@@ -3,7 +3,7 @@
33 *
44 * Copyright (C) 2010-2013 Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
55 *
6- * Version: 0.1.13 2015/06/06
6+ * Version: 0.1.14 2015/07/21
77 */
88
99 #include "caitsith.h"
--- trunk/caitsith-patch/caitsith/realpath.c (revision 157)
+++ trunk/caitsith-patch/caitsith/realpath.c (revision 158)
@@ -3,7 +3,7 @@
33 *
44 * Copyright (C) 2005-2012 NTT DATA CORPORATION
55 *
6- * Version: 0.1.13 2015/06/06
6+ * Version: 0.1.14 2015/07/21
77 */
88
99 #include "caitsith.h"
--- trunk/caitsith-patch/caitsith/mclsm.c (revision 157)
+++ trunk/caitsith-patch/caitsith/mclsm.c (revision 158)
@@ -3,7 +3,7 @@
33 *
44 * Copyright (C) 2010-2013 Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
55 *
6- * Version: 0.1.13 2015/06/06
6+ * Version: 0.1.14 2015/07/21
77 */
88
99 #include "caitsith.h"
--- trunk/caitsith-patch/caitsith/caitsith.h (revision 157)
+++ trunk/caitsith-patch/caitsith/caitsith.h (revision 158)
@@ -3,7 +3,7 @@
33 *
44 * Copyright (C) 2005-2012 NTT DATA CORPORATION
55 *
6- * Version: 0.1.13 2015/06/06
6+ * Version: 0.1.14 2015/07/21
77 */
88
99 #ifndef _SECURITY_CAITSITH_INTERNAL_H
--- trunk/caitsith-patch/caitsith/lsm-2.6.27-vfs.c (revision 157)
+++ trunk/caitsith-patch/caitsith/lsm-2.6.27-vfs.c (revision 158)
@@ -3,7 +3,7 @@
33 *
44 * Copyright (C) 2010-2013 Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
55 *
6- * Version: 0.1.13 2015/06/06
6+ * Version: 0.1.14 2015/07/21
77 */
88
99 #include "caitsith.h"
--- trunk/caitsith-patch/caitsith/lsm-2.6.27.c (revision 157)
+++ trunk/caitsith-patch/caitsith/lsm-2.6.27.c (revision 158)
@@ -3,7 +3,7 @@
33 *
44 * Copyright (C) 2010-2013 Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
55 *
6- * Version: 0.1.13 2015/06/06
6+ * Version: 0.1.14 2015/07/21
77 */
88
99 #include "caitsith.h"
--- trunk/caitsith-patch/caitsith/policy_io.c (revision 157)
+++ trunk/caitsith-patch/caitsith/policy_io.c (revision 158)
@@ -3,7 +3,7 @@
33 *
44 * Copyright (C) 2005-2012 NTT DATA CORPORATION
55 *
6- * Version: 0.1.13 2015/06/06
6+ * Version: 0.1.14 2015/07/21
77 */
88
99 #include "caitsith.h"
@@ -2154,7 +2154,7 @@
21542154 void cs_check_profile(void)
21552155 {
21562156 cs_policy_loaded = true;
2157- printk(KERN_INFO "CaitSith (LSM): 0.1.13 2015/06/06\n");
2157+ printk(KERN_INFO "CaitSith (LSM): 0.1.14 2015/07/21\n");
21582158 if (cs_policy_version == 20120401) {
21592159 printk(KERN_INFO "CaitSith module activated.\n");
21602160 return;
@@ -3065,7 +3065,7 @@
30653065 {
30663066 if (head->r.eof)
30673067 return;
3068- cs_set_string(head, "0.1.13");
3068+ cs_set_string(head, "0.1.14");
30693069 head->r.eof = true;
30703070 }
30713071
@@ -3133,7 +3133,7 @@
31333133 cs_io_printf(head, "quota memory %s %u\n",
31343134 cs_memory_headers[i], cs_memory_quota[i]);
31353135 }
3136- while (head->r.step < CS_MAX_GROUP + CS_MAX_MEMORY_STAT) {
3136+ while (head->r.step < CS_MAX_LOG_QUOTA + CS_MAX_MEMORY_STAT) {
31373137 unsigned int a;
31383138 unsigned int d;
31393139 unsigned int u;
--- trunk/caitsith-patch/caitsith/lsm-2.6.29.c (revision 157)
+++ trunk/caitsith-patch/caitsith/lsm-2.6.29.c (revision 158)
@@ -3,7 +3,7 @@
33 *
44 * Copyright (C) 2010-2013 Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
55 *
6- * Version: 0.1.13 2015/06/06
6+ * Version: 0.1.14 2015/07/21
77 */
88
99 #include "caitsith.h"
--- trunk/caitsith-patch/caitsith/permission.c (revision 157)
+++ trunk/caitsith-patch/caitsith/permission.c (revision 158)
@@ -3,7 +3,7 @@
33 *
44 * Copyright (C) 2005-2012 NTT DATA CORPORATION
55 *
6- * Version: 0.1.13 2015/06/06
6+ * Version: 0.1.14 2015/07/21
77 */
88
99 #include "caitsith.h"
--- trunk/caitsith-patch/caitsith/gc.c (revision 157)
+++ trunk/caitsith-patch/caitsith/gc.c (revision 158)
@@ -3,7 +3,7 @@
33 *
44 * Copyright (C) 2005-2012 NTT DATA CORPORATION
55 *
6- * Version: 0.1.13 2015/06/06
6+ * Version: 0.1.14 2015/07/21
77 */
88
99 #include "caitsith.h"
--- tags/htdocs/index.html (revision 157)
+++ tags/htdocs/index.html (revision 158)
@@ -779,7 +779,7 @@
779779 quota memory policy $max_byte_for_policy
780780 quota memory audit $max_byte_for_audit_logs
781781 quota memory query $max_byte_for_query
782-quota audit[$audit_index] allowed=$max_logs_for_allowed_request unmatched=$max_logs_for_unmatched_request denied=$max_logs_for_denied_request
782+quota audit[$audit_index] allowed=$max_logs_for_allowed_request denied=$max_logs_for_denied_request unmatched=$max_logs_for_unmatched_request
783783 string_group $string_group_name $string_group_member
784784 number_group $number_group_name $number_group_member
785785 ip_group $ip_group_name $ip_group_member
@@ -791,7 +791,7 @@
791791 <li>$max_byte_for_policy is max amount of memory in byte which can be allocated for policy. Default is unlimited.</li>
792792 <li>$max_byte_for_audit_logs is max amount of memory in byte which can be allocated for audit logs. Default is unlimited. $max_byte_for_audit_logs=16777216 should be sufficient.</li>
793793 <li>$max_byte_for_query is max amount of memory in byte which can be allocated for interactive enforcement. Default is unlimited. $max_byte_for_audit_logs=1048576 should be sufficient.</li>
794-<li>quota audit[$audit_index] lines (0 &lt;= $audit_index &lt;= 255) are max number of audit logs which can be held in the kernel space. $max_logs_for_allowed_request is for allowed requests. $max_logs_for_unmatched_request is for unmatched requests. $max_logs_for_denied_request is for denied requests. Default is 0. Unless you have special reasons, you should set 0 to $max_logs_for_allowed_request. Regarding $max_logs_for_unmatched_request and $max_logs_for_denied_request, 1024 should be sufficient.</li>
794+<li>quota audit[$audit_index] lines (0 &lt;= $audit_index &lt;= 255) are max number of audit logs which can be held in the kernel space. $max_logs_for_allowed_request is for allowed requests. $max_logs_for_denied_request is for denied requests. $max_logs_for_unmatched_request is for unmatched requests. Default is 0. Unless you have special reasons, you should set 0 to $max_logs_for_allowed_request. Regarding $max_logs_for_unmatched_request and $max_logs_for_denied_request, 1024 should be sufficient.</li>
795795 <li>string_group $string_group_name lines define group of strings. $string_group_member is a member for $string_group_name group.</li>
796796 <li>number_group $number_group_name lines define group of numbers. $number_group_member is a member for $number_group_name group.</li>
797797 <li>ip_group $ip_group_name lines define group of IP addresses. $ip_group_member is a member for $ip_group_name group.</li>
Show on old repository browser