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 E0DA158974 for ; Sat, 30 Jan 2016 17:21:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 59AA421C015; Sat, 30 Jan 2016 17:21:20 +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 C9C5821C015 for ; Sat, 30 Jan 2016 17:21:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C3231340AB5 for ; Sat, 30 Jan 2016 17:21:18 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8159B8EE for ; Sat, 30 Jan 2016 17:21:17 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1454172301.a805901283fe872c7236336867701f1834274307.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/system/systemd.te X-VCS-Directories: policy/modules/system/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: a805901283fe872c7236336867701f1834274307 X-VCS-Branch: master Date: Sat, 30 Jan 2016 17:21:17 +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: 6f283dee-b0e7-49c6-a119-c1e4a92e13c1 X-Archives-Hash: b5d40ead8b980958126664d961df39ca commit: a805901283fe872c7236336867701f1834274307 Author: Laurent Bigonville bigon be> AuthorDate: Mon Dec 14 21:19:24 2015 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sat Jan 30 16:45:01 2016 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=a8059012 Give some systemd domain access to /proc/sys/kernel/random/boot_id policy/modules/system/systemd.te | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te index 1f70a93..2376af3 100644 --- a/policy/modules/system/systemd.te +++ b/policy/modules/system/systemd.te @@ -129,6 +129,8 @@ kernel_dgram_send(systemd_cgroups_t) # locale local policy # +kernel_read_kernel_sysctls(systemd_locale_t) + files_read_etc_files(systemd_locale_t) logging_send_syslog_msg(systemd_locale_t) @@ -145,6 +147,8 @@ optional_policy(` # Hostnamed policy # +kernel_read_kernel_sysctls(systemd_hostnamed_t) + files_read_etc_files(systemd_hostnamed_t) logging_send_syslog_msg(systemd_hostnamed_t) @@ -174,6 +178,8 @@ manage_fifo_files_pattern(systemd_logind_t, systemd_logind_var_run_t, systemd_lo manage_files_pattern(systemd_logind_t, systemd_logind_var_run_t, systemd_logind_var_run_t) files_search_pids(systemd_logind_t) +kernel_read_kernel_sysctls(systemd_logind_t) + auth_manage_faillog(systemd_logind_t) dev_rw_sysfs(systemd_logind_t) @@ -236,6 +242,8 @@ logging_send_syslog_msg(systemd_sessions_t) allow systemd_tmpfiles_t self:capability { fowner chown fsetid dac_override mknod }; allow systemd_tmpfiles_t self:process { setfscreate getcap }; +kernel_read_kernel_sysctls(systemd_tmpfiles_t) + dev_relabel_all_sysfs(systemd_tmpfiles_t) dev_read_urand(systemd_tmpfiles_t) dev_manage_all_dev_nodes(systemd_tmpfiles_t)