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

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 2973 by kumaneko, Mon Aug 31 10:47:45 2009 UTC revision 2974 by kumaneko, Tue Sep 1 03:33:37 2009 UTC
# Line 291  static struct ccs_profile *ccs_find_or_a Line 291  static struct ccs_profile *ccs_find_or_a
291   */   */
292  struct ccs_profile *ccs_profile(const u8 profile)  struct ccs_profile *ccs_profile(const u8 profile)
293  {  {
294            struct ccs_profile *ptr = ccs_profile_ptr[profile];
295          if (!ccs_policy_loaded)          if (!ccs_policy_loaded)
296                  return &ccs_default_profile;                  return &ccs_default_profile;
297          return ccs_profile_ptr[profile];          BUG_ON(!ptr);
298            return ptr;
299  }  }
300    
301  /**  /**

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

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