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

Subversion リポジトリの参照

Diff of /branches/ccs-patch/fs/tomoyo_domain.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 851 by kumaneko, Wed Jan 2 06:29:56 2008 UTC revision 853 by kumaneko, Wed Jan 2 07:32:11 2008 UTC
# Line 32  struct domain_info KERNEL_DOMAIN; Line 32  struct domain_info KERNEL_DOMAIN;
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    
# Line 492  struct domain_info *FindOrAssignNewDomai Line 492  struct domain_info *FindOrAssignNewDomai
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 *****/
# Line 618  static int FindNextDomain(struct linux_b Line 618  static int FindNextDomain(struct linux_b
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

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