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 61ADB138A1A for ; Sun, 25 Jan 2015 13:45:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C998EE0877; Sun, 25 Jan 2015 13:45:16 +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 56B9DE0877 for ; Sun, 25 Jan 2015 13:45:16 +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 65F3C33FAD8 for ; Sun, 25 Jan 2015 13:45:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 227881056F for ; Sun, 25 Jan 2015 13:45:14 +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: <1421582357.edb37123da20d293546a4d8fb5e2fbf522530586.swift@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/mysql.fc X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: edb37123da20d293546a4d8fb5e2fbf522530586 X-VCS-Branch: master Date: Sun, 25 Jan 2015 13:45:14 +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: 141716d1-8949-4869-b893-ba54de542481 X-Archives-Hash: 7045e6fb5b4353ba5fcf1e6bee79a6cb commit: edb37123da20d293546a4d8fb5e2fbf522530586 Author: Jason Zaman perfinion com> AuthorDate: Sun Jan 18 11:59:17 2015 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Sun Jan 18 11:59:17 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=edb37123 mysql: mysql_install_db fcontext --- policy/modules/contrib/mysql.fc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/policy/modules/contrib/mysql.fc b/policy/modules/contrib/mysql.fc index 06f8666..1d258c1 100644 --- a/policy/modules/contrib/mysql.fc +++ b/policy/modules/contrib/mysql.fc @@ -25,3 +25,8 @@ HOME_DIR/\.my\.cnf -- gen_context(system_u:object_r:mysqld_home_t,s0) /var/run/mysqld.* gen_context(system_u:object_r:mysqld_var_run_t,s0) /var/run/mysqlmanager.* -- gen_context(system_u:object_r:mysqlmanagerd_var_run_t,s0) /var/run/mysqld/mysqlmanager.* -- gen_context(system_u:object_r:mysqlmanagerd_var_run_t,s0) + + +ifdef(`distro_gentoo',` +/usr/share/mysql/scripts(/.*)? gen_context(system_u:object_r:bin_t,s0) +')