Subversion リポジトリの参照
Diff of /trunk/1.8.x/ccs-patch/security/ccsecurity/policy_io.c
Parent Directory
| Revision Log
| Patch
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 |
|
|
|