Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9C5E3C43381 for ; Sun, 10 Mar 2019 22:31:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 59AC920652 for ; Sun, 10 Mar 2019 22:31:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=coker.com.au header.i=@coker.com.au header.b="3ErToNip" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726980AbfCJWbZ (ORCPT ); Sun, 10 Mar 2019 18:31:25 -0400 Received: from smtp.sws.net.au ([46.4.88.250]:54176 "EHLO smtp.sws.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726796AbfCJWbY (ORCPT ); Sun, 10 Mar 2019 18:31:24 -0400 Received: from liv.localnet (localhost [127.0.0.1]) by smtp.sws.net.au (Postfix) with ESMTP id E40C9EB17 for ; Mon, 11 Mar 2019 09:31:21 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coker.com.au; s=2008; t=1552257082; bh=6alqokA3Q+7B7tpcD/nL9+AXqrkJDIlmUIqsL+zUl2o=; l=734; h=From:To:Subject:Date:From; b=3ErToNipWwCp76yHj9nJ58yczp9Y8BIuFc/ak5CerRKuWDZ6J5MoAgs1MBg0dOP90 XO+XrsfT2D3824VFbt/Yeq6i+YEFQePtqXzEFmvUz3kFCfCadl0kGr2eyDsMrRY/0g B+/HywWdZSe+wBfNGOl+IXAMOVNGoZjY8kNrng/8= From: Russell Coker To: "selinux-refpolicy@vger.kernel.org" Subject: what's up with mac_admin Date: Mon, 11 Mar 2019 09:31:16 +1100 Message-ID: <2502654.FxcCWanWCu@liv> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: selinux-refpolicy-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux-refpolicy@vger.kernel.org type=AVC msg=audit(1552226284.038:2422): avc: denied { mac_admin } for pid=8289 comm="rsync" capability=33 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=capability2 permissive=0 The above is from running rsync with the -X option. $ grep -R mac_admin . ./policy/flask/access_vectors: mac_admin # unused by SELinux ./policy/modules/apps/livecd.te:dontaudit livecd_t self:capability2 mac_admin; Grepping the git policy shows that there's a comment saying it's unused as well as a dontaudit rule indicating that it has been used for some time. -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/