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

Subversion リポジトリの参照

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

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

revision 2970 by kumaneko, Fri Aug 28 13:19:43 2009 UTC revision 2973 by kumaneko, Mon Aug 31 10:47:45 2009 UTC
# Line 491  static void ccs_read_profile(struct ccs_ Line 491  static void ccs_read_profile(struct ccs_
491  #endif  #endif
492          ccs_io_printf(head, "PREFERENCE::learning={ verbose=%s max_entry=%u "          ccs_io_printf(head, "PREFERENCE::learning={ verbose=%s max_entry=%u "
493                        "exec.realpath=%s exec.argv0=%s symlink.target=%s }\n",                        "exec.realpath=%s exec.argv0=%s symlink.target=%s }\n",
494                        ccs_yesno(ccs_default_profile.preference.learning_verbose),                        ccs_yesno(ccs_default_profile.preference.
495                                    learning_verbose),
496                        ccs_default_profile.preference.learning_max_entry,                        ccs_default_profile.preference.learning_max_entry,
497                        ccs_yesno(ccs_default_profile.preference.learning_exec_realpath),                        ccs_yesno(ccs_default_profile.preference.
498                        ccs_yesno(ccs_default_profile.preference.learning_exec_argv0),                                  learning_exec_realpath),
499                          ccs_yesno(ccs_default_profile.preference.
500                                    learning_exec_argv0),
501                        ccs_yesno(ccs_default_profile.preference.                        ccs_yesno(ccs_default_profile.preference.
502                                  learning_symlink_target));                                  learning_symlink_target));
503          ccs_io_printf(head, "PREFERENCE::permissive={ verbose=%s }\n",          ccs_io_printf(head, "PREFERENCE::permissive={ verbose=%s }\n",
504                        ccs_yesno(ccs_default_profile.preference.permissive_verbose));                        ccs_yesno(ccs_default_profile.preference.
505                                    permissive_verbose));
506          ccs_io_printf(head, "PREFERENCE::enforcing={ verbose=%s penalty=%u "          ccs_io_printf(head, "PREFERENCE::enforcing={ verbose=%s penalty=%u "
507                        "}\n",                        "}\n",
508                        ccs_yesno(ccs_default_profile.preference.enforcing_verbose),                        ccs_yesno(ccs_default_profile.preference.
509                                    enforcing_verbose),
510                        ccs_default_profile.preference.enforcing_penalty);                        ccs_default_profile.preference.enforcing_penalty);
511          head->read_bit = 1;          head->read_bit = 1;
512   body:   body:
# Line 560  static void ccs_read_profile(struct ccs_ Line 565  static void ccs_read_profile(struct ccs_
565                                             ccs_mode_4[config & 3]))                                             ccs_mode_4[config & 3]))
566                                  goto out;                                  goto out;
567  #endif  #endif
                           
568                  }                  }
569  #ifdef CONFIG_CCSECURITY_AUDIT  #ifdef CONFIG_CCSECURITY_AUDIT
570                  if (profile->audit != &ccs_default_profile.preference &&                  if (profile->audit != &ccs_default_profile.preference &&

Legend:
Removed from v.2970  
changed lines
  Added in v.2973

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