From: Joshua Brindle <jbrindle@tresys.com>
To: selinux@tycho.nsa.gov, selinux-dev@tresys.com
Subject: Attributes in new binary format
Date: Mon, 08 Aug 2005 11:55:07 -0400 [thread overview]
Message-ID: <42F7805B.3040607@tresys.com> (raw)
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.
next reply other threads:[~2005-08-08 16:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-08 15:55 Joshua Brindle [this message]
2005-08-08 16:30 ` Attributes in new binary format 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42F7805B.3040607@tresys.com \
--to=jbrindle@tresys.com \
--cc=selinux-dev@tresys.com \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.