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 812BE1382C5 for ; Sun, 22 Apr 2018 12:00:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 41185E091D; Sun, 22 Apr 2018 12:00:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 1DDFBE0919 for ; Sun, 22 Apr 2018 12:00:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 2DB65335C78 for ; Sun, 22 Apr 2018 12:00:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2D117298 for ; Sun, 22 Apr 2018 12:00:44 +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: <1524397983.4704ab0db3680062416380525f7f14d95f9073e0.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/kismet.if policy/modules/contrib/obex.if policy/modules/contrib/sosreport.if X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 4704ab0db3680062416380525f7f14d95f9073e0 X-VCS-Branch: master Date: Sun, 22 Apr 2018 12:00:44 +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: 72eecbb1-009b-4fdf-8e7a-a68317635c7e X-Archives-Hash: a94b6b84bff3b8d8e69b751dd3cca628 commit: 4704ab0db3680062416380525f7f14d95f9073e0 Author: James Carter tycho nsa gov> AuthorDate: Wed Apr 11 18:56:37 2018 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sun Apr 22 11:53:03 2018 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=4704ab0d Fix typos in identifier names These interfaces are not being called in the policy (or are only called by interfaces that are not called). In kismet.if:kismet_role() kistmet_tmpfs_t should be kismet_tmpfs_t In obex.if:obex_role_template() obex_exec_exec_t should be obex_exec_t In sosreport.if:sosreport_run() sospreport_roles should be sosreport_roles Called only in sosreport_role() which is not called in policy. Signed-off-by: James Carter tycho.nsa.gov> policy/modules/contrib/kismet.if | 4 ++-- policy/modules/contrib/obex.if | 2 +- policy/modules/contrib/sosreport.if | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/policy/modules/contrib/kismet.if b/policy/modules/contrib/kismet.if index 7e612761..1ba783c4 100644 --- a/policy/modules/contrib/kismet.if +++ b/policy/modules/contrib/kismet.if @@ -18,12 +18,12 @@ template(`kismet_role',` gen_require(` type kismet_exec_t, kismet_home_t, kismet_tmp_t; - type kistmet_tmpfs_t, kismet_t; + type kismet_tmpfs_t, kismet_t; ') kismet_run($1, $2) - allow $2 kistmet_t:process { ptrace signal_perms }; + allow $2 kismet_t:process { ptrace signal_perms }; ps_process_pattern($2, kismet_t) allow $2 kismet_home_t:dir { manage_dir_perms relabel_dir_perms }; diff --git a/policy/modules/contrib/obex.if b/policy/modules/contrib/obex.if index 410c0e8f..6723697e 100644 --- a/policy/modules/contrib/obex.if +++ b/policy/modules/contrib/obex.if @@ -24,7 +24,7 @@ template(`obex_role_template',` gen_require(` attribute_role obex_roles; - type obex_t, obex_exec_exec_t; + type obex_t, obex_exec_t; ') ######################################## diff --git a/policy/modules/contrib/sosreport.if b/policy/modules/contrib/sosreport.if index 634c6b4f..e1edfd96 100644 --- a/policy/modules/contrib/sosreport.if +++ b/policy/modules/contrib/sosreport.if @@ -42,7 +42,7 @@ interface(`sosreport_run',` ') sosreport_domtrans($1) - roleattribute $2 sospreport_roles; + roleattribute $2 sosreport_roles; ') ########################################