* Why the kernel remove some LSM related functions?
[not found] <C5B8AF15-0D1A-4A72-AFF6-684405331FCD@osss.cs.tsukuba.ac.jp>
@ 2009-11-27 12:03 ` Wei Chen
2009-11-27 16:06 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Wei Chen @ 2009-11-27 12:03 UTC (permalink / raw)
To: chris, greg, ssmalley; +Cc: linux-kernel
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.
Thank you!
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Why the kernel remove some LSM related functions?
2009-11-27 12:03 ` Why the kernel remove some LSM related functions? Wei Chen
@ 2009-11-27 16:06 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2009-11-27 16:06 UTC (permalink / raw)
To: Wei Chen; +Cc: chris, ssmalley, linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-27 16:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <C5B8AF15-0D1A-4A72-AFF6-684405331FCD@osss.cs.tsukuba.ac.jp>
2009-11-27 12:03 ` Why the kernel remove some LSM related functions? Wei Chen
2009-11-27 16:06 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox