Attached is the first rough draft of a "example" of a loadable (no) security module that will insmod into the current patched kernel and provide some stats about how many calls are being made to which security_ops functions. It is intended to be used as the basis for an "example" in the documentation I'm working on, but may be mildly useful as a template to build an LSM, or to profile which hooks are getting called most and least often (for targetting performance enhancements.) It's still crude, but it does compile, install, and remove correctly. I submit it here for ridicule and/or use by anybody who may wish to hack at it. Sincerely, J. Melvin Jones |>------------------------------------------------------ || J. MELVIN JONES jmjonesat_private |>------------------------------------------------------ || Microcomputer Systems Consultant || Software Developer || Web Site Design, Hosting, and Administration || Network and Systems Administration |>------------------------------------------------------ || http://www.jmjones.com/ |>------------------------------------------------------
This archive was generated by hypermail 2b30 : Fri May 18 2001 - 07:38:10 PDT