All of lore.kernel.org
 help / color / mirror / Atom feed
* SELinux cache.
@ 2007-03-27  9:31 JanuGerman
  2007-03-27 12:38 ` Stephen Smalley
  0 siblings, 1 reply; 4+ messages in thread
From: JanuGerman @ 2007-03-27  9:31 UTC (permalink / raw)
  To: SELinux List

Hi Every one,

  SELinux maintains a cache called "access vector
cache (avc)" for caching the security server
decisions. Beside the avc, is there is any other cache
as well, which is maintained outside the domain of
Linux kernel or SElinux?.

The book "SELinux by example" have mentioned a cache
in the userspace (library libselinux), but
unfortunately, i was not able to locate this library.

Currently, my selinux is running in "Enforcing" mode,
with "targeted" policy. Some times, it executes the
functions within the selinux/hooks.c such as
"may_create", "may_link", "file_has_perm" and some
times not. The avc calls are normally executed within
these methods. So, logically, these methods should be
consulted, before examining the avc for a cache
miss/hit. 

Am, i running SELInux in the wrong mode, i mean, at
the moment it is "targeted", shall it be "strict" in
order to execute these "hooks.c" functions each time a
permission check is made, or there is another cache
maintained outside the SELInux domain bounderies.


Thanking you in advance.
Best,
JG





	
	
		
___________________________________________________________ 
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk 

--
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] 4+ messages in thread

end of thread, other threads:[~2007-03-29 13:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-27  9:31 SELinux cache JanuGerman
2007-03-27 12:38 ` Stephen Smalley
2007-03-29 13:33   ` JanuGerman
2007-03-29 13:38     ` 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.