From: Eamon Walsh <ewalsh@tycho.nsa.gov>
To: SELinux List <selinux@tycho.nsa.gov>
Cc: "Christopher J. PeBenito" <cpebenito@tresys.com>,
Daniel J Walsh <dwalsh@redhat.com>
Subject: What domain should the X server run in
Date: Thu, 25 Oct 2007 13:27:45 -0400 [thread overview]
Message-ID: <4720D211.1000507@tycho.nsa.gov> (raw)
The X server runs as xdm_xserver_t if it is started from a display
manager. It runs as user_xserver_t if it is started with startx.
Is the X server part of the user's session or not?
If it is, then it should always run as user_xserver_t, and the display
managers should be "fixed" to label the X server with the user's context
at login time.
It if isn't, then it should always run in the same domain, and
startx/xinit should be "fixed" to transition into this context.
From my perspective I would favor the latter option for now since it's
easier to write policy for. The user's individual windows can be
labeled with a per-user type, maintaining separation.
--
Eamon Walsh <ewalsh@tycho.nsa.gov>
National Security Agency
--
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:[~2007-10-25 17:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-25 17:27 Eamon Walsh [this message]
2007-10-25 18:50 ` What domain should the X server run in Christopher J. PeBenito
2007-10-25 19:57 ` Eamon Walsh
2007-10-26 12:52 ` Russell Coker
2007-10-26 15:43 ` Casey Schaufler
2007-10-26 16:56 ` Russell Coker
2007-10-26 18:15 ` Casey Schaufler
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=4720D211.1000507@tycho.nsa.gov \
--to=ewalsh@tycho.nsa.gov \
--cc=cpebenito@tresys.com \
--cc=dwalsh@redhat.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.