Re: help me: fail to register my security module

From: Serge E. Hallyn (serue@private)
Date: Tue Jul 06 2004 - 10:59:00 PDT


>  I have write a  simple  LSM program . I try to register the module but fail to do . error:There is already a security framework initialized .
> 
> When I configur the kernel. in the Security Options, I only select:
> [*]Enable different security modules
> [*]Socket and Networking Security Hooks
> <*>Default Linux Capabilities

Here is your problem.  Change "Default Linux Capabilities" to be <m>, or turn
it off altogether.  The posix capability module is being loaded at boot, and
it refuses to stack your module underneath itself.

-serge



This archive was generated by hypermail 2.1.3 : Tue Jul 06 2004 - 11:00:06 PDT