Subversion リポジトリの参照
Diff of /trunk/1.7.x/ccs-patch/security/ccsecurity/util.c
Parent Directory
| Revision Log
| Patch
1127 |
path_release(&nd); |
path_release(&nd); |
1128 |
} |
} |
1129 |
#ifdef CONFIG_SAKURA |
#ifdef CONFIG_SAKURA |
1130 |
printk("SAKURA: 1.5.0-pre 2007/08/08\n"); |
printk("SAKURA: 1.5.0-pre 2007/08/09\n"); |
1131 |
#endif |
#endif |
1132 |
#ifdef CONFIG_TOMOYO |
#ifdef CONFIG_TOMOYO |
1133 |
printk("TOMOYO: 1.5.0-pre 2007/08/08\n"); |
printk("TOMOYO: 1.5.0-pre 2007/08/09\n"); |
1134 |
#endif |
#endif |
1135 |
if (!profile_loaded) { |
if (!profile_loaded) { |
1136 |
char *argv[2], *envp[3]; |
char *argv[2], *envp[3]; |
1387 |
return 0; |
return 0; |
1388 |
} |
} |
1389 |
|
|
1390 |
|
static int ReadVersion(struct io_buffer *head) |
1391 |
|
{ |
1392 |
|
if (!head->read_eof) { |
1393 |
|
if (io_printf(head, "1\n") == 0) head->read_eof = 1; |
1394 |
|
} |
1395 |
|
return 0; |
1396 |
|
} |
1397 |
|
|
1398 |
static int ReadMemoryCounter(struct io_buffer *head) |
static int ReadMemoryCounter(struct io_buffer *head) |
1399 |
{ |
{ |
1400 |
if (!head->read_eof) { |
if (!head->read_eof) { |
1446 |
head->read = ReadSystemPolicy; |
head->read = ReadSystemPolicy; |
1447 |
break; |
break; |
1448 |
#endif |
#endif |
1449 |
|
case CCS_VERSION: |
1450 |
|
head->read = ReadVersion; |
1451 |
|
head->readbuf_size = 128; |
1452 |
|
break; |
1453 |
case CCS_INFO_MEMINFO: |
case CCS_INFO_MEMINFO: |
1454 |
head->read = ReadMemoryCounter; |
head->read = ReadMemoryCounter; |
1455 |
head->readbuf_size = 128; |
head->readbuf_size = 128; |
|
Legend:
Removed from v.329 |
|
changed lines |
|
Added in v.332 |
|
|
|