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 DF93659CA4 for ; Fri, 11 Mar 2016 18:50:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EC88DE080E; Fri, 11 Mar 2016 18:50:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7AC56E080E for ; Fri, 11 Mar 2016 18:50:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 008D6340C7E for ; Fri, 11 Mar 2016 18:50:36 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4C083209A for ; Fri, 11 Mar 2016 18:50:34 +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: <1457717848.f91a762a20650fa883a012334c573079cffa14e8.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/uwsgi.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: f91a762a20650fa883a012334c573079cffa14e8 X-VCS-Branch: master Date: Fri, 11 Mar 2016 18:50:34 +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: bc3808ad-b509-4280-891a-2a48bab3f63e X-Archives-Hash: a7f2323bc8fa1c0192beb50490fb29a1 commit: f91a762a20650fa883a012334c573079cffa14e8 Author: Jason Zaman perfinion com> AuthorDate: Fri Mar 11 17:37:28 2016 +0000 Commit: Jason Zaman gentoo org> CommitDate: Fri Mar 11 17:37:28 2016 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=f91a762a uwsgi: allow reading net sysctls and ldconfig for python apps policy/modules/contrib/uwsgi.te | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/policy/modules/contrib/uwsgi.te b/policy/modules/contrib/uwsgi.te index 02b29e8..2ba18a0 100644 --- a/policy/modules/contrib/uwsgi.te +++ b/policy/modules/contrib/uwsgi.te @@ -71,11 +71,14 @@ corecmd_exec_bin(uwsgi_t) corecmd_exec_shell(uwsgi_t) kernel_read_system_state(uwsgi_t) +kernel_read_net_sysctls(uwsgi_t) + +libs_exec_ldconfig(uwsgi_t) miscfiles_read_localization(uwsgi_t) optional_policy(` - apache_search_sys_content(uwsgi_t) + apache_read_all_content(uwsgi_t) apache_manage_all_rw_content(uwsgi_t) ')