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

Subversion リポジトリの参照

Diff of /trunk/1.8.x/ccs-patch/security/ccsecurity/policy_io.c

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

revision 4280 by kumaneko, Fri Dec 31 02:05:48 2010 UTC revision 4535 by kumaneko, Sat Feb 5 16:27:44 2011 UTC
# Line 1  Line 1 
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"
# Line 363  static void ccs_set_string(struct ccs_io Line 363  static void ccs_set_string(struct ccs_io
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   *   *
# Line 371  static void ccs_set_string(struct ccs_io Line 375  static void ccs_set_string(struct ccs_io
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;
# Line 485  static void ccs_check_profile(void) Line 489  static void ccs_check_profile(void)
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

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