Why the kernel remove some LSM related functions?

From: Wei Chen
Date: Fri Nov 27 2009 - 07:03:28 EST


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!

--
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/