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

Subversion リポジトリの参照

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

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

revision 2702 by kumaneko, Tue Jun 30 03:49:41 2009 UTC revision 2703 by kumaneko, Tue Jun 30 04:43:11 2009 UTC
# Line 37  struct ccs_domain_info ccs_kernel_domain Line 37  struct ccs_domain_info ccs_kernel_domain
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   *   *
# Line 1628  void ccs_finish_execve(int retval) Line 1626  void ccs_finish_execve(int retval)
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

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