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 56D8359CA2 for ; Sat, 13 Feb 2016 07:23:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 993C8E01B5; Sat, 13 Feb 2016 07:23:37 +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 26DF0E01B5 for ; Sat, 13 Feb 2016 07:23:37 +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 EEDA1340B0B for ; Sat, 13 Feb 2016 07:23:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B80778E4 for ; Sat, 13 Feb 2016 07:23:33 +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: <1455346941.f0ee538ea5bd88e178185d63aa33155490bec72b.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/dropbox.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: f0ee538ea5bd88e178185d63aa33155490bec72b X-VCS-Branch: master Date: Sat, 13 Feb 2016 07:23:33 +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: 290d3239-2330-4ce2-82df-bdad9ca77394 X-Archives-Hash: a8ee50453502097ac29532d67845d3bb commit: f0ee538ea5bd88e178185d63aa33155490bec72b Author: Jason Zaman perfinion com> AuthorDate: Sat Feb 13 07:02:21 2016 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sat Feb 13 07:02:21 2016 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=f0ee538e Dropbox: rules for 3.12.6 it needs execmem now and ldconfig to load its sharedlibs policy/modules/contrib/dropbox.te | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/policy/modules/contrib/dropbox.te b/policy/modules/contrib/dropbox.te index f3d01e9..f7f6125 100644 --- a/policy/modules/contrib/dropbox.te +++ b/policy/modules/contrib/dropbox.te @@ -38,7 +38,7 @@ userdom_user_tmpfs_file(dropbox_tmpfs_t) # Local Policy Rules # -allow dropbox_t self:process signal_perms; +allow dropbox_t self:process { execmem signal_perms }; allow dropbox_t self:fifo_file rw_fifo_file_perms; allow dropbox_t dropbox_home_t:file mmap_file_perms; @@ -71,6 +71,7 @@ fs_tmpfs_filetrans(dropbox_t, dropbox_tmpfs_t, { file dir }) fs_getattr_xattr_fs(dropbox_t) fs_getattr_tmpfs(dropbox_t) +kernel_read_system_state(dropbox_t) kernel_read_vm_sysctls(dropbox_t) kernel_dontaudit_read_system_state(dropbox_t) @@ -79,9 +80,14 @@ kernel_dontaudit_list_proc(dropbox_t) corecmd_exec_bin(dropbox_t) corecmd_exec_shell(dropbox_t) +domain_dontaudit_getattr_all_domains(dropbox_t) +domain_dontaudit_search_all_domains_state(dropbox_t) + dev_read_rand(dropbox_t) dev_read_urand(dropbox_t) +libs_exec_ldconfig(dropbox_t) + files_read_usr_files(dropbox_t) auth_use_nsswitch(dropbox_t) miscfiles_read_localization(dropbox_t)