Linux-audit Archive on lore.kernel.org
 help / color / mirror / Atom feed
* selinux_audit_set_callback
@ 2007-07-30 14:24 Casey Schaufler
  2007-07-30 14:46 ` selinux_audit_set_callback Stephen Smalley
  0 siblings, 1 reply; 2+ messages in thread
From: Casey Schaufler @ 2007-07-30 14:24 UTC (permalink / raw)
  To: SELinux List, Audit List


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.


Casey Schaufler
casey@schaufler-ca.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: selinux_audit_set_callback
  2007-07-30 14:24 selinux_audit_set_callback Casey Schaufler
@ 2007-07-30 14:46 ` Stephen Smalley
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Smalley @ 2007-07-30 14:46 UTC (permalink / raw)
  To: casey; +Cc: Audit List, SELinux List

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-30 14:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-30 14:24 selinux_audit_set_callback Casey Schaufler
2007-07-30 14:46 ` selinux_audit_set_callback Stephen Smalley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox