From: Harry Ciao <qingtao.cao@windriver.com>
To: Eric Paris <eparis@redhat.com>
Cc: <sds@tycho.nsa.gov>, <selinux@tycho.nsa.gov>
Subject: Re: [PATCH] SELinux: allow default source/target selectors for user/role/range
Date: Wed, 7 Mar 2012 10:43:02 +0800 [thread overview]
Message-ID: <4F56CB36.7000700@windriver.com> (raw)
In-Reply-To: <1331080128-26425-1-git-send-email-eparis@redhat.com>
On 03/07/2012 08:28 AM, Eric Paris wrote:
> When new objects are created we have great and flexible rules to
> determine the type of the new object.
Shouldn't we introduce a default_type for class_datum as well? So far
the process and various socket classes will inherit the creating
process's domain, that is, DEFAULT_SOURCE as in your example, whilst for
any other classes the type of the newly created object will follow the
containing directory, that is, DEFAULT_TARGET.
Above logic has been hard-coded in security_compute_sid, which is a
matter of policy and should be moved from security server to refpolicy.
--
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:[~2012-03-07 2:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-07 0:28 [PATCH] SELinux: allow default source/target selectors for user/role/range Eric Paris
2012-03-07 2:43 ` Harry Ciao [this message]
2012-03-07 14:12 ` Eric Paris
2012-03-07 8:34 ` Harry Ciao
2012-03-07 14:23 ` Eric Paris
2012-03-07 14:37 ` 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=4F56CB36.7000700@windriver.com \
--to=qingtao.cao@windriver.com \
--cc=eparis@redhat.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.