Skip to contentSkip to conversation

selinux_audit_set_callback

DISCUSSION Casey Schaufler 2 participants 2 messages Jul 30, 2007 SELinux security module

lore
Share & tools
lore
#0 lore raw

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
[email protected]

#1 lore raw
Quoted 3 lines · Casey Schaufler

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.

Signature · 8 lines
Stephen Smalley
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.