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

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 912 by kumaneko, Mon Jan 21 11:59:49 2008 UTC revision 989 by kumaneko, Fri Feb 15 13:33:40 2008 UTC
# Line 5  Line 5 
5   *   *
6   * Copyright (C) 2005-2008  NTT DATA CORPORATION   * Copyright (C) 2005-2008  NTT DATA CORPORATION
7   *   *
8   * Version: 1.6.0-pre   2008/01/21   * Version: 1.6.0-pre   2008/02/15
9   *   *
10   * This file is applicable to both 2.4.30 and 2.6.11 and later.   * This file is applicable to both 2.4.30 and 2.6.11 and later.
11   * See README.ccs for ChangeLog.   * See README.ccs for ChangeLog.
# Line 29  static int AuditNetworkLog(const bool is Line 29  static int AuditNetworkLog(const bool is
29          char *buf;          char *buf;
30          int len = 256;          int len = 256;
31          if (CanSaveAuditLog(is_granted) < 0) return -ENOMEM;          if (CanSaveAuditLog(is_granted) < 0) return -ENOMEM;
32          if ((buf = InitAuditLog(&len, profile, mode)) == NULL) return -ENOMEM;          if ((buf = InitAuditLog(&len, profile, mode, NULL)) == NULL) return -ENOMEM;
33          snprintf(buf + strlen(buf), len - strlen(buf) - 1, KEYWORD_ALLOW_NETWORK "%s ", operation);          snprintf(buf + strlen(buf), len - strlen(buf) - 1, KEYWORD_ALLOW_NETWORK "%s ", operation);
34          if (is_ipv6) {          if (is_ipv6) {
35                  print_ipv6(buf + strlen(buf), len - strlen(buf), (const struct in6_addr *) address);                  print_ipv6(buf + strlen(buf), len - strlen(buf), (const struct in6_addr *) address);

Legend:
Removed from v.912  
changed lines
  Added in v.989

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