オープンソース・ソフトウェアの開発とダウンロード

Subversion リポジトリの参照

Diff of /branches/ccs-patch/fs/tomoyo_domain.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1885 by kumaneko, Tue Nov 25 05:40:55 2008 UTC revision 1886 by kumaneko, Tue Nov 25 05:41:59 2008 UTC
# Line 140  int ccs_add_domain_acl(struct domain_inf Line 140  int ccs_add_domain_acl(struct domain_inf
140          } else {          } else {
141                  acl->type &= ~ACL_DELETED;                  acl->type &= ~ACL_DELETED;
142          }          }
         ccs_update_counter(CCS_UPDATES_COUNTER_DOMAIN_POLICY);  
143          return 0;          return 0;
144  }  }
145    
# Line 155  int ccs_del_domain_acl(struct acl_info * Line 154  int ccs_del_domain_acl(struct acl_info *
154  {  {
155          if (acl)          if (acl)
156                  acl->type |= ACL_DELETED;                  acl->type |= ACL_DELETED;
         ccs_update_counter(CCS_UPDATES_COUNTER_DOMAIN_POLICY);  
157          return 0;          return 0;
158  }  }
159    
# Line 259  static int update_domain_initializer_ent Line 257  static int update_domain_initializer_ent
257          error = 0;          error = 0;
258   out:   out:
259          mutex_unlock(&lock);          mutex_unlock(&lock);
         ccs_update_counter(CCS_UPDATES_COUNTER_EXCEPTION_POLICY);  
260          return error;          return error;
261  }  }
262    
# Line 418  static int update_domain_keeper_entry(co Line 415  static int update_domain_keeper_entry(co
415          error = 0;          error = 0;
416   out:   out:
417          mutex_unlock(&lock);          mutex_unlock(&lock);
         ccs_update_counter(CCS_UPDATES_COUNTER_EXCEPTION_POLICY);  
418          return error;          return error;
419  }  }
420    
# Line 561  static int update_alias_entry(const char Line 557  static int update_alias_entry(const char
557          error = 0;          error = 0;
558   out:   out:
559          mutex_unlock(&lock);          mutex_unlock(&lock);
         ccs_update_counter(CCS_UPDATES_COUNTER_EXCEPTION_POLICY);  
560          return error;          return error;
561  }  }
562    
# Line 658  static int update_aggregator_entry(const Line 653  static int update_aggregator_entry(const
653          error = 0;          error = 0;
654   out:   out:
655          mutex_unlock(&lock);          mutex_unlock(&lock);
         ccs_update_counter(CCS_UPDATES_COUNTER_EXCEPTION_POLICY);  
656          return error;          return error;
657  }  }
658    

Legend:
Removed from v.1885  
changed lines
  Added in v.1886

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26