All of lore.kernel.org
 help / color / mirror / Atom feed
* Attributes in new binary format
@ 2005-08-08 15:55 Joshua Brindle
  2005-08-08 16:30 ` Stephen Smalley
  0 siblings, 1 reply; 7+ messages in thread
From: Joshua Brindle @ 2005-08-08 15:55 UTC (permalink / raw)
  To: selinux, selinux-dev

In the new binary format the attribute values are preserved in the avtab 
but the attribute entries in the type symbol table are destroyed.

This makes analysis on the binary format difficult for a number of reasons.

Tools like apol will have to expand the type bitmaps and will lose 
attibutes on types. This is the same as analysing the current (v19) 
binary format but including attributes will be beneficial to analysis.

Further, the hierarchal constraint checking is currently broken with the 
new format. The reason is that we must be able to expand attributes at 
check time to ensure that types weren't given permissions via attributes 
that violate the constraints. This can be done with the new format but 
it's very time consuming.

I'd like to suggest that we preserve the attibute entries in the type 
table in the binary format and modify the kernel read function to not 
allocate space for them as it reads them in. This makes the binary 
format much more usable in terms of analysis at no cost to the kernel 
memory.

Let me know what you think.

Joshua

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

end of thread, other threads:[~2005-08-08 21:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-08 15:55 Attributes in new binary format Joshua Brindle
2005-08-08 16:30 ` Stephen Smalley
2005-08-08 16:41   ` Frank Mayer
2005-08-08 17:48     ` Stephen Smalley
2005-08-08 17:19   ` Joshua Brindle
2005-08-08 17:35     ` Stephen Smalley
2005-08-08 21:05       ` 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.