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

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 5485 by kumaneko, Sun Sep 25 08:39:53 2011 UTC revision 5487 by kumaneko, Mon Sep 26 01:03:31 2011 UTC
# Line 498  static struct ccs_profile *ccs_assign_pr Line 498  static struct ccs_profile *ccs_assign_pr
498          if (mutex_lock_interruptible(&ccs_policy_lock))          if (mutex_lock_interruptible(&ccs_policy_lock))
499                  goto out;                  goto out;
500          ptr = ns->profile_ptr[profile];          ptr = ns->profile_ptr[profile];
501          ccs_set_memory_size(sizeof(*entry));          if (!ptr && ccs_memory_ok(entry, sizeof(*entry))) {
         if (!ptr && ccs_memory_ok(entry)) {  
502                  ptr = entry;                  ptr = entry;
503                  ptr->default_config = CCS_CONFIG_DISABLED |                  ptr->default_config = CCS_CONFIG_DISABLED |
504                          CCS_CONFIG_WANT_GRANT_LOG | CCS_CONFIG_WANT_REJECT_LOG;                          CCS_CONFIG_WANT_GRANT_LOG | CCS_CONFIG_WANT_REJECT_LOG;

Legend:
Removed from v.5485  
changed lines
  Added in v.5487

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