Print this page
7127  remove -Wno-missing-braces from Makefile.uts


  46 #include <sys/crypto/api.h>
  47 #include <sys/crypto/spi.h>
  48 #include <sys/crypto/impl.h>
  49 #include <sys/crypto/sched_impl.h>
  50 #include <sys/crypto/elfsign.h>
  51 #include <sys/crypto/ioctladmin.h>
  52 
  53 #ifdef DEBUG
  54 int kcf_frmwrk_debug = 0;
  55 
  56 #define KCF_FRMWRK_DEBUG(l, x)  if (kcf_frmwrk_debug >= l) printf x
  57 #else   /* DEBUG */
  58 #define KCF_FRMWRK_DEBUG(l, x)
  59 #endif  /* DEBUG */
  60 
  61 static struct modlmisc modlmisc = {
  62         &mod_miscops, "Kernel Crypto Framework"
  63 };
  64 
  65 static struct modlinkage modlinkage = {
  66         MODREV_1, (void *)&modlmisc, NULL
  67 };
  68 
  69 extern int sys_shutdown;
  70 
  71 int
  72 _init()
  73 {
  74         /* initialize the mechanisms tables supported out-of-the-box */
  75         kcf_init_mech_tabs();
  76 
  77         /* initialize the providers tables */
  78         kcf_prov_tab_init();
  79 
  80         /* initialize the policy table */
  81         kcf_policy_tab_init();
  82 
  83         /* initialize soft_config_list */
  84         kcf_soft_config_init();
  85 
  86         /*




  46 #include <sys/crypto/api.h>
  47 #include <sys/crypto/spi.h>
  48 #include <sys/crypto/impl.h>
  49 #include <sys/crypto/sched_impl.h>
  50 #include <sys/crypto/elfsign.h>
  51 #include <sys/crypto/ioctladmin.h>
  52 
  53 #ifdef DEBUG
  54 int kcf_frmwrk_debug = 0;
  55 
  56 #define KCF_FRMWRK_DEBUG(l, x)  if (kcf_frmwrk_debug >= l) printf x
  57 #else   /* DEBUG */
  58 #define KCF_FRMWRK_DEBUG(l, x)
  59 #endif  /* DEBUG */
  60 
  61 static struct modlmisc modlmisc = {
  62         &mod_miscops, "Kernel Crypto Framework"
  63 };
  64 
  65 static struct modlinkage modlinkage = {
  66         MODREV_1, { (void *)&modlmisc, NULL }
  67 };
  68 
  69 extern int sys_shutdown;
  70 
  71 int
  72 _init()
  73 {
  74         /* initialize the mechanisms tables supported out-of-the-box */
  75         kcf_init_mech_tabs();
  76 
  77         /* initialize the providers tables */
  78         kcf_prov_tab_init();
  79 
  80         /* initialize the policy table */
  81         kcf_policy_tab_init();
  82 
  83         /* initialize soft_config_list */
  84         kcf_soft_config_init();
  85 
  86         /*