Subversion リポジトリの参照
Diff of /branches/ccs-patch/fs/tomoyo_domain.c
Parent Directory
| Revision Log
| Patch
37 |
/* The list for "struct ccs_domain_info". */ |
/* The list for "struct ccs_domain_info". */ |
38 |
LIST_HEAD(ccs_domain_list); |
LIST_HEAD(ccs_domain_list); |
39 |
|
|
|
#ifdef CONFIG_TOMOYO |
|
|
|
|
40 |
/** |
/** |
41 |
* ccs_get_last_name - Get last component of a domainname. |
* ccs_get_last_name - Get last component of a domainname. |
42 |
* |
* |
1626 |
out: |
out: |
1627 |
ccs_free_execve_entry(ee); |
ccs_free_execve_entry(ee); |
1628 |
} |
} |
|
|
|
|
#else |
|
|
|
|
|
/** |
|
|
* ccs_start_execve - Prepare for execve() operation. |
|
|
* |
|
|
* @bprm: Pointer to "struct linux_binprm". |
|
|
* |
|
|
* Returns 0. |
|
|
*/ |
|
|
int ccs_start_execve(struct linux_binprm *bprm) |
|
|
{ |
|
|
#ifdef CONFIG_SAKURA |
|
|
/* Clear manager flag. */ |
|
|
current->ccs_flags &= ~CCS_TASK_IS_POLICY_MANAGER; |
|
|
if (!ccs_policy_loaded) |
|
|
ccs_load_policy(bprm->filename); |
|
|
#endif |
|
|
return 0; |
|
|
} |
|
|
|
|
|
/** |
|
|
* ccs_finish_execve - Clean up execve() operation. |
|
|
*/ |
|
|
void ccs_finish_execve(int retval) |
|
|
{ |
|
|
} |
|
|
|
|
|
#endif |
|
|
Legend:
Removed from v.2702 |
|
changed lines |
|
Added in v.2703 |
|
|
|