Subversion リポジトリの参照
Diff of /branches/ccs-patch/fs/tomoyo_domain.c
Parent Directory
| Revision Log
| Patch
32 |
LIST1_HEAD(domain_list); |
LIST1_HEAD(domain_list); |
33 |
|
|
34 |
/* /sbin/init started? */ |
/* /sbin/init started? */ |
35 |
extern int sbin_init_started; |
extern bool sbin_init_started; |
36 |
|
|
37 |
#ifdef CONFIG_TOMOYO |
#ifdef CONFIG_TOMOYO |
38 |
|
|
492 |
list1_for_each_entry(domain, &domain_list, list) { |
list1_for_each_entry(domain, &domain_list, list) { |
493 |
struct task_struct *p; |
struct task_struct *p; |
494 |
struct acl_info *ptr; |
struct acl_info *ptr; |
495 |
int flag; |
bool flag; |
496 |
if (!domain->is_deleted || domain->domainname != saved_domainname) continue; |
if (!domain->is_deleted || domain->domainname != saved_domainname) continue; |
497 |
flag = 0; |
flag = 0; |
498 |
/***** CRITICAL SECTION START *****/ |
/***** CRITICAL SECTION START *****/ |
618 |
/* |
/* |
619 |
* Built-in initializers. This is needed because policies are not loaded until starting /sbin/init . |
* Built-in initializers. This is needed because policies are not loaded until starting /sbin/init . |
620 |
*/ |
*/ |
621 |
static int first = 1; |
static bool first = 1; |
622 |
if (first) { |
if (first) { |
623 |
AddDomainInitializerEntry(NULL, "/sbin/hotplug", 0, 0); |
AddDomainInitializerEntry(NULL, "/sbin/hotplug", 0, 0); |
624 |
AddDomainInitializerEntry(NULL, "/sbin/modprobe", 0, 0); |
AddDomainInitializerEntry(NULL, "/sbin/modprobe", 0, 0); |
|
Legend:
Removed from v.851 |
|
changed lines |
|
Added in v.853 |
|
|
| |