* MAC_POLICY_LOAD on unloading module
@ 2006-09-14 14:55 Michael C Thompson
2006-09-14 15:08 ` Stephen Smalley
0 siblings, 1 reply; 2+ messages in thread
From: Michael C Thompson @ 2006-09-14 14:55 UTC (permalink / raw)
To: lspp-list, selinux
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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: MAC_POLICY_LOAD on unloading module
2006-09-14 14:55 MAC_POLICY_LOAD on unloading module Michael C Thompson
@ 2006-09-14 15:08 ` Stephen Smalley
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Smalley @ 2006-09-14 15:08 UTC (permalink / raw)
To: Michael C Thompson; +Cc: lspp-list, selinux
On Thu, 2006-09-14 at 09:55 -0500, Michael C Thompson wrote:
> 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).
--
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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-09-14 15:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-14 14:55 MAC_POLICY_LOAD on unloading module Michael C Thompson
2006-09-14 15:08 ` Stephen Smalley
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.