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

Subversion リポジトリの参照

Diff of /branches/ccs-patch/security/ccsecurity/policy_io.c

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

revision 3248 by kumaneko, Sat Dec 12 08:47:01 2009 UTC revision 3258 by kumaneko, Tue Dec 15 12:46:47 2009 UTC
# Line 960  static int ccs_write_domain_policy(struc Line 960  static int ccs_write_domain_policy(struc
960                  domain->ignore_global_allow_env = !is_delete;                  domain->ignore_global_allow_env = !is_delete;
961                  return 0;                  return 0;
962          }          }
963            if (!strcmp(data, CCS_KEYWORD_QUOTA_EXCEEDED)) {
964                    domain->quota_warned = !is_delete;
965                    return 0;
966            }
967            if (!strcmp(data, CCS_KEYWORD_TRANSITION_FAILED)) {
968                    domain->domain_transition_failed = !is_delete;
969                    return 0;
970            }
971          cp = ccs_find_condition_part(data);          cp = ccs_find_condition_part(data);
972          if (cp) {          if (cp) {
973                  cond = ccs_get_condition(cp);                  cond = ccs_get_condition(cp);
# Line 1659  static void ccs_read_domain_policy(struc Line 1667  static void ccs_read_domain_policy(struc
1667                          continue;                          continue;
1668                  /* Print domainname and flags. */                  /* Print domainname and flags. */
1669                  if (domain->quota_warned)                  if (domain->quota_warned)
1670                          quota_exceeded = "quota_exceeded\n";                          quota_exceeded = CCS_KEYWORD_QUOTA_EXCEEDED "\n";
1671                  if (domain->domain_transition_failed)                  if (domain->domain_transition_failed)
1672                          transition_failed = "transition_failed\n";                          transition_failed = CCS_KEYWORD_TRANSITION_FAILED "\n";
1673                  if (domain->ignore_global_allow_read)                  if (domain->ignore_global_allow_read)
1674                          ignore_global_allow_read                          ignore_global_allow_read
1675                                  = CCS_KEYWORD_IGNORE_GLOBAL_ALLOW_READ "\n";                                  = CCS_KEYWORD_IGNORE_GLOBAL_ALLOW_READ "\n";

Legend:
Removed from v.3248  
changed lines
  Added in v.3258

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