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

Subversion リポジトリの参照

Diff of /trunk/1.8.x/ccs-patch/security/ccsecurity/domain.c

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

trunk/1.4.x/ccs-patch/fs/tomoyo_domain.c revision 323 by kumaneko, Mon Aug 6 12:38:46 2007 UTC trunk/1.5.x/ccs-patch/fs/tomoyo_domain.c revision 329 by kumaneko, Wed Aug 8 11:15:09 2007 UTC
# Line 5  Line 5 
5   *   *
6   * Copyright (C) 2005-2007  NTT DATA CORPORATION   * Copyright (C) 2005-2007  NTT DATA CORPORATION
7   *   *
8   * Version: 1.4.2   2007/07/13   * Version: 1.5.0-pre   2007/08/06
9   *   *
10   * This file is applicable to both 2.4.30 and 2.6.11 and later.   * This file is applicable to both 2.4.30 and 2.6.11 and later.
11   * See README.ccs for ChangeLog.   * See README.ccs for ChangeLog.
# Line 130  int TooManyDomainACL(struct domain_info Line 130  int TooManyDomainACL(struct domain_info
130          for (ptr = domain->first_acl_ptr; ptr; ptr = ptr->next) {          for (ptr = domain->first_acl_ptr; ptr; ptr = ptr->next) {
131                  if (!ptr->is_deleted) count++;                  if (!ptr->is_deleted) count++;
132          }          }
133          /* If there are so many entries, don't append if accept mode. */          /* If there are so many entries, don't append if learning mode. */
134          if (count < CheckCCSFlags(CCS_TOMOYO_MAX_ACCEPT_ENTRY)) return 0;          if (count < CheckCCSFlags(CCS_TOMOYO_MAX_ACCEPT_ENTRY)) return 0;
135          if (!domain->quota_warned) {          if (!domain->quota_warned) {
136                  printk("TOMOYO-WARNING: Domain '%s' has so many ACLs to hold. Stopped auto-append mode.\n", domain->domainname->name);                  printk("TOMOYO-WARNING: Domain '%s' has so many ACLs to hold. Stopped learning mode.\n", domain->domainname->name);
137                  domain->quota_warned = 1;                  domain->quota_warned = 1;
138          }          }
139          return 1;          return 1;

Legend:
Removed from v.323  
changed lines
  Added in v.329

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