Subversion リポジトリの参照
Diff of /trunk/1.8.x/ccs-patch/security/ccsecurity/policy_io.c
Parent Directory
| Revision Log
| Patch
1 |
/* |
/* |
2 |
* security/ccsecurity/policy_io.c |
* security/ccsecurity/policy_io.c |
3 |
* |
* |
4 |
* Copyright (C) 2005-2010 NTT DATA CORPORATION |
* Copyright (C) 2005-2011 NTT DATA CORPORATION |
5 |
* |
* |
6 |
* Version: 1.8.0+ 2010/12/31 |
* Version: 1.8.0+ 2011/01/21 |
7 |
*/ |
*/ |
8 |
|
|
9 |
#include "internal.h" |
#include "internal.h" |
363 |
printk(KERN_WARNING "Too many words in a line.\n"); |
printk(KERN_WARNING "Too many words in a line.\n"); |
364 |
} |
} |
365 |
|
|
366 |
|
/* Prototype fpr ccs_io_printf(). */ |
367 |
|
static void ccs_io_printf(struct ccs_io_buffer *head, const char *fmt, ...) |
368 |
|
__attribute__ ((format(printf, 2, 3))); |
369 |
|
|
370 |
/** |
/** |
371 |
* ccs_io_printf - printf() to "struct ccs_io_buffer" structure. |
* ccs_io_printf - printf() to "struct ccs_io_buffer" structure. |
372 |
* |
* |
375 |
* |
* |
376 |
* Returns nothing. |
* Returns nothing. |
377 |
*/ |
*/ |
378 |
void ccs_io_printf(struct ccs_io_buffer *head, const char *fmt, ...) |
static void ccs_io_printf(struct ccs_io_buffer *head, const char *fmt, ...) |
379 |
{ |
{ |
380 |
va_list args; |
va_list args; |
381 |
int len; |
int len; |
489 |
panic("Profile version %u is not supported.\n", |
panic("Profile version %u is not supported.\n", |
490 |
ccs_profile_version); |
ccs_profile_version); |
491 |
} |
} |
492 |
printk(KERN_INFO "CCSecurity: 1.8.0+ 2010/12/31\n"); |
printk(KERN_INFO "CCSecurity: 1.8.0+ 2011/01/21\n"); |
493 |
printk(KERN_INFO "Mandatory Access Control activated.\n"); |
printk(KERN_INFO "Mandatory Access Control activated.\n"); |
494 |
} |
} |
495 |
|
|
|
Legend:
Removed from v.4280 |
|
changed lines |
|
Added in v.4535 |
|
|
| |