Re: [RFC][PATCH] Smack<->Audit integration

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ahmed S. Darwish
Date: Monday, March 10, 2008 - 11:26 am

On Mon, Mar 10, 2008 at 09:07:08AM -0700, Casey Schaufler wrote:
...

mm .. I should have remembered the un-official Smack motto:
"Everything is a label, and whenever possible, this label is allocated
 once through system lifetime"

About performance, yes there'll be issues searching labels espicially
in audit_rule_match() which got called at the end of every system call.
I'll try it using container_of (it should work at the end).

...

Probably hating secids with passion :) ?

Admittedly, after some thinking I felt now that they don't fit with
the Smack model very well.

...

More of "everything is a label".


You've meant using the short-circuit:
	 smk_rule->smk_smack == smack || strnmp(smack, ..., ..)
Right ?

...

This little no-op was the only thing that was agreed upon ;)

...

Regards,

-- 

"Better to light a candle, than curse the darkness"

Ahmed S. Darwish
Homepage: http://darwish.07.googlepages.com
Blog: http://darwish-07.blogspot.com

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC][PATCH] Smack&lt;-&gt;Audit integration, Ahmed S. Darwish, (Mon Mar 10, 5:49 am)
Re: [RFC][PATCH] Smack&lt;-&gt;Audit integration, Casey Schaufler, (Mon Mar 10, 9:07 am)
Re: [RFC][PATCH] Smack<->Audit integration, Ahmed S. Darwish, (Mon Mar 10, 11:26 am)
Re: [RFC][PATCH] Smack&lt;-&gt;Audit integration, Casey Schaufler, (Mon Mar 10, 11:43 am)
[RFC][PATCH -v2] Smack: Integrate with Audit, Ahmed S. Darwish, (Tue Mar 11, 7:44 pm)
Re: [RFC][PATCH -v2] Smack: Integrate with Audit, Casey Schaufler, (Tue Mar 11, 9:23 pm)
[PATCH -v2b] Smack: Integrate with Audit, Ahmed S. Darwish, (Wed Mar 12, 5:18 am)
Re: [RFC][PATCH -v2] Smack: Integrate with Audit, Stephen Smalley, (Wed Mar 12, 5:52 am)
Re: [RFC][PATCH -v2] Smack: Integrate with Audit, Casey Schaufler, (Wed Mar 12, 8:40 am)
Re: [RFC][PATCH -v2] Smack: Integrate with Audit, Stephen Smalley, (Wed Mar 12, 8:48 am)
Re: [RFC][PATCH -v2] Smack: Integrate with Audit, Linda Knippers, (Wed Mar 12, 9:23 am)
Re: [RFC][PATCH -v2] Smack: Integrate with Audit, Ahmed S. Darwish, (Wed Mar 12, 9:43 am)
Re: [RFC][PATCH -v2] Smack: Integrate with Audit, Casey Schaufler, (Wed Mar 12, 11:09 am)
Re: [RFC][PATCH -v2] Smack: Integrate with Audit, Steve Grubb, (Thu Mar 13, 6:55 am)