MAC_POLICY_LOAD on unloading module
Hey Steve,
on semodule -r module, the audit message you get (MAC_POLICY_LOAD) has the exact same message as the audit message you get on semodule -i module. That is, "policy loaded". Shouldn't there be a different between module load and module unload?
Mike
--
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.
Quoted 8 lines · Michael C Thompson
Hey Steve,
on semodule -r module, the audit message you get (
MAC_POLICY_LOAD) has the exact same message as the audit message you get on semodule -i module. That is, "policy loaded". Shouldn't there be a different between module load and module unload?From the kernel's POV, they are both a policy load. The modular
insertion/removal is done in userspace and a new kernel policy is generated and then loaded. So if you want that granularity of audit, you need it to be done in semodule or better in libsemanage (and ultimately in the policy management server when that is deployed).
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.