Subversion リポジトリの参照
Diff of /trunk/1.7.x/ccs-patch/security/ccsecurity/memory.c
Parent Directory
| Revision Log
| Patch
281 |
} |
} |
282 |
} |
} |
283 |
|
|
|
/* Lock for GC. */ |
|
|
struct srcu_struct ccs_ss; |
|
|
|
|
284 |
/** |
/** |
285 |
* ccs_realpath_init - Initialize realpath related code. |
* ccs_realpath_init - Initialize realpath related code. |
286 |
* |
* |
289 |
static int __init ccs_realpath_init(void) |
static int __init ccs_realpath_init(void) |
290 |
{ |
{ |
291 |
int i; |
int i; |
|
if (init_srcu_struct(&ccs_ss)) |
|
|
panic("Out of memory."); |
|
292 |
for (i = 0; i < CCS_MAX_HASH; i++) |
for (i = 0; i < CCS_MAX_HASH; i++) |
293 |
INIT_LIST_HEAD(&ccs_name_list[i]); |
INIT_LIST_HEAD(&ccs_name_list[i]); |
294 |
INIT_LIST_HEAD(&ccs_kernel_domain.acl_info_list); |
INIT_LIST_HEAD(&ccs_kernel_domain.acl_info_list); |
|
Legend:
Removed from v.2948 |
|
changed lines |
|
Added in v.2952 |
|
|
|