Subversion リポジトリの参照
Diff of /trunk/1.6.x/ccs-patch/fs/tomoyo_network.c
Parent Directory
| Revision Log
| Patch
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. |
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 |
|
|
| |