Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4035558ybv; Sun, 16 Feb 2020 12:04:13 -0800 (PST) X-Google-Smtp-Source: APXvYqyrh0fepN3pHpIkWHNnHQZQBJhWVhPF6Mq+I+FoDMLyWhPq7TRwNa4G/XTPIgZabNiNYLrC X-Received: by 2002:aca:2207:: with SMTP id b7mr8248303oic.109.1581883453772; Sun, 16 Feb 2020 12:04:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581883453; cv=none; d=google.com; s=arc-20160816; b=HLhr5NSWuqHjLGggUbc5ZACmc8+O0qnI3cei+hcRAN7axGSuAa5ehVFNAxgJiO2AuC iep4Py+6JxtW8f2PzwquMW/z76zPr6tPyuNXeLZpApfowSLiAguRywy9Bbv4hQvilwVi YwqojBAjrvzUm3cvPxwGF14DSBeBRj1Xp4nJ+gshk8dzYznld4thhNV84XcnL3JCRFve 8Df8e9v4KFaZZFWlhsKGkjvvigiBsCUstJpapU6pvQ5UVGydiqrrl6nXu9r0ew8eDF4j 0NR5BenUpxYfD20ADJZ/QqFsE2ffbudDKhJyhHLPDVFimMLVFfjI6ZCt+cWhvuilU7QL Xe2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=J2CpcA45m+3Q+wrOLeYhga8Su9fBYhSBUrUq5rmt4II=; b=0vlCmk7XP9UEd1iWjcxYOGcujs9BnXrkpR0dUvLPsSnhezUk3E3GKeA670Z3MWj329 ex5d+99nYFzc1xw640fJB0VC0SJCIHxm9aJnS4l8q01uDQLtAtgQG7pWA92iV5mbxn3z B5ohjWTAimrQMNXwb0JesoT7vCDKaQEyMY7bMCRMNBu1HOETwOrJpEpGQQTwzAnygCs3 wiRrwk11ku2p8eUHpvg0Mxoq7SssixelEeAm1cBFy0rYZuwF9i468l7gwYfqE+RfRUDP bAeGuq73e1CFogkjwNzsEGE5VxStYHcvvoZMmpQ1xJcnZP42XQwn4LtVpFXfFkl0Hylf 0mSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@perfinion-com.20150623.gappssmtp.com header.s=20150623 header.b=bRIVIygD; spf=pass (google.com: best guess record for domain of selinux-refpolicy-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=selinux-refpolicy-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s22si5287396oij.35.2020.02.16.12.04.11; Sun, 16 Feb 2020 12:04:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of selinux-refpolicy-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@perfinion-com.20150623.gappssmtp.com header.s=20150623 header.b=bRIVIygD; spf=pass (google.com: best guess record for domain of selinux-refpolicy-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=selinux-refpolicy-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726037AbgBPUEL (ORCPT + 13 others); Sun, 16 Feb 2020 15:04:11 -0500 Received: from mail-pj1-f44.google.com ([209.85.216.44]:54754 "EHLO mail-pj1-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725989AbgBPUEL (ORCPT ); Sun, 16 Feb 2020 15:04:11 -0500 Received: by mail-pj1-f44.google.com with SMTP id dw13so6197620pjb.4 for ; Sun, 16 Feb 2020 12:04:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=perfinion-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=J2CpcA45m+3Q+wrOLeYhga8Su9fBYhSBUrUq5rmt4II=; b=bRIVIygD9U9mOnkgWx1RAhKPJSq6hM8DebFnEFYrwY3qIwqC9sSJSAYd9HA4tAs8jh j+IYVSYA8SyRX4OFHb4EBNZY4x4swR1pI8926AYx+b0zq6tfEJOXSvwhxFPHAfWCV6fx imHxydabMIPXvOXaC80Fk4XCriunFTR8Wv7EzqxSOfIf9YqmuT0B7uv8vjOj8ZB15wxP ctYsj40MtD1b6EfP97OwAz2p6zveKr5VZ7R2/gETROfZ6J2YqImxr32sctVEkIrTW2Fk bc3wgrZhkgDpBwCAfA3cTf8HeV8i8c+U+IkkXzuoFZoej0LeZ/0mL/iEouF+d5GgViSY zG4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=J2CpcA45m+3Q+wrOLeYhga8Su9fBYhSBUrUq5rmt4II=; b=qfJAlavVfqAZUgEOsxO5jtpLO0WEkmRpySS4Lzw8eeGM+2TfPlj7eI3m2ZVGBXC8/Y 1EaPY3yr9l9v8xA8TuBgEYbH+WzH421Zj33RiVt9KOdJTYuFnaL9wBRv72anWgy//vD+ jN0mKRvvWODl6X0LElaCG38ccJV8rRsoS7HRMTH+iPP8Sl1XjfwDMgtfKcS3Re8SDbZp rj7uqcS64Wwji+47zrDelorFTzFiRe/nhD40yU4UiN/h8W6I1D0Gr2TKKWCnBNiQ3wyI GmFAKguYYXFb/yO35wrnPfSyY7KpRJESXO+ef4WB4nsDOFGqkjWtBgKqWJUXZotQxN3V perg== X-Gm-Message-State: APjAAAVjkIcZNTmp9LLhI3HJk4zS7kppnPruGVjLGJ8IjLMwXqRG9nWz bjMaHOkuL4PfebLeZtkm1Cu9kzUmH1Y= X-Received: by 2002:a17:90a:ead8:: with SMTP id ev24mr15789034pjb.91.1581883450463; Sun, 16 Feb 2020 12:04:10 -0800 (PST) Received: from localhost ([101.127.140.252]) by smtp.gmail.com with ESMTPSA id f3sm14549988pga.38.2020.02.16.12.04.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Feb 2020 12:04:09 -0800 (PST) From: Jason Zaman To: selinux-refpolicy@vger.kernel.org Cc: Jason Zaman Subject: [PATCH 09/10] chromium: watch etc dirs Date: Mon, 17 Feb 2020 04:03:18 +0800 Message-Id: <20200216200319.39337-9-jason@perfinion.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200216200319.39337-1-jason@perfinion.com> References: <20200216200319.39337-1-jason@perfinion.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: selinux-refpolicy-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux-refpolicy@vger.kernel.org avc: denied { watch } for pid=44464 comm="ThreadPoolForeg" path="/etc" dev="zfs" ino=1436 scontext=staff_u:staff_r:chromium_t:s0-s0:c0.c1023 tcontext=system_u:object_r:etc_t:s0 tclass=dir permissive=0 Signed-off-by: Jason Zaman --- policy/modules/apps/chromium.te | 1 + 1 file changed, 1 insertion(+) diff --git a/policy/modules/apps/chromium.te b/policy/modules/apps/chromium.te index 255ef557..0e8cc1e5 100644 --- a/policy/modules/apps/chromium.te +++ b/policy/modules/apps/chromium.te @@ -156,6 +156,7 @@ files_search_home(chromium_t) files_read_usr_files(chromium_t) files_map_usr_files(chromium_t) files_read_etc_files(chromium_t) +files_watch_etc_dirs(chromium_t) # During find for /etc/whatever-release we get lots of output otherwise files_dontaudit_getattr_all_dirs(chromium_t) -- 2.24.1