linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@suse.cz>
To: Kylene Jo Hall <kjhall@us.ibm.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
	LSM ML <linux-security-module@vger.kernel.org>,
	Dave Safford <safford@us.ibm.com>, Mimi Zohar <zohar@us.ibm.com>,
	Serge Hallyn <sergeh@us.ibm.com>
Subject: Re: [RFC][PATCH 3/6] SLIM main patch
Date: Sat, 15 Jul 2006 16:54:51 +0000	[thread overview]
Message-ID: <20060715165450.GE9849@ucw.cz> (raw)
In-Reply-To: <1152897878.23584.6.camel@localhost.localdomain>

Hi!


> SLIM inherently deals with dynamic labels, which is a feature not
> currently available in selinux. While it might be possible to
> add support for this to selinux, it would not appear to be simple,
> and it is not clear if the added complexity would be desirable
> just to support this one model. (Isn't choice what LSM is all about? :-)
> 
> Comments on the model:
> 
> Some of the prior comments questioned the usefulness of the
> low water-mark model itself. Two major questions raised concerned
> a potential progression of the entire system to a fully demoted
> state, and the security issues surrounding the guard processes.
> 
> In normal operation, the system seems to stabilize with a roughly
> equal mixture of SYSTEM, USER, and UNTRUSTED processes. Most
> applications seem to do a fixed set of operations in a fixed domain,
> and stabilize at their appropriate level. Some applications, like
> firefox and evolution, which inherently deal with untrusted data,
> immediately go to the UNTRUSTED level, which is where they belong.
> In a couple of cases, including cups and Notes, the applications
> did not handle their demotions well, as they occured well into their
> startup. For these applications, we simply force them to start up
> as UNTRUSTED, so demotion is not an issue. The one application
> that does tend to get demoted over time are shells, such as bash.
> These are not problems, as new ones can be created with the
> windowing system, or with su, as needed. To help with the associated
> user interface issue, the user space package README shows how to
> display the SLIM level in window titles, so it is always clear at
> what level the process is currently running.

This -- or preferably some better explanation -- needs to go into
Documentation somewhere.

Is this supposed to protect my ~/.ssh/private_key from mozilla?

How will it work in case such as ssh? It takes password / reads
private key I care about, then communicates with remote server...

> As mentioned earlier, cupsd and notes are applications which are
> always run directly in untrusted mode, regardless of the level of
> the invoking process.

So I will not be able to print my private key?
							Pavel
-- 
Thanks for all the (sleeping) penguins.

  parent reply	other threads:[~2006-07-25 11:51 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-14 17:24 [RFC][PATCH 3/6] SLIM main patch Kylene Jo Hall
2006-07-14 17:44 ` Dave Hansen
2006-07-14 18:06   ` Kylene Jo Hall
2006-07-14 18:28     ` Dave Hansen
2006-07-14 18:27 ` Dave Hansen
2006-07-14 19:25   ` Kylene Jo Hall
2006-07-14 19:34     ` Dave Hansen
2006-07-14 20:51       ` David Safford
2006-07-14 19:52   ` Serge E. Hallyn
2006-07-14 20:01   ` Kylene Jo Hall
2006-07-14 20:06     ` Dave Hansen
2006-07-15 16:54 ` Pavel Machek [this message]
2006-07-24 17:51 Kylene Jo Hall
2006-07-28  6:01 ` Pavel Machek
2006-07-28 19:05   ` Kylene Jo Hall
2006-07-24 17:51 Kylene Jo Hall

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=20060715165450.GE9849@ucw.cz \
    --to=pavel@suse.cz \
    --cc=kjhall@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-security-module@vger.kernel.org \
    --cc=safford@us.ibm.com \
    --cc=sergeh@us.ibm.com \
    --cc=zohar@us.ibm.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).