Re: Why the kernel remove some LSM related functions?

From: Greg KH
Date: Fri Nov 27 2009 - 11:09:05 EST


On Fri, Nov 27, 2009 at 09:03:17PM +0900, Wei Chen wrote:
> Recent kernel of linux has removed the exported symbol of
> register_security() for Linux Security Module; so when I want to
> develop my own security module on 2.6.28, I have to modify the kernel
> to export the symbol and recompile the kernel source.
>
> Besides, the kernel has completely removed the functions of
> mod_reg_security() and mod_unreg_security(), which makes me unable to
> stack the security module. The only approach is to disable the active
> security module like SELinux and register mine.
>
> Here, I want to know why the kernel did so.

Please read the archives and the patch changelog of the comments for
these changes, that detail why it was done.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/