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

Subversion リポジトリの参照

Diff of /trunk/1.6.x/ccs-patch/fs/tomoyo_network.c

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

revision 328 by kumaneko, Wed Aug 8 11:12:12 2007 UTC revision 329 by kumaneko, Wed Aug 8 11:15:09 2007 UTC
# Line 24  extern struct semaphore domain_acl_lock; Line 24  extern struct semaphore domain_acl_lock;
24    
25  /*************************  AUDIT FUNCTIONS  *************************/  /*************************  AUDIT FUNCTIONS  *************************/
26    
 #ifdef CONFIG_TOMOYO_AUDIT  
27  static int AuditNetworkLog(const int is_ipv6, const char *operation, const u32 *address, const u16 port, const int is_granted)  static int AuditNetworkLog(const int is_ipv6, const char *operation, const u32 *address, const u16 port, const int is_granted)
28  {  {
29          char *buf;          char *buf;
# Line 41  static int AuditNetworkLog(const int is_ Line 40  static int AuditNetworkLog(const int is_
40          snprintf(buf + strlen(buf), len - strlen(buf) - 1, " %u\n", port);          snprintf(buf + strlen(buf), len - strlen(buf) - 1, " %u\n", port);
41          return WriteAuditLog(buf, is_granted);          return WriteAuditLog(buf, is_granted);
42  }  }
 #else  
 static inline void AuditNetworkLog(const int is_ipv6, const char *operation, const u32 *address, const u16 port, const int is_granted) {}  
 #endif  
43    
44  /*************************  ADDRESS GROUP HANDLER  *************************/  /*************************  ADDRESS GROUP HANDLER  *************************/
45    

Legend:
Removed from v.328  
changed lines
  Added in v.329

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