All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom <tom@lemuria.org>
To: Russell Coker <russell@coker.com.au>
Cc: selinux@tycho.nsa.gov
Subject: Re: uml policy
Date: Thu, 12 Sep 2002 23:18:15 +0200	[thread overview]
Message-ID: <20020912231815.C2625@lemuria.org> (raw)
In-Reply-To: <200209122046.16947.russell@coker.com.au>; from russell@coker.com.au on Thu, Sep 12, 2002 at 08:46:16PM +0200

On Thu, Sep 12, 2002 at 08:46:16PM +0200, Russell Coker wrote:
> I suggest looking at my IRC domain for an example of how to do it.  Also you 
> have to make sure that the user can change the type of the file to/from the 
> type you choose for the UML kernel.

Yes, that will be needed, especially for COW files.

> Also I suggest having two types for the kernel, one per-user (IE 
> user_uml_kernel_t etc) and one for the system (maybe system_uml_kernel_t).

Actually, I think I don't want the system to run uml. Except in a
run_init way. And I definitely don't want root/sysadm_r to run it. Hey,
ever seen permissions 007 ? :)


> Also for the data store, make sure that you define access for a directory too, 
> so that the UML program domain doesn't even get access to user_home_dir_t or 
> user_home_t directories.

I was planning to borrow some ideas from your chroot domain, and set
things up very close to that. I will also need an interesting type for
the keystroke logger files.


-- 
http://web.lemuria.org/pubkey.html
pub  1024D/2D7A04F5 2002-05-16 Tom Vogt <tom@lemuria.org>
     Key fingerprint = C731 64D1 4BCF 4C20 48A4  29B2 BF01 9FA1 2D7A 04F5

--
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.

  reply	other threads:[~2002-09-12 21:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-12 18:12 uml policy Tom
2002-09-12 18:46 ` Russell Coker
2002-09-12 21:18   ` Tom [this message]
2002-09-12 22:53     ` Russell Coker
2002-09-13  5:35       ` Tom
2002-09-13  9:01         ` Russell Coker
2002-09-13 15:56           ` Tom
2002-09-12 18:49 ` Russell Coker
  -- strict thread matches above, loose matches on Subject: below --
2003-01-12 12:06 UML policy Russell Coker

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=20020912231815.C2625@lemuria.org \
    --to=tom@lemuria.org \
    --cc=russell@coker.com.au \
    --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.