From: Joshua Brindle <method@manicmethod.com>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: SE Linux <selinux@tycho.nsa.gov>
Subject: Re: typebounds lookup from userspace
Date: Fri, 19 Sep 2008 10:32:34 -0400 [thread overview]
Message-ID: <48D3B802.1000505@manicmethod.com> (raw)
In-Reply-To: <1221834373.25857.25.camel@moss-spartans.epoch.ncsc.mil>
Stephen Smalley wrote:
> On Fri, 2008-09-19 at 10:07 -0400, Joshua Brindle wrote:
>> For symbol labeling purposes for policy access control we need to be
>> able to look up symbol hierarchy relationships. I expect we'll do this
>> by exporting the symbol hierarchy via selinuxfs. Does anyone have
>> suggestions on what that should look like? Do we want to export
>> additional information on the symbols at the same time?
>
> I would have thought that the policy server would have its own internal
> policydb that it could consult to check hierarchy relationships?
>
We want to avoid loading more policydb's since RAM usage and performance were issues with the expand-based access control.
> In any event, if we were to export such info via selinuxfs, then yes,
> we'd want to also export other information about the symbols, such as
> the user role and level authorizations, so that that information could
> be used by libselinux and we could ultimately deprecate /selinux/user
> aka security_compute_user().
>
So, something like
/selinux/symbols/types/httpd_cgi_t
bounds: httpd_t
/selinux/symbols/users/user_u
bounds: staff_u
roles: user_r
levels: s0-s0:c0.c128
?
or maybe
/selinux/symbols/users/user_u/roles
user_r
/selinux/symbols/users/user_u/bounds
staff_u
?
--
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 prev parent reply other threads:[~2008-09-19 14:32 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-19 14:07 typebounds lookup from userspace Joshua Brindle
2008-09-19 14:26 ` Stephen Smalley
2008-09-19 14:32 ` Joshua Brindle [this message]
2008-09-19 15:07 ` Stephen Smalley
2008-09-19 15:42 ` Valdis.Kletnieks
2008-09-19 15:47 ` Joshua Brindle
2008-09-19 15:54 ` Stephen Smalley
2008-09-19 15:57 ` Joshua Brindle
2008-09-19 18:38 ` Joshua Brindle
2008-10-07 7:10 ` KaiGai Kohei
2008-10-07 9:45 ` permissive domain interface (Re: typebounds lookup from userspace) KaiGai Kohei
2008-10-07 17:24 ` typebounds lookup from userspace Eamon Walsh
2008-10-07 18:14 ` Stephen Smalley
2008-10-07 19:30 ` Eamon Walsh
2008-10-08 1:22 ` KaiGai Kohei
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=48D3B802.1000505@manicmethod.com \
--to=method@manicmethod.com \
--cc=sds@tycho.nsa.gov \
--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.