From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5CAC7138334 for ; Sun, 10 Feb 2019 04:14:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A1D20E0B17; Sun, 10 Feb 2019 04:14:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 79795E0B15 for ; Sun, 10 Feb 2019 04:14:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7978E335D40 for ; Sun, 10 Feb 2019 04:14:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3060D54D for ; Sun, 10 Feb 2019 04:14:46 +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: <1549771885.3c0924b50a0d475522b1c1ad5f0f1a511a718797.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/services/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/services/redis.te X-VCS-Directories: policy/modules/services/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 3c0924b50a0d475522b1c1ad5f0f1a511a718797 X-VCS-Branch: master Date: Sun, 10 Feb 2019 04:14:46 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e90d8c6f-4e91-4c69-a44a-b7bbc096a8ea X-Archives-Hash: 2b6e5a9baa0949a5d855c27c7b25810e commit: 3c0924b50a0d475522b1c1ad5f0f1a511a718797 Author: Alexander Miroshnichenko millerson name> AuthorDate: Wed Jan 30 13:21:58 2019 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sun Feb 10 04:11:25 2019 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=3c0924b5 minor updates redis module to be able to start the app Signed-off-by: Alexander Miroshnichenko millerson.name> Signed-off-by: Jason Zaman perfinion.com> policy/modules/services/redis.te | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/policy/modules/services/redis.te b/policy/modules/services/redis.te index afb5ba87..0878fb8f 100644 --- a/policy/modules/services/redis.te +++ b/policy/modules/services/redis.te @@ -29,7 +29,7 @@ files_config_file(redis_conf_t) # Local policy # -allow redis_t self:process { setrlimit signal_perms }; +allow redis_t self:process { setrlimit signal_perms getsched }; allow redis_t self:fifo_file rw_fifo_file_perms; allow redis_t self:unix_stream_socket create_stream_socket_perms; allow redis_t self:tcp_socket create_stream_socket_perms; @@ -41,6 +41,7 @@ manage_files_pattern(redis_t, redis_log_t, redis_log_t) manage_lnk_files_pattern(redis_t, redis_log_t, redis_log_t) logging_log_filetrans(redis_t, redis_log_t, dir) +files_search_var_lib(redis_t) manage_dirs_pattern(redis_t, redis_var_lib_t, redis_var_lib_t) manage_files_pattern(redis_t, redis_var_lib_t, redis_var_lib_t) manage_lnk_files_pattern(redis_t, redis_var_lib_t, redis_var_lib_t)