         sysfs.  -
       ,  0644 (
     ,       , 
     ),      -
,     "|",  S_IRUGO | S__IWUSR (
  ,     ).   
   ,       sysfs 
.

    .     , -
   .       -
   .

/*  ,    bait */

static int allow_live bait = 1;            /*    */

module param(allow live bait, bool, 0644); /*   */

       , .. 
allow_live_bait   .

      ,   -
 .       module_param_named ().

module param named(name, variable, type, perm);

 name      , a variable    -
  ,   .

static unsigned int max_test = DEFAULT_MAX_LINE_TEST;

module param named(maximum line test, max test, int, 0) ;

     ,    -
 ,    charp.    -
          
,    .

static char *name;

module param(name, charp, 0) ;

        
 ,   .     

module param string ().

module_param_string(name, string, len, perm);

 name     , string   ,
      , len    string
(   ,   , , ,   
), perm         sysfs ( 
     sysfs).   .

static char species[BUF_LEN];

module param string(specifies, species, BUF LEN, 0) ;

        , -
           .  -

352  16