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 E4C56139694 for ; Thu, 30 Mar 2017 17:10:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5120C234044; Thu, 30 Mar 2017 17:09:40 +0000 (UTC) Received: from smtp.gentoo.org (unknown [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 3299E234044 for ; Thu, 30 Mar 2017 17:09:40 +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 51F7834164C for ; Thu, 30 Mar 2017 17:09:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BFE2373EE for ; Thu, 30 Mar 2017 17:09:01 +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: <1490892639.cb4a7621007fc2b4bfd34fd5952c151cfa3e82c3.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/android.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: cb4a7621007fc2b4bfd34fd5952c151cfa3e82c3 X-VCS-Branch: next Date: Thu, 30 Mar 2017 17:09:01 +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: 0318e141-262d-47b1-b4ce-7c01a2ae7f62 X-Archives-Hash: 9fbe4f8874c736e2ca08fd3dcc9f0d9e Message-ID: <20170330170901.d-auuiNEPz2bvhiw7L7cgZCNMKXUlNDoqfKse8bhf60@z> commit: cb4a7621007fc2b4bfd34fd5952c151cfa3e82c3 Author: Jason Zaman perfinion com> AuthorDate: Thu Mar 30 16:50:15 2017 +0000 Commit: Jason Zaman gentoo org> CommitDate: Thu Mar 30 16:50:39 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=cb4a7621 android: add new rules for adb policy/modules/contrib/android.te | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/policy/modules/contrib/android.te b/policy/modules/contrib/android.te index 9b3d010f..5c2681c2 100644 --- a/policy/modules/contrib/android.te +++ b/policy/modules/contrib/android.te @@ -56,6 +56,8 @@ files_tmp_filetrans(android_tools_t, android_tmp_t, { file dir }) manage_dirs_pattern(android_tools_t, android_tmp_t, android_tmp_t) manage_files_pattern(android_tools_t, android_tmp_t, android_tmp_t) +corecmd_list_bin(android_tools_t) + corenet_tcp_bind_adb_port(android_tools_t) corenet_tcp_bind_generic_node(android_tools_t) corenet_tcp_connect_adb_port(android_tools_t) @@ -63,11 +65,15 @@ corenet_tcp_connect_adb_port(android_tools_t) dev_read_sysfs(android_tools_t) dev_rw_generic_usb_dev(android_tools_t) +files_read_etc_files(android_tools_t) + userdom_manage_user_home_content_dirs(android_tools_t) userdom_manage_user_home_content_files(android_tools_t) userdom_search_user_home_content(android_tools_t) userdom_use_user_terminals(android_tools_t) +sysnet_dns_name_resolve(android_tools_t) + ############################ #