lsm.h File Reference

#include <linux/security.h>

Go to the source code of this file.

Functions

int rsbac_lsm_register (void)


Function Documentation

int rsbac_lsm_register void   ) 
 

Definition at line 1276 of file lsm.c.

01277   {
01278     if (register_security (&rsbac_sec_ops))
01279       {
01280         printk (KERN_INFO
01281                 "Failure registering RSBAC with LSM, trying to stack on primary module\n");
01282         /* try registering with primary module */
01283         if (mod_reg_security ("RSBAC", &rsbac_sec_ops))
01284           {
01285             printk (KERN_ERR "Failure registering RSBAC "
01286                     "with primary LSM security module, interceptions missing!\n");
01287             return -EINVAL;
01288           }
01289       }
01290     return 0;
01291   }


Generated on Sun May 21 14:30:58 2006 for RSBAC by  doxygen 1.4.2