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

Subversion リポジトリの参照

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

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

revision 3935 by kumaneko, Wed Sep 1 14:07:02 2010 UTC revision 3945 by kumaneko, Sat Sep 4 12:08:57 2010 UTC
# Line 26  static struct ccs_profile ccs_default_pr Line 26  static struct ccs_profile ccs_default_pr
26          .preference.learning_symlink_target = true,          .preference.learning_symlink_target = true,
27  };  };
28    
29  /* Profile version. Currently only 20090903 is defined. */  /* Profile version. Currently only 20100903 is defined. */
30  static unsigned int ccs_profile_version;  static unsigned int ccs_profile_version;
31    
32  /* Profile table. Memory is allocated as needed. */  /* Profile table. Memory is allocated as needed. */
# Line 352  static void ccs_check_profile(void) Line 352  static void ccs_check_profile(void)
352                        profile, domain->domainname->name);                        profile, domain->domainname->name);
353          }          }
354          ccs_read_unlock(idx);          ccs_read_unlock(idx);
355          if (ccs_profile_version != 20090903)          if (ccs_profile_version != 20100903)
356                  panic("Profile version %u is not supported.\n",                  panic("Profile version %u is not supported.\n",
357                        ccs_profile_version);                        ccs_profile_version);
358          printk(KERN_INFO "CCSecurity: 1.8.0-pre   2010/09/01\n");          printk(KERN_INFO "CCSecurity: 1.8.0-pre   2010/09/01\n");
# Line 606  static void ccs_read_profile(struct ccs_ Line 606  static void ccs_read_profile(struct ccs_
606          profile = ccs_profile_ptr[index];          profile = ccs_profile_ptr[index];
607          switch (head->r.step) {          switch (head->r.step) {
608          case 0:          case 0:
609                  ccs_io_printf(head, "PROFILE_VERSION=%s\n", "20090903");                  ccs_io_printf(head, "PROFILE_VERSION=%s\n", "20100903");
610                  head->r.step++;                  head->r.step++;
611                  break;                  break;
612          case 1:          case 1:

Legend:
Removed from v.3935  
changed lines
  Added in v.3945

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