selinux_audit_set_callback

Stephen Smalley sds at tycho.nsa.gov
Mon Jul 30 14:46:22 UTC 2007


On Mon, 2007-07-30 at 07:24 -0700, Casey Schaufler wrote:
> What is the rationale behind the selinux_audit_set_callback()
> mechanism? It looks for all the world as if the selinux code
> ought to be able to call the registered function directly.

Looks like it is a legacy of when the callback was a static function
registered from an initcall in the same file where the function was
defined.

-- 
Stephen Smalley
National Security Agency




More information about the Linux-audit mailing list