From: Sven Vermeulen <swift@gentoo.org>
To: gentoo-hardened@lists.gentoo.org
Subject: Re: [gentoo-hardened] SELinux base policy r2 in hardened-dev overlay
Date: Mon, 22 Aug 2011 17:11:38 +0000 [thread overview]
Message-ID: <20110822171138.GA31692@gentoo.org> (raw)
In-Reply-To: <20110822151816.GA23404@gentoo.org>
On Mon, Aug 22, 2011 at 03:18:16PM +0000, Sven Vermeulen wrote:
> What you are suggesting (label init script) is exactly what I was talking
> about: instead of having the init scripts labeled initrc_exec_t, they should
> be labeled like slapd_initrc_exec_t, postfix_initrc_exec_t, ... and Gentoo's
> integrated run_init support, which by the policy is currently only working
> on initrc_exec_t, should support those too.
I guess that won't be happening soon.
When an administrative interface is granted to a domain/role (like
ldap_admin) then a role transition to system_r is automatically granted
when a transition occurs on the domain-specific initrc script (like
slapd_initrc_exec_t). In case of integrated run_init support, this would
create a context root:system_r:run_init_t, which is invalid.
Removing the role transition in all administrative interfaces is imo a no-go
as that would mean lots of work and maintenance.
Oh well, it was fun to try...
Wkr,
Sven Vermeulen
next prev parent reply other threads:[~2011-08-22 17:12 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-19 20:51 [gentoo-hardened] SELinux base policy r2 in hardened-dev overlay Sven Vermeulen
2011-08-19 21:14 ` Sven Vermeulen
2011-08-21 1:08 ` Chris Richards
2011-08-21 10:06 ` Sven Vermeulen
2011-08-21 11:39 ` Radosław Smogura
2011-08-21 14:18 ` Sven Vermeulen
2011-08-21 23:19 ` Mike Edenfield
2011-08-22 15:18 ` Sven Vermeulen
2011-08-22 17:11 ` Sven Vermeulen [this message]
2011-08-22 17:25 ` Matt Thode
2011-08-22 18:18 ` Sven Vermeulen
2011-08-22 19:22 ` Matt Thode
2011-08-22 21:00 ` Radosław Smogura
2011-08-22 21:05 ` Sven Vermeulen
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=20110822171138.GA31692@gentoo.org \
--to=swift@gentoo.org \
--cc=gentoo-hardened@lists.gentoo.org \
/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