public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sven Vermeulen" <swift@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/hardened-refpolicy:secmodel commit in: policy/modules/contrib/
Date: Sun,  8 Feb 2015 18:19:50 +0000 (UTC)	[thread overview]
Message-ID: <1423419492.165bc8e382258a055c3ceb572106d35b4967725c.swift@gentoo> (raw)

commit:     165bc8e382258a055c3ceb572106d35b4967725c
Author:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Sun Feb  8 18:18:12 2015 +0000
Commit:     Sven Vermeulen <swift <AT> gentoo <DOT> org>
CommitDate: Sun Feb  8 18:18:12 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=165bc8e3

squash

---
 policy/modules/contrib/gentoo.if | 201 ++++++++++++++++++++++++++++++++++++++-
 1 file changed, 200 insertions(+), 1 deletion(-)

diff --git a/policy/modules/contrib/gentoo.if b/policy/modules/contrib/gentoo.if
index 593bb2d..c6990a0 100644
--- a/policy/modules/contrib/gentoo.if
+++ b/policy/modules/contrib/gentoo.if
@@ -51,6 +51,11 @@ interface(`gentoo_secmodel_monitor_system',`
 #
 interface(`gentoo_secmodel_manage_services',`
 	# These are all admin interfaces where a labeled init script is provided for
+	#
+	# If we would reduce the impact of manage_services to only manipulating the labeled init scripts,
+	# we can "just" use init_all_labeled_script_domtrans( 1 ). This could be called "operate_services" but
+	# does not need a separate interface
+
 	optional_policy(`
 		abrt_admin($1, $2)
 	')
@@ -709,7 +714,201 @@ interface(`gentoo_secmodel_manage_services',`
 	')
 
 	optional_policy(`
-		salt_minion_master($1, $2)
+		salt_admin_minion($1, $2)
+	')
+
+	optional_policy(`
+		salt_admin_master($1, $2)
+	')
+
+	optional_policy(`
+		samba_admin($1, $2)
+	')
+
+	optional_policy(`
+		samhain_admin($1, $2)
+	')
+
+	optional_policy(`
+		sanlock_admin($1, $2)
+	')
+
+	optional_policy(`
+		sasl_admin($1, $2)
+	')
+
+	optional_policy(`
+		sblim_admin($1, $2)
+	')
+
+	optional_policy(`
+		sendmail_admin($1, $2)
+	')
+
+	optional_policy(`
+		sensord_admin($1, $2)
+	')
+
+	optional_policy(`
+		shorewall_admin($1, $2)
+	')
+
+	optional_policy(`
+		slpd_admin($1, $2)
+	')
+
+	optional_policy(`
+		smartmon_admin($1, $2)
+	')
+
+	optional_policy(`
+		smokeping_admin($1, $2)
+	')
+
+	optional_policy(`
+		smstools_admin($1, $2)
+	')
+
+	optional_policy(`
+		snmp_admin($1, $2)
+	')
+
+	optional_policy(`
+		snort_admin($1, $2)
+	')
+
+	optional_policy(`
+		soundserver_admin($1, $2)
+	')
+
+	optional_policy(`
+		spamassassin_admin($1, $2)
+	')
+
+	optional_policy(`
+		squid_admin($1, $2)
+	')
+
+	optional_policy(`
+		sssd_admin($1, $2)
+	')
+
+	optional_policy(`
+		svnserve_admin($1, $2)
+	')
+
+	optional_policy(`
+		sysstat_admin($1, $2)
+	')
+
+	optional_policy(`
+		stapserver_admin($1, $2)
+	')
+
+	optional_policy(`
+		tcsd_admin($1, $2)
+	')
+
+	optional_policy(`
+		tgtd_admin($1, $2)
+	')
+
+	optional_policy(`
+		tor_admin($1, $2)
+	')
+
+	optional_policy(`
+		transproxy_admin($1, $2)
+	')
+
+	optional_policy(`
+		tuned_admin($1, $2)
+	')
+
+	optional_policy(`
+		ulogd_admin($1, $2)
+	')
+
+	optional_policy(`
+		uptime_admin($1, $2)
+	')
+
+	optional_policy(`
+		uucp_admin($1, $2)
+	')
+
+	optional_policy(`
+		uuidd_admin($1, $2)
+	')
+
+	optional_policy(`
+		varnishd_admin($1, $2)
+	')
+
+	optional_policy(`
+		varnishd_admin_varnishlog($1, $2)
+	')
+
+	optional_policy(`
+		vdagent_admin($1, $2)
+	')
+
+	optional_policy(`
+		vhostmd_admin($1, $2)
+	')
+
+	optional_policy(`
+		virt_admin($1, $2)
+	')
+
+	optional_policy(`
+		vnstatd_admin($1, $2)
+	')
+
+	optional_policy(`
+		watchdog_admin($1, $2)
+	')
+
+	optional_policy(`
+		wdmd_admin($1, $2)
+	')
+
+	optional_policy(`
+		xfs_admin($1, $2)
+	')
+
+	optional_policy(`
+		zabbix_admin($1, $2)
+	')
+
+	optional_policy(`
+		zarafa_admin($1, $2)
+	')
+
+	optional_policy(`
+		zebra_admin($1, $2)
+	')
+
+	optional_policy(`
+		postgresql_admin($1, $2)
+	')
+
+	optional_policy(`
+		# No admin interface
+		iptables_initrc_domtrans($1)
+	')
+
+	optional_policy(`
+		logging_admin_audit($1, $2)
+	')
+
+	optional_policy(`
+		logging_admin_syslog($1, $2)
+	')
+
+	optional_policy(`
+		# No admin interface
+		setrans_initrc_domtrans($1)
 	')
 ')
 


             reply	other threads:[~2015-02-08 18:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-08 18:19 Sven Vermeulen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-02-08 16:38 [gentoo-commits] proj/hardened-refpolicy:secmodel commit in: policy/modules/contrib/ Sven Vermeulen
2015-02-08 16:32 Sven Vermeulen
2015-02-08 16:30 Sven Vermeulen
2015-02-08 16:26 Sven Vermeulen
2015-02-08 15:54 Sven Vermeulen
2015-02-08 15:43 Sven Vermeulen
2015-02-08 14:35 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=1423419492.165bc8e382258a055c3ceb572106d35b4967725c.swift@gentoo \
    --to=swift@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@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