Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3589017ybv; Sun, 16 Feb 2020 00:55:05 -0800 (PST) X-Google-Smtp-Source: APXvYqxG/inBaXDqFKrycszxE9HjdC1VLuU1pBwSnYMCB1JS1V0+8Ieg1DGslhAT8jg2h7AbJvt9 X-Received: by 2002:a9d:7cd0:: with SMTP id r16mr8683415otn.50.1581843305712; Sun, 16 Feb 2020 00:55:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581843305; cv=none; d=google.com; s=arc-20160816; b=E7F9MFFrpBVPONBmpkef5zk1MBngxvVKIuhtkSaT0MJk3bc5eCQoundWeJTp1jZOze xiwYSgqoQne1bCOQVuWBq37u8o2Fr4bPRQ3D3qUEeizMYCeWTr4CrzvAqVDDkpb8hOZm +B8gsxCzAxHV0lPjCP4UPIg64LNLg7c+G+/cwxHBzXRNfwR7IyPQOaGyy6dRe4iiEJjQ WxhjTBjIAwsZq++3ThjYgZb/7eMqasu4iX8m1efOO+rU4Wk4IJwtxg0/VY2GnOaGSKCf N6ZobS1FPo1pTjYaOfHBxkrZJjz6Cot4HASbVFsVftmp/xh2h1hhEaNyXCMDi9AcmRj1 7HSw== 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=QF1e00HpUrsW7dcP3zCVRW8W7aCLA2CWCBDntHpZzhU=; b=K4wVYAoUpFnDnUAjjI8Rq7te0xzM1ADirca7Ppfg1ENmVILXyKGkGaKeaIFdenxOs/ lXcaGJ4iYiA3p6Pi4tR/v9ID10uG6vDMOvBUW5oH6mgJG8s+bxnD1mqGshyjDJHHu8Su SRvraj5AmSYe0fOPhT7zMMonMHB3BW1w2qDExvXaDX5n7A/PDCMZk4hoKZhveQ7NAAaI 50vRWvK/SzzNyPTz0IWlQ7oHMTaEr9faaylJ/cZ7dAiHVcWf1LdwiZOcyIaDQstfQjfh zASOWRAXdB5GjGuzXNPrUnvry7KhOIybjNQAlWRhJWYtinX/ScbOyKQl26OtAEx7xaHl XFsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@perfinion-com.20150623.gappssmtp.com header.s=20150623 header.b=ltRG7kgw; 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 y73si4846029oia.246.2020.02.16.00.55.03; Sun, 16 Feb 2020 00:55:05 -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=ltRG7kgw; 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 S1726059AbgBPIzD (ORCPT + 13 others); Sun, 16 Feb 2020 03:55:03 -0500 Received: from mail-pg1-f178.google.com ([209.85.215.178]:44460 "EHLO mail-pg1-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725989AbgBPIzD (ORCPT ); Sun, 16 Feb 2020 03:55:03 -0500 Received: by mail-pg1-f178.google.com with SMTP id g3so7306114pgs.11 for ; Sun, 16 Feb 2020 00:55:01 -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=QF1e00HpUrsW7dcP3zCVRW8W7aCLA2CWCBDntHpZzhU=; b=ltRG7kgwyUHMVsFkHnbA+Q1sBYEx9Ouadvf+jm3/jCGLvIl0loaq7hBjHJxN0RRol5 InHhRcWA9pfZlD8HArGjyUetNHsb/3ucgJ/hCQaErat6NjT7gzJeHzxJabZ9BoQaY/2p zPmZcmwld186pFUnE6WtwHKZeHl7jW2OIdZtq+ozWCewlynx1i6UUVdXleYmtPMkHrw1 4dpQXUh78a5n6L88+KBvw/7y3j9F/UuBIWHrBJPdOUUBWDu/ZSVrD9HZGuVHm8M+0bK4 37Ds5tvmIUJs0U+l4SX8GpLR6EdwWaLz3SqnAuR8vKZV5oPG6SJwq0A5EdpGg2LvpD9G JcNw== 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=QF1e00HpUrsW7dcP3zCVRW8W7aCLA2CWCBDntHpZzhU=; b=q975IMopd+X4cHP3PXjEoGmnu+1gpAd19+26YPwAH+mBBIOmALCvydgI7t+Qvhxn4Z znT/20eowA+BNDXPInRgmK+xbzrKtyCH5JIJV8R60tt4CrCHkff7pkIshG8/dMiSTLfx yIFDaJKm5Efuu4I4TNK0LcbOsBl4P/DWNSX63K3KQWvM29gg2ZRnyCsQ6V+oalg5iutp qTLGwy2/Pt7+24JEc8tXAR9/JON/jCgOno8Txq40eQoZhGia6j7F207u7ZJzOlJ3iUHH EEyhF3/s0khBL1uUzcpDMg072czXBG4mcUrkFJW6JXoWntGpb/cyH8j0HVDffwNPdcnT xzDQ== X-Gm-Message-State: APjAAAWAZlnvqg6Yuty13ANjUHkTZg5UJvAAcLMw/2muIZdMmCZ6lfDc Vz+i7ypISpMkEXMT+zjlyDExS1noM6Ed+Q== X-Received: by 2002:aa7:991e:: with SMTP id z30mr11193586pff.259.1581843300811; Sun, 16 Feb 2020 00:55:00 -0800 (PST) Received: from localhost ([101.127.140.252]) by smtp.gmail.com with ESMTPSA id r11sm13108543pgi.9.2020.02.16.00.54.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Feb 2020 00:55:00 -0800 (PST) From: Jason Zaman To: selinux-refpolicy@vger.kernel.org Cc: Jason Zaman Subject: [PATCH 09/10] chromium: watch etc dirs Date: Sun, 16 Feb 2020 16:54:21 +0800 Message-Id: <20200216085422.36530-9-jason@perfinion.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200216085422.36530-1-jason@perfinion.com> References: <20200216085422.36530-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 From: Jason Zaman 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 --- 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