From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 659711384B4 for ; Wed, 2 Dec 2015 15:45:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D657CE08E9; Wed, 2 Dec 2015 15:45:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 65E30E08E9 for ; Wed, 2 Dec 2015 15:45:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7A6493408F0 for ; Wed, 2 Dec 2015 15:45:25 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BDF6DCAF for ; Wed, 2 Dec 2015 15:45:22 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1445830539.968134591ae36b6064488b8ed9d7082aad03101b.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:swift commit in: policy/flask/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/flask/access_vectors policy/flask/security_classes X-VCS-Directories: policy/flask/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 968134591ae36b6064488b8ed9d7082aad03101b X-VCS-Branch: swift Date: Wed, 2 Dec 2015 15:45:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5c7e6c0a-113b-4e03-9c27-ff775eafabab X-Archives-Hash: 8443274dc849407b8a1b3d0705418bff commit: 968134591ae36b6064488b8ed9d7082aad03101b Author: Chris PeBenito tresys com> AuthorDate: Tue Oct 20 15:29:11 2015 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Mon Oct 26 03:35:39 2015 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=96813459 Add systemd access vectors. policy/flask/access_vectors | 21 +++++++++++++++++++++ policy/flask/security_classes | 2 ++ 2 files changed, 23 insertions(+) diff --git a/policy/flask/access_vectors b/policy/flask/access_vectors index 056cdd7..3fe2bb9 100644 --- a/policy/flask/access_vectors +++ b/policy/flask/access_vectors @@ -393,6 +393,17 @@ class system syslog_mod syslog_console module_request + + # these are overloaded userspace + # permissions from systemd + halt + reboot + status + start + stop + enable + disable + reload } # @@ -910,3 +921,13 @@ inherits database implement execute } + +class service +{ + start + stop + status + reload + enable + disable +} diff --git a/policy/flask/security_classes b/policy/flask/security_classes index 8bc5d4e..8b6f1ed 100644 --- a/policy/flask/security_classes +++ b/policy/flask/security_classes @@ -145,4 +145,6 @@ class db_view # userspace class db_sequence # userspace class db_language # userspace +class service # userspace + # FLASK