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 263CA139694 for ; Thu, 18 May 2017 17:03:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6F7D3E0F19; Thu, 18 May 2017 17:03:07 +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-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3867CE0F19 for ; Thu, 18 May 2017 17:02:52 +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 D49E03416BD for ; Thu, 18 May 2017 17:02:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6DF8F746A for ; Thu, 18 May 2017 17:02:38 +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: <1495126919.343c6e0f96645d89fd64ec5f6434dc792a887b02.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:swift commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/openoffice.if X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 343c6e0f96645d89fd64ec5f6434dc792a887b02 X-VCS-Branch: swift Date: Thu, 18 May 2017 17:02:38 +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: 5719b66d-3931-4648-9c3e-89d0ea44fcce X-Archives-Hash: f2cbb746ee296776c15687403abf6c9a commit: 343c6e0f96645d89fd64ec5f6434dc792a887b02 Author: Chris PeBenito ieee org> AuthorDate: Mon May 15 22:27:04 2017 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Thu May 18 17:01:59 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=343c6e0f openoffice: Move ooffice_rw_tmp_files() implementation. policy/modules/contrib/openoffice.if | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/policy/modules/contrib/openoffice.if b/policy/modules/contrib/openoffice.if index 5a579e08..19f62381 100644 --- a/policy/modules/contrib/openoffice.if +++ b/policy/modules/contrib/openoffice.if @@ -51,38 +51,38 @@ interface(`ooffice_domtrans',` ######################################## ## -## Read and write temporary -## openoffice files. +## Do not audit attempts to execute +## files in temporary directories. ## ## ## -## Domain allowed access. +## Domain to not audit. ## ## # -interface(`ooffice_rw_tmp_files',` +interface(`ooffice_dontaudit_exec_tmp_files',` gen_require(` type ooffice_tmp_t; ') - rw_files_pattern($1, ooffice_tmp_t, ooffice_tmp_t) + dontaudit $1 ooffice_tmp_t:file exec_file_perms; ') ######################################## ## -## Do not audit attempts to execute -## files in temporary directories. +## Read and write temporary +## openoffice files. ## ## ## -## Domain to not audit. +## Domain allowed access. ## ## # -interface(`ooffice_dontaudit_exec_tmp_files',` +interface(`ooffice_rw_tmp_files',` gen_require(` type ooffice_tmp_t; ') - dontaudit $1 ooffice_tmp_t:file exec_file_perms; + rw_files_pattern($1, ooffice_tmp_t, ooffice_tmp_t) ') 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 5E080139694 for ; Thu, 18 May 2017 17:03:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E31C7E0EB8; Thu, 18 May 2017 17:03:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 C6550E0EB8 for ; Thu, 18 May 2017 17:03:33 +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 4AED43416BB for ; Thu, 18 May 2017 17:03:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B6C18746A for ; Thu, 18 May 2017 17:03:29 +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: <1495126919.343c6e0f96645d89fd64ec5f6434dc792a887b02.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/openoffice.if X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 343c6e0f96645d89fd64ec5f6434dc792a887b02 X-VCS-Branch: master Date: Thu, 18 May 2017 17:03:29 +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: b0c0b051-3298-478f-88d3-4ebdc25daab9 X-Archives-Hash: 9fb4b2ce9cc992638928875ad45d8acc Message-ID: <20170518170329.VxO0a-V7NArzD-JkDG4TO41_eiJQ4_GUsja4pcxVdTQ@z> commit: 343c6e0f96645d89fd64ec5f6434dc792a887b02 Author: Chris PeBenito ieee org> AuthorDate: Mon May 15 22:27:04 2017 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Thu May 18 17:01:59 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=343c6e0f openoffice: Move ooffice_rw_tmp_files() implementation. policy/modules/contrib/openoffice.if | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/policy/modules/contrib/openoffice.if b/policy/modules/contrib/openoffice.if index 5a579e08..19f62381 100644 --- a/policy/modules/contrib/openoffice.if +++ b/policy/modules/contrib/openoffice.if @@ -51,38 +51,38 @@ interface(`ooffice_domtrans',` ######################################## ## -## Read and write temporary -## openoffice files. +## Do not audit attempts to execute +## files in temporary directories. ## ## ## -## Domain allowed access. +## Domain to not audit. ## ## # -interface(`ooffice_rw_tmp_files',` +interface(`ooffice_dontaudit_exec_tmp_files',` gen_require(` type ooffice_tmp_t; ') - rw_files_pattern($1, ooffice_tmp_t, ooffice_tmp_t) + dontaudit $1 ooffice_tmp_t:file exec_file_perms; ') ######################################## ## -## Do not audit attempts to execute -## files in temporary directories. +## Read and write temporary +## openoffice files. ## ## ## -## Domain to not audit. +## Domain allowed access. ## ## # -interface(`ooffice_dontaudit_exec_tmp_files',` +interface(`ooffice_rw_tmp_files',` gen_require(` type ooffice_tmp_t; ') - dontaudit $1 ooffice_tmp_t:file exec_file_perms; + rw_files_pattern($1, ooffice_tmp_t, ooffice_tmp_t) ')