• R/O
  • SSH
  • HTTPS

akari: Commit


Commit MetaInfo

Revision375 (tree)
Time2011-12-10 11:56:05
Authorkumaneko

Log Message

(empty log message)

Change Summary

Incremental Difference

--- trunk/akari/policy_io.c (revision 374)
+++ trunk/akari/policy_io.c (revision 375)
@@ -2815,7 +2815,7 @@
28152815 */
28162816 static int ccs_update_policy(const int size, struct ccs_acl_param *param)
28172817 {
2818- struct ccs_acl_head *new_entry = &param->e.acl_head;
2818+ struct ccs_acl_head *new_entry = &param->e.acl_head;
28192819 int error = param->is_delete ? -ENOENT : -ENOMEM;
28202820 struct ccs_acl_head *entry;
28212821 struct list_head *list = param->list;
@@ -3067,7 +3067,7 @@
30673067 */
30683068 static int ccs_update_acl(const int size, struct ccs_acl_param *param)
30693069 {
3070- struct ccs_acl_info *new_entry = &param->e.acl_info;
3070+ struct ccs_acl_info *new_entry = &param->e.acl_info;
30713071 const bool is_delete = param->is_delete;
30723072 int error = is_delete ? -ENOENT : -ENOMEM;
30733073 struct ccs_acl_info *entry;
@@ -4261,7 +4261,8 @@
42614261 struct ccs_policy_namespace *ns = param->ns;
42624262 int error;
42634263 u8 *tmp;
4264- if (param->data[0] == '@' || !ccs_parse_number_union(param, &e->port) ||
4264+ if (param->data[0] == '@' ||
4265+ !ccs_parse_number_union(param, &e->port) ||
42654266 e->port.values[1] > 65535 || param->data[0])
42664267 return -EINVAL;
42674268 param->list = &ns->policy_list[CCS_ID_RESERVEDPORT];
--- trunk/akari/permission.c (revision 374)
+++ trunk/akari/permission.c (revision 375)
@@ -143,7 +143,7 @@
143143
144144 #endif
145145
146-#ifdef CONFIG_CCSECURITY_CAPABILITY
146+#ifdef CONFIG_CCSECURITY_CAPABILITY
147147
148148 /*
149149 * Mapping table from "enum ccs_capability_acl_index" to "enum ccs_mac_index".
@@ -188,7 +188,8 @@
188188
189189 /***** SECTION3: Prototype definition section *****/
190190
191-bool ccs_dump_page(struct linux_binprm *bprm, unsigned long pos, struct ccs_page_dump *dump);
191+bool ccs_dump_page(struct linux_binprm *bprm, unsigned long pos,
192+ struct ccs_page_dump *dump);
192193 void ccs_get_attributes(struct ccs_obj_info *obj);
193194
194195 static bool ccs_alphabet_char(const char c);
@@ -963,7 +964,7 @@
963964 }
964965 goto out;
965966 }
966- } else
967+ } else
967968 #endif
968969 {
969970 struct ccs_aggregator *ptr;
Show on old repository browser